diff --git a/src/generated/Admin/AdminRequestBuilder.cs b/src/generated/Admin/AdminRequestBuilder.cs index ba33c8ab4f..03588d39a0 100644 --- a/src/generated/Admin/AdminRequestBuilder.cs +++ b/src/generated/Admin/AdminRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin { +namespace ApiSdk.Admin +{ /// /// Provides operations to manage the admin singleton. /// - public class AdminRequestBuilder : BaseCliRequestBuilder + public class AdminRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the edge property of the microsoft.graph.admin entity. diff --git a/src/generated/Admin/Edge/EdgeRequestBuilder.cs b/src/generated/Admin/Edge/EdgeRequestBuilder.cs index 07780694a9..64af94f8b2 100644 --- a/src/generated/Admin/Edge/EdgeRequestBuilder.cs +++ b/src/generated/Admin/Edge/EdgeRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge { +namespace ApiSdk.Admin.Edge +{ /// /// Provides operations to manage the edge property of the microsoft.graph.admin entity. /// - public class EdgeRequestBuilder : BaseCliRequestBuilder + public class EdgeRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property edge for admin diff --git a/src/generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs index 76d5d83035..e6522763a0 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode { +namespace ApiSdk.Admin.Edge.InternetExplorerMode +{ /// /// Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity. /// - public class InternetExplorerModeRequestBuilder : BaseCliRequestBuilder + public class InternetExplorerModeRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property internetExplorerMode for admin diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs index 83701e54f0..1af6a265ca 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Count { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs index de1b4d8ec4..7c6c278806 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item +{ /// /// Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. /// - public class BrowserSiteListItemRequestBuilder : BaseCliRequestBuilder + public class BrowserSiteListItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a browserSiteList object. diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishPostRequestBody.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishPostRequestBody.cs index c12cd605db..f92330d0fc 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishPostRequestBody.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish { - public class PublishPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish +{ + #pragma warning disable CS1591 + public class PublishPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"revision", n => { Revision = n.GetStringValue(); } }, - {"sharedCookies", n => { SharedCookies = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sites", n => { Sites = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, + { "revision", n => { Revision = n.GetStringValue(); } }, + { "sharedCookies", n => { SharedCookies = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sites", n => { Sites = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs index b6379edd1a..1a14208aa4 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// /// Publish the specified browserSiteList for devices to download. - /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Publish the specified browserSiteList for devices to download.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/browsersitelist-publish?view=graph-rest-1.0"; + command.Description = "Publish the specified browserSiteList for devices to download."; var browserSiteListIdOption = new Option("--browser-site-list-id", description: "The unique identifier of browserSiteList") { }; browserSiteListIdOption.IsRequired = true; diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs index 72d6d87b8f..6f246c621f 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies.Count { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs index 1959aa4320..42c28a5bde 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies.Item { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies.Item +{ /// /// Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. /// - public class BrowserSharedCookieItemRequestBuilder : BaseCliRequestBuilder + public class BrowserSharedCookieItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a browserSharedCookie from a browserSiteList. diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs index 4c9ec68b59..168c6c3b54 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.SharedCookies +{ /// /// Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. /// - public class SharedCookiesRequestBuilder : BaseCliRequestBuilder + public class SharedCookiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs index fc031f2e92..42171a211b 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites.Count { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs index ce3b6802d1..f417d1216f 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites.Item { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites.Item +{ /// /// Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. /// - public class BrowserSiteItemRequestBuilder : BaseCliRequestBuilder + public class BrowserSiteItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a browserSite from a browserSiteList. diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs index 8e76ced33a..8e0644706c 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists.Item.Sites +{ /// /// Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. /// - public class SitesRequestBuilder : BaseCliRequestBuilder + public class SitesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs index 528934beea..b42e3a5d60 100644 --- a/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs +++ b/src/generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists { +namespace ApiSdk.Admin.Edge.InternetExplorerMode.SiteLists +{ /// /// Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. /// - public class SiteListsRequestBuilder : BaseCliRequestBuilder + public class SiteListsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/Microsoft365Apps/InstallationOptions/InstallationOptionsRequestBuilder.cs b/src/generated/Admin/Microsoft365Apps/InstallationOptions/InstallationOptionsRequestBuilder.cs index fedb41bc92..58b6bea18a 100644 --- a/src/generated/Admin/Microsoft365Apps/InstallationOptions/InstallationOptionsRequestBuilder.cs +++ b/src/generated/Admin/Microsoft365Apps/InstallationOptions/InstallationOptionsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Microsoft365Apps.InstallationOptions { +namespace ApiSdk.Admin.Microsoft365Apps.InstallationOptions +{ /// /// Provides operations to manage the installationOptions property of the microsoft.graph.adminMicrosoft365Apps entity. /// - public class InstallationOptionsRequestBuilder : BaseCliRequestBuilder + public class InstallationOptionsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property installationOptions for admin diff --git a/src/generated/Admin/Microsoft365Apps/Microsoft365AppsRequestBuilder.cs b/src/generated/Admin/Microsoft365Apps/Microsoft365AppsRequestBuilder.cs index b08be68521..6e577ad1fb 100644 --- a/src/generated/Admin/Microsoft365Apps/Microsoft365AppsRequestBuilder.cs +++ b/src/generated/Admin/Microsoft365Apps/Microsoft365AppsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Microsoft365Apps { +namespace ApiSdk.Admin.Microsoft365Apps +{ /// /// Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity. /// - public class Microsoft365AppsRequestBuilder : BaseCliRequestBuilder + public class Microsoft365AppsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property microsoft365Apps for admin diff --git a/src/generated/Admin/People/PeopleRequestBuilder.cs b/src/generated/Admin/People/PeopleRequestBuilder.cs index d0a27d0d13..69090a3694 100644 --- a/src/generated/Admin/People/PeopleRequestBuilder.cs +++ b/src/generated/Admin/People/PeopleRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.People { +namespace ApiSdk.Admin.People +{ /// /// Provides operations to manage the people property of the microsoft.graph.admin entity. /// - public class PeopleRequestBuilder : BaseCliRequestBuilder + public class PeopleRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of a peopleAdminSettings object. diff --git a/src/generated/Admin/People/ProfileCardProperties/Count/CountRequestBuilder.cs b/src/generated/Admin/People/ProfileCardProperties/Count/CountRequestBuilder.cs index bb7738b090..6903c1d653 100644 --- a/src/generated/Admin/People/ProfileCardProperties/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/People/ProfileCardProperties/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.People.ProfileCardProperties.Count { +namespace ApiSdk.Admin.People.ProfileCardProperties.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.cs b/src/generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.cs index 1b88427dac..5ea19a3552 100644 --- a/src/generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.cs +++ b/src/generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.People.ProfileCardProperties.Item { +namespace ApiSdk.Admin.People.ProfileCardProperties.Item +{ /// /// Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. /// - public class ProfileCardPropertyItemRequestBuilder : BaseCliRequestBuilder + public class ProfileCardPropertyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. diff --git a/src/generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.cs b/src/generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.cs index 0a66bab091..9a642d928e 100644 --- a/src/generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.cs +++ b/src/generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.People.ProfileCardProperties { +namespace ApiSdk.Admin.People.ProfileCardProperties +{ /// /// Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. /// - public class ProfileCardPropertiesRequestBuilder : BaseCliRequestBuilder + public class ProfileCardPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/People/Pronouns/PronounsRequestBuilder.cs b/src/generated/Admin/People/Pronouns/PronounsRequestBuilder.cs index 536f06f6e5..06a22e9db5 100644 --- a/src/generated/Admin/People/Pronouns/PronounsRequestBuilder.cs +++ b/src/generated/Admin/People/Pronouns/PronounsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.People.Pronouns { +namespace ApiSdk.Admin.People.Pronouns +{ /// /// Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. /// - public class PronounsRequestBuilder : BaseCliRequestBuilder + public class PronounsRequestBuilder : BaseCliRequestBuilder { /// /// Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs index 4f89e63a5c..d68d264d24 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Count { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs index 9a43d51f08..4a0dab6440 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews +{ /// /// Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity. /// - public class HealthOverviewsRequestBuilder : BaseCliRequestBuilder + public class HealthOverviewsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity. @@ -183,7 +184,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs index 155e0363de..62af6f124f 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Count { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs index 3318ec0b74..8503324cf1 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues +{ /// /// Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity. /// - public class IssuesRequestBuilder : BaseCliRequestBuilder + public class IssuesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index 5faf14a796..096cbd0cb3 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -13,20 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Item.IncidentReport { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Item.IncidentReport +{ /// /// Provides operations to call the incidentReport method. /// - public class IncidentReportRequestBuilder : BaseCliRequestBuilder + public class IncidentReportRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function incidentReport + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function incidentReport"; + command.Description = "Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue."; var serviceHealthIdOption = new Option("--service-health-id", description: "The unique identifier of serviceHealth") { }; serviceHealthIdOption.IsRequired = true; @@ -80,7 +81,7 @@ public IncidentReportRequestBuilder(string rawUrl) : base("{+baseurl}/admin/serv { } /// - /// Invoke function incidentReport + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs index 3774aa8ac3..7baf8b912b 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Item { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.Item +{ /// /// Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity. /// - public class ServiceHealthIssueItemRequestBuilder : BaseCliRequestBuilder + public class ServiceHealthIssueItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property issues for admin diff --git a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs index 88e8e09910..b1a9dbb44d 100644 --- a/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item { +namespace ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item +{ /// /// Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity. /// - public class ServiceHealthItemRequestBuilder : BaseCliRequestBuilder + public class ServiceHealthItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property healthOverviews for admin diff --git a/src/generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs index 9ea4c237e4..6e2119b8f6 100644 --- a/src/generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Count { +namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs index 29790a8ec8..d056596e39 100644 --- a/src/generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Issues { +namespace ApiSdk.Admin.ServiceAnnouncement.Issues +{ /// /// Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. /// - public class IssuesRequestBuilder : BaseCliRequestBuilder + public class IssuesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. @@ -183,7 +184,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index 27b5e279d1..5415791110 100644 --- a/src/generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Item.IncidentReport { +namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Item.IncidentReport +{ /// /// Provides operations to call the incidentReport method. /// - public class IncidentReportRequestBuilder : BaseCliRequestBuilder + public class IncidentReportRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function incidentReport + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function incidentReport"; + command.Description = "Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0"; var serviceHealthIssueIdOption = new Option("--service-health-issue-id", description: "The unique identifier of serviceHealthIssue") { }; serviceHealthIssueIdOption.IsRequired = true; @@ -74,7 +76,7 @@ public IncidentReportRequestBuilder(string rawUrl) : base("{+baseurl}/admin/serv { } /// - /// Invoke function incidentReport + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs index 77cc823593..5cb38d03a8 100644 --- a/src/generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Item { +namespace ApiSdk.Admin.ServiceAnnouncement.Issues.Item +{ /// /// Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. /// - public class ServiceHealthIssueItemRequestBuilder : BaseCliRequestBuilder + public class ServiceHealthIssueItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property issues for admin diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostRequestBody.cs index c3122738b8..5ab8fee03d 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive { - public class ArchivePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive +{ + #pragma warning disable CS1591 + public class ArchivePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs index 799681a601..8d62d8a6a8 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive { - public class ArchivePostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive +{ + #pragma warning disable CS1591 + public class ArchivePostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs index dddf9261bf..2d5d02c815 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Archive +{ /// /// Provides operations to call the archive method. /// - public class ArchiveRequestBuilder : BaseCliRequestBuilder + public class ArchiveRequestBuilder : BaseCliRequestBuilder { /// /// Archive a list of serviceUpdateMessages for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs index f6899decf8..a28162233d 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Count { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostRequestBody.cs index 4c3525e064..312d836193 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite { - public class FavoritePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite +{ + #pragma warning disable CS1591 + public class FavoritePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs index 53943bf9d4..b85cac8c6d 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite { - public class FavoritePostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite +{ + #pragma warning disable CS1591 + public class FavoritePostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs index a636214173..f2dce6133c 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Favorite +{ /// /// Provides operations to call the favorite method. /// - public class FavoriteRequestBuilder : BaseCliRequestBuilder + public class FavoriteRequestBuilder : BaseCliRequestBuilder { /// /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 22788390e8..d9e943ec02 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 4dda2ec5e1..967a47d7c3 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Count { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs index e5a1155fb4..0488ff1c28 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Item.Content { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Item.Content +{ /// /// Provides operations to manage the media for the admin entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The attachment content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The attachment content."; + var serviceUpdateMessageIdOption = new Option("--service-update-message-id", description: "The unique identifier of serviceUpdateMessage") { + }; + serviceUpdateMessageIdOption.IsRequired = true; + command.AddOption(serviceUpdateMessageIdOption); + var serviceAnnouncementAttachmentIdOption = new Option("--service-announcement-attachment-id", description: "The unique identifier of serviceAnnouncementAttachment") { + }; + serviceAnnouncementAttachmentIdOption.IsRequired = true; + command.AddOption(serviceAnnouncementAttachmentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var serviceUpdateMessageId = invocationContext.ParseResult.GetValueForOption(serviceUpdateMessageIdOption); + var serviceAnnouncementAttachmentId = invocationContext.ParseResult.GetValueForOption(serviceAnnouncementAttachmentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (serviceUpdateMessageId is not null) requestInfo.PathParameters.Add("serviceUpdateMessage%2Did", serviceUpdateMessageId); + if (serviceAnnouncementAttachmentId is not null) requestInfo.PathParameters.Add("serviceAnnouncementAttachment%2Did", serviceAnnouncementAttachmentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The attachment content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The attachment content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0"; + command.Description = "The attachment content."; var serviceUpdateMessageIdOption = new Option("--service-update-message-id", description: "The unique identifier of serviceUpdateMessage") { }; serviceUpdateMessageIdOption.IsRequired = true; @@ -141,6 +182,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/admin/serviceAnno /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The attachment content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs index 9c947d70fc..a371cc33da 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Item { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity. /// - public class ServiceAnnouncementAttachmentItemRequestBuilder : BaseCliRequestBuilder + public class ServiceAnnouncementAttachmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the admin entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the admin entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs index 9c3f72ce68..95ee5da5d2 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs @@ -13,21 +13,57 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.AttachmentsArchive { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item.AttachmentsArchive +{ /// /// Provides operations to manage the media for the admin entity. /// - public class AttachmentsArchiveRequestBuilder : BaseCliRequestBuilder + public class AttachmentsArchiveRequestBuilder : BaseCliRequestBuilder { /// /// The zip file that contains all attachments for a message. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The zip file that contains all attachments for a message."; + var serviceUpdateMessageIdOption = new Option("--service-update-message-id", description: "The unique identifier of serviceUpdateMessage") { + }; + serviceUpdateMessageIdOption.IsRequired = true; + command.AddOption(serviceUpdateMessageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var serviceUpdateMessageId = invocationContext.ParseResult.GetValueForOption(serviceUpdateMessageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (serviceUpdateMessageId is not null) requestInfo.PathParameters.Add("serviceUpdateMessage%2Did", serviceUpdateMessageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// Get the list of attachments associated with a service message. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The zip file that contains all attachments for a message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-1.0"; + command.Description = "Get the list of attachments associated with a service message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0"; var serviceUpdateMessageIdOption = new Option("--service-update-message-id", description: "The unique identifier of serviceUpdateMessage") { }; serviceUpdateMessageIdOption.IsRequired = true; @@ -130,6 +166,25 @@ public AttachmentsArchiveRequestBuilder(string rawUrl) : base("{+baseurl}/admin/ /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the list of attachments associated with a service message. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs index ec37088076..4c3d63986c 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Item +{ /// /// Provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity. /// - public class ServiceUpdateMessageItemRequestBuilder : BaseCliRequestBuilder + public class ServiceUpdateMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the admin entity. @@ -32,6 +33,7 @@ public Command BuildAttachmentsArchiveNavCommand() command.Description = "Provides operations to manage the media for the admin entity."; var builder = new AttachmentsArchiveRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostRequestBody.cs index eea3b855de..fbdbe81144 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead { - public class MarkReadPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead +{ + #pragma warning disable CS1591 + public class MarkReadPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs index c818240b61..4ebd7f383a 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead { - public class MarkReadPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead +{ + #pragma warning disable CS1591 + public class MarkReadPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs index cc83f508c6..0b7b2b672b 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkRead +{ /// /// Provides operations to call the markRead method. /// - public class MarkReadRequestBuilder : BaseCliRequestBuilder + public class MarkReadRequestBuilder : BaseCliRequestBuilder { /// /// Mark a list of serviceUpdateMessages as read for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostRequestBody.cs index 01117239dd..ef239fd158 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread { - public class MarkUnreadPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread +{ + #pragma warning disable CS1591 + public class MarkUnreadPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs index e78dab9459..81d517836f 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread { - public class MarkUnreadPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread +{ + #pragma warning disable CS1591 + public class MarkUnreadPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs index 7fe22a4ae4..9dab72d548 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.MarkUnread +{ /// /// Provides operations to call the markUnread method. /// - public class MarkUnreadRequestBuilder : BaseCliRequestBuilder + public class MarkUnreadRequestBuilder : BaseCliRequestBuilder { /// /// Mark a list of serviceUpdateMessages as unread for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs index 5271d257cb..8332984fe9 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages +{ /// /// Provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity. /// - public class MessagesRequestBuilder : BaseCliRequestBuilder + public class MessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the archive method. @@ -224,7 +225,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostRequestBody.cs index 20bb152751..b807c7525e 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive { - public class UnarchivePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive +{ + #pragma warning disable CS1591 + public class UnarchivePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs index 1ee58651c7..27c164801d 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive { - public class UnarchivePostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive +{ + #pragma warning disable CS1591 + public class UnarchivePostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs index 09e6f79ce9..5c27b9d3ac 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unarchive +{ /// /// Provides operations to call the unarchive method. /// - public class UnarchiveRequestBuilder : BaseCliRequestBuilder + public class UnarchiveRequestBuilder : BaseCliRequestBuilder { /// /// Unarchive a list of serviceUpdateMessages for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostRequestBody.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostRequestBody.cs index ec401d802e..582107cfff 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostRequestBody.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite { - public class UnfavoritePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite +{ + #pragma warning disable CS1591 + public class UnfavoritePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs index b911087949..b54092c3f1 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite { - public class UnfavoritePostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite +{ + #pragma warning disable CS1591 + public class UnfavoritePostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs index 36f8ec0fe6..9dd20d53f8 100644 --- a/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite { +namespace ApiSdk.Admin.ServiceAnnouncement.Messages.Unfavorite +{ /// /// Provides operations to call the unfavorite method. /// - public class UnfavoriteRequestBuilder : BaseCliRequestBuilder + public class UnfavoriteRequestBuilder : BaseCliRequestBuilder { /// /// Remove the favorite status of serviceUpdateMessages for the signed in user. diff --git a/src/generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs b/src/generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs index 6bca2fb61b..49335cbd7b 100644 --- a/src/generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs +++ b/src/generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.ServiceAnnouncement { +namespace ApiSdk.Admin.ServiceAnnouncement +{ /// /// Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity. /// - public class ServiceAnnouncementRequestBuilder : BaseCliRequestBuilder + public class ServiceAnnouncementRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property serviceAnnouncement for admin diff --git a/src/generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs b/src/generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs index bdaef16f96..688b9323ac 100644 --- a/src/generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs +++ b/src/generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Sharepoint.Settings { +namespace ApiSdk.Admin.Sharepoint.Settings +{ /// /// Provides operations to manage the settings property of the microsoft.graph.sharepoint entity. /// - public class SettingsRequestBuilder : BaseCliRequestBuilder + public class SettingsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property settings for admin diff --git a/src/generated/Admin/Sharepoint/SharepointRequestBuilder.cs b/src/generated/Admin/Sharepoint/SharepointRequestBuilder.cs index d6b7cf396f..95fe6b37ed 100644 --- a/src/generated/Admin/Sharepoint/SharepointRequestBuilder.cs +++ b/src/generated/Admin/Sharepoint/SharepointRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Admin.Sharepoint { +namespace ApiSdk.Admin.Sharepoint +{ /// /// Provides operations to manage the sharepoint property of the microsoft.graph.admin entity. /// - public class SharepointRequestBuilder : BaseCliRequestBuilder + public class SharepointRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sharepoint for admin diff --git a/src/generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index d28247afb3..c14b7b3d6f 100644 --- a/src/generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AgreementAcceptances { +namespace ApiSdk.AgreementAcceptances +{ /// /// Provides operations to manage the collection of agreementAcceptance entities. /// - public class AgreementAcceptancesRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of agreementAcceptance entities. @@ -87,10 +88,26 @@ public Command BuildListCommand() { var command = new Command("list"); command.Description = "Get entities from agreementAcceptances"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); var searchOption = new Option("--search", description: "Search items by search phrases") { }; searchOption.IsRequired = false; command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); var selectOption = new Option("--select", description: "Select properties to be returned") { Arity = ArgumentArity.ZeroOrMore }; @@ -103,7 +120,11 @@ public Command BuildListCommand() var allOption = new Option("--all"); command.AddOption(allOption); command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); var select = invocationContext.ParseResult.GetValueForOption(selectOption); var output = invocationContext.ParseResult.GetValueForOption(outputOption); var query = invocationContext.ParseResult.GetValueForOption(queryOption); @@ -114,7 +135,11 @@ public Command BuildListCommand() var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; q.QueryParameters.Select = select; }); var errorMapping = new Dictionary> { @@ -124,7 +149,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -139,14 +166,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AgreementAcceptancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/agreementAcceptances{?%24search,%24select}", pathParameters) + public AgreementAcceptancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AgreementAcceptancesRequestBuilder(string rawUrl) : base("{+baseurl}/agreementAcceptances{?%24search,%24select}", rawUrl) + public AgreementAcceptancesRequestBuilder(string rawUrl) : base("{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -194,6 +221,19 @@ public RequestInformation ToPostRequestInformation(AgreementAcceptance body, Act /// public class AgreementAcceptancesRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif /// Search items by search phrases #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -214,6 +254,12 @@ public class AgreementAcceptancesRequestBuilderGetQueryParameters [QueryParameter("%24select")] public string[] Select { get; set; } #endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } } } } diff --git a/src/generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 4c050ca74f..8f8b44c7f3 100644 --- a/src/generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AgreementAcceptances.Item { +namespace ApiSdk.AgreementAcceptances.Item +{ /// /// Provides operations to manage the collection of agreementAcceptance entities. /// - public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from agreementAcceptances diff --git a/src/generated/Agreements/AgreementsRequestBuilder.cs b/src/generated/Agreements/AgreementsRequestBuilder.cs index 73f4a73627..51250f3982 100644 --- a/src/generated/Agreements/AgreementsRequestBuilder.cs +++ b/src/generated/Agreements/AgreementsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements { +namespace ApiSdk.Agreements +{ /// /// Provides operations to manage the collection of agreement entities. /// - public class AgreementsRequestBuilder : BaseCliRequestBuilder + public class AgreementsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of agreement entities. @@ -91,10 +92,26 @@ public Command BuildListCommand() { var command = new Command("list"); command.Description = "Get entities from agreements"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); var searchOption = new Option("--search", description: "Search items by search phrases") { }; searchOption.IsRequired = false; command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); var selectOption = new Option("--select", description: "Select properties to be returned") { Arity = ArgumentArity.ZeroOrMore }; @@ -107,7 +124,11 @@ public Command BuildListCommand() var allOption = new Option("--all"); command.AddOption(allOption); command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); var select = invocationContext.ParseResult.GetValueForOption(selectOption); var output = invocationContext.ParseResult.GetValueForOption(outputOption); var query = invocationContext.ParseResult.GetValueForOption(queryOption); @@ -118,7 +139,11 @@ public Command BuildListCommand() var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; q.QueryParameters.Select = select; }); var errorMapping = new Dictionary> { @@ -128,7 +153,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -143,14 +170,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AgreementsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/agreements{?%24search,%24select}", pathParameters) + public AgreementsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AgreementsRequestBuilder(string rawUrl) : base("{+baseurl}/agreements{?%24search,%24select}", rawUrl) + public AgreementsRequestBuilder(string rawUrl) : base("{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -198,6 +225,19 @@ public RequestInformation ToPostRequestInformation(Agreement body, Action public class AgreementsRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif /// Search items by search phrases #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -218,6 +258,12 @@ public class AgreementsRequestBuilderGetQueryParameters [QueryParameter("%24select")] public string[] Select { get; set; } #endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } } } } diff --git a/src/generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs b/src/generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs index 9380a1e85a..488fe7dc2c 100644 --- a/src/generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs +++ b/src/generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Acceptances { +namespace ApiSdk.Agreements.Item.Acceptances +{ /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. /// - public class AcceptancesRequestBuilder : BaseCliRequestBuilder + public class AcceptancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. @@ -104,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the details about the acceptance records for a specific agreement. - /// Find more info here + /// Read-only. Information about acceptances of this agreement. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the details about the acceptance records for a specific agreement.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-1.0"; + command.Description = "Read-only. Information about acceptances of this agreement."; var agreementIdOption = new Option("--agreement-id", description: "The unique identifier of agreement") { }; agreementIdOption.IsRequired = true; @@ -193,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -219,7 +221,7 @@ public AcceptancesRequestBuilder(string rawUrl) : base("{+baseurl}/agreements/{a { } /// - /// Get the details about the acceptance records for a specific agreement. + /// Read-only. Information about acceptances of this agreement. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -259,7 +261,7 @@ public RequestInformation ToPostRequestInformation(AgreementAcceptance body, Act return requestInfo; } /// - /// Get the details about the acceptance records for a specific agreement. + /// Read-only. Information about acceptances of this agreement. /// public class AcceptancesRequestBuilderGetQueryParameters { diff --git a/src/generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs b/src/generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs index 23c889d742..e4ddf7bd88 100644 --- a/src/generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs +++ b/src/generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Acceptances.Count { +namespace ApiSdk.Agreements.Item.Acceptances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index d83f62db3f..83572d9201 100644 --- a/src/generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Acceptances.Item { +namespace ApiSdk.Agreements.Item.Acceptances.Item +{ /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. /// - public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property acceptances for agreements diff --git a/src/generated/Agreements/Item/AgreementItemRequestBuilder.cs b/src/generated/Agreements/Item/AgreementItemRequestBuilder.cs index 60efb46591..2affab025a 100644 --- a/src/generated/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/AgreementItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item { +namespace ApiSdk.Agreements.Item +{ /// /// Provides operations to manage the collection of agreement entities. /// - public class AgreementItemRequestBuilder : BaseCliRequestBuilder + public class AgreementItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. diff --git a/src/generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs index 222f0e8df9..d232103bd2 100644 --- a/src/generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace { +namespace ApiSdk.Agreements.Item.FileNamespace +{ /// /// Provides operations to manage the file property of the microsoft.graph.agreement entity. /// - public class FileRequestBuilder : BaseCliRequestBuilder + public class FileRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property file for agreements diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs index 06bc7e83f6..f973dc7f76 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Count { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs index ba0c4a078b..d9c0440fd7 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item +{ /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. /// - public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property localizations for agreements diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs index 5c301ee35a..c829d5c87e 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions.Count { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index b366991f0e..65b3f00b13 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions.Item { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for agreements diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs index 2c277f9b60..81732c5147 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs b/src/generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs index 63afb87720..5405131f50 100644 --- a/src/generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs +++ b/src/generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.FileNamespace.Localizations { +namespace ApiSdk.Agreements.Item.FileNamespace.Localizations +{ /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. /// - public class LocalizationsRequestBuilder : BaseCliRequestBuilder + public class LocalizationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Agreements/Item/Files/Count/CountRequestBuilder.cs b/src/generated/Agreements/Item/Files/Count/CountRequestBuilder.cs index 0eaee3ff6f..b1fcd748db 100644 --- a/src/generated/Agreements/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files.Count { +namespace ApiSdk.Agreements.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Agreements/Item/Files/FilesRequestBuilder.cs b/src/generated/Agreements/Item/Files/FilesRequestBuilder.cs index e8e33163c1..0fd13d8e1d 100644 --- a/src/generated/Agreements/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files { +namespace ApiSdk.Agreements.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new localized agreement file. - /// Find more info here + /// Create new navigation property to files for agreements /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new localized agreement file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/agreement-post-files?view=graph-rest-1.0"; + command.Description = "Create new navigation property to files for agreements"; var agreementIdOption = new Option("--agreement-id", description: "The unique identifier of agreement") { }; agreementIdOption.IsRequired = true; @@ -195,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -240,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new localized agreement file. + /// Create new navigation property to files for agreements /// /// A /// The request body diff --git a/src/generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs index 3a27ed11b3..a01b3a3cdc 100644 --- a/src/generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files.Item { +namespace ApiSdk.Agreements.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. /// - public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property files for agreements diff --git a/src/generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs index 8dc165a554..11e3b44330 100644 --- a/src/generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files.Item.Versions.Count { +namespace ApiSdk.Agreements.Item.Files.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index e366f1d1ea..71232ee13f 100644 --- a/src/generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files.Item.Versions.Item { +namespace ApiSdk.Agreements.Item.Files.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for agreements diff --git a/src/generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs b/src/generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs index 9c196d8c98..2d6ec83d55 100644 --- a/src/generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Agreements.Item.Files.Item.Versions { +namespace ApiSdk.Agreements.Item.Files.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AppCatalogs/AppCatalogsRequestBuilder.cs b/src/generated/AppCatalogs/AppCatalogsRequestBuilder.cs index bc03a34195..916d3d03c8 100644 --- a/src/generated/AppCatalogs/AppCatalogsRequestBuilder.cs +++ b/src/generated/AppCatalogs/AppCatalogsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs { +namespace ApiSdk.AppCatalogs +{ /// /// Provides operations to manage the appCatalogs singleton. /// - public class AppCatalogsRequestBuilder : BaseCliRequestBuilder + public class AppCatalogsRequestBuilder : BaseCliRequestBuilder { /// /// Get appCatalogs diff --git a/src/generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs index c0f95f177c..79b5eee681 100644 --- a/src/generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Count { +namespace ApiSdk.AppCatalogs.TeamsApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs index 793ed92fd9..be20b53e21 100644 --- a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions { +namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions +{ /// /// Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. /// - public class AppDefinitionsRequestBuilder : BaseCliRequestBuilder + public class AppDefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs index ddd89ee250..2b89d711ec 100644 --- a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Count { +namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs index ef8281456e..c28d16848b 100644 --- a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Item.Bot { +namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Item.Bot +{ /// /// Provides operations to manage the bot property of the microsoft.graph.teamsAppDefinition entity. /// - public class BotRequestBuilder : BaseCliRequestBuilder + public class BotRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property bot for appCatalogs @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the bot associated with a specific definition of the TeamsApp. - /// Find more info here + /// The details of the bot specified in the Teams app manifest. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the bot associated with a specific definition of the TeamsApp.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0"; + command.Description = "The details of the bot specified in the Teams app manifest."; var teamsAppIdOption = new Option("--teams-app-id", description: "The unique identifier of teamsApp") { }; teamsAppIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the bot associated with a specific definition of the TeamsApp. + /// The details of the bot specified in the Teams app manifest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(TeamworkBot body, Action - /// Get the bot associated with a specific definition of the TeamsApp. + /// The details of the bot specified in the Teams app manifest. /// public class BotRequestBuilderGetQueryParameters { diff --git a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs index d4269bbf09..b079b6a254 100644 --- a/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Item { +namespace ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.Item +{ /// /// Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. /// - public class TeamsAppDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class TeamsAppDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the bot property of the microsoft.graph.teamsAppDefinition entity. diff --git a/src/generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs index c9545859dc..ad5413c4f5 100644 --- a/src/generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps.Item { +namespace ApiSdk.AppCatalogs.TeamsApps.Item +{ /// /// Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity. /// - public class TeamsAppItemRequestBuilder : BaseCliRequestBuilder + public class TeamsAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. diff --git a/src/generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs b/src/generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs index cc3c9d0adc..a55396dcac 100644 --- a/src/generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs +++ b/src/generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AppCatalogs.TeamsApps { +namespace ApiSdk.AppCatalogs.TeamsApps +{ /// /// Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity. /// - public class TeamsAppsRequestBuilder : BaseCliRequestBuilder + public class TeamsAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs index 0bb8967ad3..3a63826436 100644 --- a/src/generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs +++ b/src/generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationTemplates { +namespace ApiSdk.ApplicationTemplates +{ /// /// Provides operations to manage the collection of applicationTemplate entities. /// - public class ApplicationTemplatesRequestBuilder : BaseCliRequestBuilder + public class ApplicationTemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of applicationTemplate entities. @@ -136,7 +137,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/ApplicationTemplates/Count/CountRequestBuilder.cs b/src/generated/ApplicationTemplates/Count/CountRequestBuilder.cs index 536a3f088d..880afbdb23 100644 --- a/src/generated/ApplicationTemplates/Count/CountRequestBuilder.cs +++ b/src/generated/ApplicationTemplates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationTemplates.Count { +namespace ApiSdk.ApplicationTemplates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs b/src/generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs index b3f3fec647..342a26f245 100644 --- a/src/generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs +++ b/src/generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationTemplates.Item { +namespace ApiSdk.ApplicationTemplates.Item +{ /// /// Provides operations to manage the collection of applicationTemplate entities. /// - public class ApplicationTemplateItemRequestBuilder : BaseCliRequestBuilder + public class ApplicationTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties of an applicationTemplate object. diff --git a/src/generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.cs b/src/generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.cs index 198bc31d88..848596b680 100644 --- a/src/generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.cs +++ b/src/generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.ApplicationTemplates.Item.Instantiate { - public class InstantiatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.ApplicationTemplates.Item.Instantiate +{ + #pragma warning disable CS1591 + public class InstantiatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs b/src/generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs index 09b01479ef..7d9b421398 100644 --- a/src/generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs +++ b/src/generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationTemplates.Item.Instantiate { +namespace ApiSdk.ApplicationTemplates.Item.Instantiate +{ /// /// Provides operations to call the instantiate method. /// - public class InstantiateRequestBuilder : BaseCliRequestBuilder + public class InstantiateRequestBuilder : BaseCliRequestBuilder { /// /// Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. diff --git a/src/generated/Applications/ApplicationsRequestBuilder.cs b/src/generated/Applications/ApplicationsRequestBuilder.cs index d94c6e5f48..aa9282d7bd 100644 --- a/src/generated/Applications/ApplicationsRequestBuilder.cs +++ b/src/generated/Applications/ApplicationsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications { +namespace ApiSdk.Applications +{ /// /// Provides operations to manage the collection of application entities. /// - public class ApplicationsRequestBuilder : BaseCliRequestBuilder + public class ApplicationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of application entities. @@ -267,7 +268,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Count/CountRequestBuilder.cs b/src/generated/Applications/Count/CountRequestBuilder.cs index 3a3289d9d9..1c5502bf9c 100644 --- a/src/generated/Applications/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Count { +namespace ApiSdk.Applications.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Delta/DeltaGetResponse.cs b/src/generated/Applications/Delta/DeltaGetResponse.cs index 9ca3ab89ae..aa2b261738 100644 --- a/src/generated/Applications/Delta/DeltaGetResponse.cs +++ b/src/generated/Applications/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Applications.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Application.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Application.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Delta/DeltaRequestBuilder.cs b/src/generated/Applications/Delta/DeltaRequestBuilder.cs index 2af0544177..f9a28a2bf0 100644 --- a/src/generated/Applications/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Applications/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Delta { +namespace ApiSdk.Applications.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/applications/delta( { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 331a7462c6..3cb74aef83 100644 --- a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index 96d73e68e4..6bb8b0a6e1 100644 --- a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index e1bf9f96cc..04ea1461ab 100644 --- a/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.GetAvailableExtensionProperties { +namespace ApiSdk.Applications.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/Applications/GetByIds/GetByIdsPostRequestBody.cs index 13de4b54de..1d379d7ce3 100644 --- a/src/generated/Applications/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/Applications/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/GetByIds/GetByIdsPostResponse.cs b/src/generated/Applications/GetByIds/GetByIdsPostResponse.cs index 21c9cb0f58..f51ebda324 100644 --- a/src/generated/Applications/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/Applications/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/Applications/GetByIds/GetByIdsRequestBuilder.cs index 9bc65a3437..2d4ec93895 100644 --- a/src/generated/Applications/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/Applications/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.GetByIds { +namespace ApiSdk.Applications.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/AddKey/AddKeyPostRequestBody.cs b/src/generated/Applications/Item/AddKey/AddKeyPostRequestBody.cs index 230f31d214..2b206425eb 100644 --- a/src/generated/Applications/Item/AddKey/AddKeyPostRequestBody.cs +++ b/src/generated/Applications/Item/AddKey/AddKeyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.AddKey { - public class AddKeyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.AddKey +{ + #pragma warning disable CS1591 + public class AddKeyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keyCredential", n => { KeyCredential = n.GetObjectValue(ApiSdk.Models.KeyCredential.CreateFromDiscriminatorValue); } }, - {"passwordCredential", n => { PasswordCredential = n.GetObjectValue(ApiSdk.Models.PasswordCredential.CreateFromDiscriminatorValue); } }, - {"proof", n => { Proof = n.GetStringValue(); } }, + { "keyCredential", n => { KeyCredential = n.GetObjectValue(ApiSdk.Models.KeyCredential.CreateFromDiscriminatorValue); } }, + { "passwordCredential", n => { PasswordCredential = n.GetObjectValue(ApiSdk.Models.PasswordCredential.CreateFromDiscriminatorValue); } }, + { "proof", n => { Proof = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs b/src/generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs index 4ae33f89df..42309a0da9 100644 --- a/src/generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs +++ b/src/generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AddKey { +namespace ApiSdk.Applications.Item.AddKey +{ /// /// Provides operations to call the addKey method. /// - public class AddKeyRequestBuilder : BaseCliRequestBuilder + public class AddKeyRequestBuilder : BaseCliRequestBuilder { /// /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. diff --git a/src/generated/Applications/Item/AddPassword/AddPasswordPostRequestBody.cs b/src/generated/Applications/Item/AddPassword/AddPasswordPostRequestBody.cs index c156879ad4..878898c596 100644 --- a/src/generated/Applications/Item/AddPassword/AddPasswordPostRequestBody.cs +++ b/src/generated/Applications/Item/AddPassword/AddPasswordPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.AddPassword { - public class AddPasswordPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.AddPassword +{ + #pragma warning disable CS1591 + public class AddPasswordPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"passwordCredential", n => { PasswordCredential = n.GetObjectValue(ApiSdk.Models.PasswordCredential.CreateFromDiscriminatorValue); } }, + { "passwordCredential", n => { PasswordCredential = n.GetObjectValue(ApiSdk.Models.PasswordCredential.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs b/src/generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs index 62f6683c50..5eae319e7d 100644 --- a/src/generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs +++ b/src/generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AddPassword { +namespace ApiSdk.Applications.Item.AddPassword +{ /// /// Provides operations to call the addPassword method. /// - public class AddPasswordRequestBuilder : BaseCliRequestBuilder + public class AddPasswordRequestBuilder : BaseCliRequestBuilder { /// /// Adds a strong password or secret to an application. You can also add passwords while creating the application. diff --git a/src/generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs b/src/generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs index 3e4ea3ee53..edc56a5555 100644 --- a/src/generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs +++ b/src/generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AppManagementPolicies { +namespace ApiSdk.Applications.Item.AppManagementPolicies +{ /// /// Provides operations to manage the appManagementPolicies property of the microsoft.graph.application entity. /// - public class AppManagementPoliciesRequestBuilder : BaseCliRequestBuilder + public class AppManagementPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.applications.item.appManagementPolicies.item collection @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs index 5792b2fc65..d00984ed02 100644 --- a/src/generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AppManagementPolicies.Count { +namespace ApiSdk.Applications.Item.AppManagementPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs b/src/generated/Applications/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs index 062bf87bd4..ed77add74f 100644 --- a/src/generated/Applications/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs +++ b/src/generated/Applications/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Applications.Item.AppManagementPolicies.Item { +namespace ApiSdk.Applications.Item.AppManagementPolicies.Item +{ /// /// Builds and executes requests for operations under \applications\{application-id}\appManagementPolicies\{appManagementPolicy-id} /// - public class AppManagementPolicyItemRequestBuilder : BaseCliRequestBuilder + public class AppManagementPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of application entities. diff --git a/src/generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs index a90be5ef59..8a8a3a7cc7 100644 --- a/src/generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AppManagementPolicies.Item.Ref { +namespace ApiSdk.Applications.Item.AppManagementPolicies.Item.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. diff --git a/src/generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs index 890c14410b..15f004e1ff 100644 --- a/src/generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.AppManagementPolicies.Ref { +namespace ApiSdk.Applications.Item.AppManagementPolicies.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. @@ -137,7 +138,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/ApplicationItemRequestBuilder.cs b/src/generated/Applications/Item/ApplicationItemRequestBuilder.cs index ca85cba1c0..a7e08bc932 100644 --- a/src/generated/Applications/Item/ApplicationItemRequestBuilder.cs +++ b/src/generated/Applications/Item/ApplicationItemRequestBuilder.cs @@ -36,11 +36,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item { +namespace ApiSdk.Applications.Item +{ /// /// Provides operations to manage the collection of application entities. /// - public class ApplicationItemRequestBuilder : BaseCliRequestBuilder + public class ApplicationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addKey method. @@ -386,6 +387,7 @@ public Command BuildLogoNavCommand() command.Description = "Provides operations to manage the media for the application entity."; var builder = new LogoRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 287214f8ff..26f654df9b 100644 --- a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 809f927ff3..bcfc0f7353 100644 --- a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 46c1309cfb..0f04bb0afb 100644 --- a/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.CheckMemberGroups { +namespace ApiSdk.Applications.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index 2eed981117..173638ee1a 100644 --- a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 3e50d7d97c..8f4c114cfd 100644 --- a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 3cd7ab0f71..314f9e9bda 100644 --- a/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.CheckMemberObjects { +namespace ApiSdk.Applications.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs b/src/generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs index 0ba7197ed5..444fa8a5f5 100644 --- a/src/generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs +++ b/src/generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.CreatedOnBehalfOf { +namespace ApiSdk.Applications.Item.CreatedOnBehalfOf +{ /// /// Provides operations to manage the createdOnBehalfOf property of the microsoft.graph.application entity. /// - public class CreatedOnBehalfOfRequestBuilder : BaseCliRequestBuilder + public class CreatedOnBehalfOfRequestBuilder : BaseCliRequestBuilder { /// /// Supports $filter (/$count eq 0, /$count ne 0). Read-only. diff --git a/src/generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs index cae5d85dfa..ef464705a1 100644 --- a/src/generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.ExtensionProperties.Count { +namespace ApiSdk.Applications.Item.ExtensionProperties.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs b/src/generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs index 28cdcdfe19..197003db96 100644 --- a/src/generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.ExtensionProperties { +namespace ApiSdk.Applications.Item.ExtensionProperties +{ /// /// Provides operations to manage the extensionProperties property of the microsoft.graph.application entity. /// - public class ExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class ExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensionProperties property of the microsoft.graph.application entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs b/src/generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs index cd97ee2946..32f8cf2e79 100644 --- a/src/generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs +++ b/src/generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.ExtensionProperties.Item { +namespace ApiSdk.Applications.Item.ExtensionProperties.Item +{ /// /// Provides operations to manage the extensionProperties property of the microsoft.graph.application entity. /// - public class ExtensionPropertyItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionPropertyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). diff --git a/src/generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs index 87c5cf8e90..4ffb876405 100644 --- a/src/generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.FederatedIdentityCredentials.Count { +namespace ApiSdk.Applications.Item.FederatedIdentityCredentials.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs b/src/generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs index 46462d13a3..ada8c096ee 100644 --- a/src/generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs +++ b/src/generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.FederatedIdentityCredentials { +namespace ApiSdk.Applications.Item.FederatedIdentityCredentials +{ /// /// Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. /// - public class FederatedIdentityCredentialsRequestBuilder : BaseCliRequestBuilder + public class FederatedIdentityCredentialsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs b/src/generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs index 3386188d29..acb091e7b6 100644 --- a/src/generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs +++ b/src/generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.FederatedIdentityCredentials.Item { +namespace ApiSdk.Applications.Item.FederatedIdentityCredentials.Item +{ /// /// Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. /// - public class FederatedIdentityCredentialItemRequestBuilder : BaseCliRequestBuilder + public class FederatedIdentityCredentialItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a federatedIdentityCredential object from an application. @@ -122,14 +123,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a federatedIdentityCredential object. - /// Find more info here + /// Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a federatedIdentityCredential object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/federatedidentitycredential-update?view=graph-rest-1.0"; + command.Description = "Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/federatedidentitycredential-upsert?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a federatedIdentityCredential object. + /// Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. /// /// A /// The request body diff --git a/src/generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.cs b/src/generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.cs index 3194ef6fac..6089fd6270 100644 --- a/src/generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.cs +++ b/src/generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.FederatedIdentityCredentialsWithName { +namespace ApiSdk.Applications.Item.FederatedIdentityCredentialsWithName +{ /// /// Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. /// - public class FederatedIdentityCredentialsWithNameRequestBuilder : BaseCliRequestBuilder + public class FederatedIdentityCredentialsWithNameRequestBuilder : BaseCliRequestBuilder { /// /// Delete a federatedIdentityCredential object from an application. @@ -122,14 +123,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a federatedIdentityCredential object. - /// Find more info here + /// Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a federatedIdentityCredential object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/federatedidentitycredential-update?view=graph-rest-1.0"; + command.Description = "Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/federatedidentitycredential-upsert?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a federatedIdentityCredential object. + /// Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. /// /// A /// The request body diff --git a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index cf0ed235a5..85b0a976ea 100644 --- a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 9b3bceafac..5002564aca 100644 --- a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 4765f8c4b7..68d5b6fd0c 100644 --- a/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.GetMemberGroups { +namespace ApiSdk.Applications.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 1147ea082d..f3e7636edb 100644 --- a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index 51930afdb9..0310555054 100644 --- a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 432bbdfce4..ae18771f70 100644 --- a/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.GetMemberObjects { +namespace ApiSdk.Applications.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs index 5b3a476bc1..567d69619f 100644 --- a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies.Count { +namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs index 6af4c3f299..76d90e30ea 100644 --- a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs +++ b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies { +namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies +{ /// /// Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity. /// - public class HomeRealmDiscoveryPoliciesRequestBuilder : BaseCliRequestBuilder + public class HomeRealmDiscoveryPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs index 70d937f7b6..f4cdafcac1 100644 --- a/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs +++ b/src/generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies.Item { +namespace ApiSdk.Applications.Item.HomeRealmDiscoveryPolicies.Item +{ /// /// Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity. /// - public class HomeRealmDiscoveryPolicyItemRequestBuilder : BaseCliRequestBuilder + public class HomeRealmDiscoveryPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Get homeRealmDiscoveryPolicies from applications diff --git a/src/generated/Applications/Item/Logo/LogoRequestBuilder.cs b/src/generated/Applications/Item/Logo/LogoRequestBuilder.cs index 6ce5fbf469..94ab0eee06 100644 --- a/src/generated/Applications/Item/Logo/LogoRequestBuilder.cs +++ b/src/generated/Applications/Item/Logo/LogoRequestBuilder.cs @@ -13,12 +13,48 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Logo { +namespace ApiSdk.Applications.Item.Logo +{ /// /// Provides operations to manage the media for the application entity. /// - public class LogoRequestBuilder : BaseCliRequestBuilder + public class LogoRequestBuilder : BaseCliRequestBuilder { + /// + /// The main logo for the application. Not nullable. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The main logo for the application. Not nullable."; + var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { + }; + applicationIdOption.IsRequired = true; + command.AddOption(applicationIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var applicationId = invocationContext.ParseResult.GetValueForOption(applicationIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (applicationId is not null) requestInfo.PathParameters.Add("application%2Did", applicationId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The main logo for the application. Not nullable. /// @@ -129,6 +165,25 @@ public LogoRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{applic /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The main logo for the application. Not nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Applications/Item/Owners/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Owners/Count/CountRequestBuilder.cs index e43d6b1e12..166e08de67 100644 --- a/src/generated/Applications/Item/Owners/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Count { +namespace ApiSdk.Applications.Item.Owners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 1abb39852b..22bdd04fcb 100644 --- a/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphAppRoleAssignment.Count { +namespace ApiSdk.Applications.Item.Owners.GraphAppRoleAssignment.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index a6bc9246ce..1a85a67337 100644 --- a/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphAppRoleAssignment { +namespace ApiSdk.Applications.Item.Owners.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs index 572e3452d6..bd837ba07d 100644 --- a/src/generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphEndpoint.Count { +namespace ApiSdk.Applications.Item.Owners.GraphEndpoint.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs index f92c43450e..f4542f7d79 100644 --- a/src/generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphEndpoint { +namespace ApiSdk.Applications.Item.Owners.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs index 1d5feb0b9d..2633552aa9 100644 --- a/src/generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphServicePrincipal.Count { +namespace ApiSdk.Applications.Item.Owners.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 3144308f63..c5b87b4f40 100644 --- a/src/generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphServicePrincipal { +namespace ApiSdk.Applications.Item.Owners.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs index 01f2d440fc..b680e9d07e 100644 --- a/src/generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphUser.Count { +namespace ApiSdk.Applications.Item.Owners.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs index 97d7b44d2b..e471cf76cc 100644 --- a/src/generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.GraphUser { +namespace ApiSdk.Applications.Item.Owners.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs index 0cd773c358..e46b59a08a 100644 --- a/src/generated/Applications/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Applications.Item.Owners.Item { +namespace ApiSdk.Applications.Item.Owners.Item +{ /// /// Builds and executes requests for operations under \applications\{application-id}\owners\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to appRoleAssignment. diff --git a/src/generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 32c4d754ba..bb9a5ed7b6 100644 --- a/src/generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Item.GraphAppRoleAssignment { +namespace ApiSdk.Applications.Item.Owners.Item.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 382be6302a..dc39889df7 100644 --- a/src/generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Item.GraphEndpoint { +namespace ApiSdk.Applications.Item.Owners.Item.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index ec0c3d8999..7d89c731da 100644 --- a/src/generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Item.GraphServicePrincipal { +namespace ApiSdk.Applications.Item.Owners.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs index f1e3dc25fd..2a51485ca1 100644 --- a/src/generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Item.GraphUser { +namespace ApiSdk.Applications.Item.Owners.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs index ce194ccb7d..8ed0d1e3e6 100644 --- a/src/generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Item.Ref { +namespace ApiSdk.Applications.Item.Owners.Item.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners. diff --git a/src/generated/Applications/Item/Owners/OwnersRequestBuilder.cs b/src/generated/Applications/Item/Owners/OwnersRequestBuilder.cs index 4903245a8f..e7dec0afd1 100644 --- a/src/generated/Applications/Item/Owners/OwnersRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/OwnersRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners { +namespace ApiSdk.Applications.Item.Owners +{ /// /// Provides operations to manage the owners property of the microsoft.graph.application entity. /// - public class OwnersRequestBuilder : BaseCliRequestBuilder + public class OwnersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.applications.item.owners.item collection @@ -152,14 +153,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of owners for an application that are directoryObject objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -248,7 +249,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -293,7 +296,7 @@ public OwnersRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{appl { } /// - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -312,7 +315,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// public class OwnersRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs index bd387d7276..33911aa4f0 100644 --- a/src/generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Owners.Ref { +namespace ApiSdk.Applications.Item.Owners.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of owners for an application that are directoryObject objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Retrieve a list of owners for an application that are directoryObject objects. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/RemoveKey/RemoveKeyPostRequestBody.cs b/src/generated/Applications/Item/RemoveKey/RemoveKeyPostRequestBody.cs index 2e8bc93c78..365de60efc 100644 --- a/src/generated/Applications/Item/RemoveKey/RemoveKeyPostRequestBody.cs +++ b/src/generated/Applications/Item/RemoveKey/RemoveKeyPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.RemoveKey { - public class RemoveKeyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.RemoveKey +{ + #pragma warning disable CS1591 + public class RemoveKeyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keyId", n => { KeyId = n.GetGuidValue(); } }, - {"proof", n => { Proof = n.GetStringValue(); } }, + { "keyId", n => { KeyId = n.GetGuidValue(); } }, + { "proof", n => { Proof = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs b/src/generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs index ce939ea243..cb9db690d0 100644 --- a/src/generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs +++ b/src/generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.RemoveKey { +namespace ApiSdk.Applications.Item.RemoveKey +{ /// /// Provides operations to call the removeKey method. /// - public class RemoveKeyRequestBuilder : BaseCliRequestBuilder + public class RemoveKeyRequestBuilder : BaseCliRequestBuilder { /// /// Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. diff --git a/src/generated/Applications/Item/RemovePassword/RemovePasswordPostRequestBody.cs b/src/generated/Applications/Item/RemovePassword/RemovePasswordPostRequestBody.cs index 7891d93f82..a976ef99b3 100644 --- a/src/generated/Applications/Item/RemovePassword/RemovePasswordPostRequestBody.cs +++ b/src/generated/Applications/Item/RemovePassword/RemovePasswordPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.RemovePassword { - public class RemovePasswordPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.RemovePassword +{ + #pragma warning disable CS1591 + public class RemovePasswordPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keyId", n => { KeyId = n.GetGuidValue(); } }, + { "keyId", n => { KeyId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs b/src/generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs index 73eb692310..1ebae75376 100644 --- a/src/generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs +++ b/src/generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.RemovePassword { +namespace ApiSdk.Applications.Item.RemovePassword +{ /// /// Provides operations to call the removePassword method. /// - public class RemovePasswordRequestBuilder : BaseCliRequestBuilder + public class RemovePasswordRequestBuilder : BaseCliRequestBuilder { /// /// Remove a password from an application. diff --git a/src/generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Applications/Item/Restore/RestoreRequestBuilder.cs index 438bd6719c..7034b23afb 100644 --- a/src/generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Restore { +namespace ApiSdk.Applications.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherPostRequestBody.cs b/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherPostRequestBody.cs index 22106c7a53..8f81a86e05 100644 --- a/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherPostRequestBody.cs +++ b/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.SetVerifiedPublisher { - public class SetVerifiedPublisherPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.SetVerifiedPublisher +{ + #pragma warning disable CS1591 + public class SetVerifiedPublisherPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"verifiedPublisherId", n => { VerifiedPublisherId = n.GetStringValue(); } }, + { "verifiedPublisherId", n => { VerifiedPublisherId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs b/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs index 0fad877768..42aca08b2a 100644 --- a/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs +++ b/src/generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.SetVerifiedPublisher { +namespace ApiSdk.Applications.Item.SetVerifiedPublisher +{ /// /// Provides operations to call the setVerifiedPublisher method. /// - public class SetVerifiedPublisherRequestBuilder : BaseCliRequestBuilder + public class SetVerifiedPublisherRequestBuilder : BaseCliRequestBuilder { /// /// Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. diff --git a/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenPostRequestBody.cs index 4e3e9394c6..534f5fe8e5 100644 --- a/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.AcquireAccessToken { - public class AcquireAccessTokenPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.AcquireAccessToken +{ + #pragma warning disable CS1591 + public class AcquireAccessTokenPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index ea0440464e..fd62fa47b6 100644 --- a/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.AcquireAccessToken { +namespace ApiSdk.Applications.Item.Synchronization.AcquireAccessToken +{ /// /// Provides operations to call the acquireAccessToken method. /// - public class AcquireAccessTokenRequestBuilder : BaseCliRequestBuilder + public class AcquireAccessTokenRequestBuilder : BaseCliRequestBuilder { /// /// Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs index 34c75276be..00f4cfca5b 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Count { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/BulkUploadRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/BulkUploadRequestBuilder.cs index b7958e35b0..f71ab52c9c 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/BulkUploadRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/BulkUploadRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.BulkUpload { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.BulkUpload +{ /// /// Provides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity. /// - public class BulkUploadRequestBuilder : BaseCliRequestBuilder + public class BulkUploadRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the application entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the application entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/Value/ContentRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/Value/ContentRequestBuilder.cs index 2666b427ad..edbf0183bd 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/Value/ContentRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/BulkUpload/Value/ContentRequestBuilder.cs @@ -13,20 +13,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.BulkUpload.Value +{ /// /// Provides operations to manage the media for the application entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property bulkUpload from applications + /// The bulk upload operation for the job. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The bulk upload operation for the job."; + var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { + }; + applicationIdOption.IsRequired = true; + command.AddOption(applicationIdOption); + var synchronizationJobIdOption = new Option("--synchronization-job-id", description: "The unique identifier of synchronizationJob") { + }; + synchronizationJobIdOption.IsRequired = true; + command.AddOption(synchronizationJobIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var applicationId = invocationContext.ParseResult.GetValueForOption(applicationIdOption); + var synchronizationJobId = invocationContext.ParseResult.GetValueForOption(synchronizationJobIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (applicationId is not null) requestInfo.PathParameters.Add("application%2Did", applicationId); + if (synchronizationJobId is not null) requestInfo.PathParameters.Add("synchronizationJob%2Did", synchronizationJobId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The bulk upload operation for the job. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property bulkUpload from applications"; + command.Description = "The bulk upload operation for the job."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -66,13 +108,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property bulkUpload in applications + /// The bulk upload operation for the job. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property bulkUpload in applications"; + command.Description = "The bulk upload operation for the job."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -136,7 +178,26 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{app { } /// - /// Get media content for the navigation property bulkUpload from applications + /// The bulk upload operation for the job. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The bulk upload operation for the job. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -155,7 +216,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property bulkUpload in applications + /// The bulk upload operation for the job. /// /// A /// Binary request body diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs index 7a7ba6f0d1..7cc140df23 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Pause { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Pause +{ /// /// Provides operations to call the pause method. /// - public class PauseRequestBuilder : BaseCliRequestBuilder + public class PauseRequestBuilder : BaseCliRequestBuilder { /// /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandPostRequestBody.cs index 6d5bd6b493..932f8cdeaa 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand { - public class ProvisionOnDemandPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand +{ + #pragma warning disable CS1591 + public class ProvisionOnDemandPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"parameters", n => { Parameters = n.GetCollectionOfObjectValues(SynchronizationJobApplicationParameters.CreateFromDiscriminatorValue)?.ToList(); } }, + { "parameters", n => { Parameters = n.GetCollectionOfObjectValues(SynchronizationJobApplicationParameters.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs index ea9b25599d..d93864647d 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ProvisionOnDemand +{ /// /// Provides operations to call the provisionOnDemand method. /// - public class ProvisionOnDemandRequestBuilder : BaseCliRequestBuilder + public class ProvisionOnDemandRequestBuilder : BaseCliRequestBuilder { /// /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartPostRequestBody.cs index b2cf2c20d9..af2b2b256e 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Restart { - public class RestartPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Restart +{ + #pragma warning disable CS1591 + public class RestartPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(SynchronizationJobRestartCriteria.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(SynchronizationJobRestartCriteria.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs index 788a4ec5e0..1f1fb26e4c 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Restart { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Restart +{ /// /// Provides operations to call the restart method. /// - public class RestartRequestBuilder : BaseCliRequestBuilder + public class RestartRequestBuilder : BaseCliRequestBuilder { /// /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs index 720dd43b9a..225c6198fd 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Count { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs index b7c4418e3b..090baa60fe 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories +{ /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. /// - public class DirectoriesRequestBuilder : BaseCliRequestBuilder + public class DirectoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index 865c3842e6..bd32b04996 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Item { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Item +{ /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. /// - public class DirectoryDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property directories for applications diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index f9eee75ef6..b8d8394fcc 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Item.Discover { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Directories.Item.Discover +{ /// /// Provides operations to call the discover method. /// - public class DiscoverRequestBuilder : BaseCliRequestBuilder + public class DiscoverRequestBuilder : BaseCliRequestBuilder { /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs index 00ef28a571..f64cfad515 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators { - public class FilterOperatorsGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators +{ + #pragma warning disable CS1591 + public class FilterOperatorsGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(FilterOperatorSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(FilterOperatorSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index bb4ffd57d9..df99d5dd57 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators +{ /// /// Provides operations to call the filterOperators method. /// - public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder + public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterOperators"; + command.Description = "List all operators supported in the scoping filters.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FilterOperatorsRequestBuilder(string rawUrl) : base("{+baseurl}/applicati { } /// - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. /// public class FilterOperatorsRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsGetResponse.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsGetResponse.cs index 29aa64ac0c..c0c1fefc19 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsGetResponse.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Functions { - public class FunctionsGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Functions +{ + #pragma warning disable CS1591 + public class FunctionsGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs index 02f9a82881..90e3dc0f3c 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Functions { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.Functions +{ /// /// Provides operations to call the functions method. /// - public class FunctionsRequestBuilder : BaseCliRequestBuilder + public class FunctionsRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function functions"; + command.Description = "List all the functions currently supported in the attributeMappingSource.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FunctionsRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{a { } /// - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. /// public class FunctionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs index dea85253ba..48fe7e03a6 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.ParseExpression { - public class ParseExpressionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.ParseExpression +{ + #pragma warning disable CS1591 + public class ParseExpressionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expression", n => { Expression = n.GetStringValue(); } }, - {"targetAttributeDefinition", n => { TargetAttributeDefinition = n.GetObjectValue(AttributeDefinition.CreateFromDiscriminatorValue); } }, - {"testInputObject", n => { TestInputObject = n.GetObjectValue(ExpressionInputObject.CreateFromDiscriminatorValue); } }, + { "expression", n => { Expression = n.GetStringValue(); } }, + { "targetAttributeDefinition", n => { TargetAttributeDefinition = n.GetObjectValue(AttributeDefinition.CreateFromDiscriminatorValue); } }, + { "testInputObject", n => { TestInputObject = n.GetObjectValue(ExpressionInputObject.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 93ca951028..28ac651668 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.ParseExpression { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema.ParseExpression +{ /// /// Provides operations to call the parseExpression method. /// - public class ParseExpressionRequestBuilder : BaseCliRequestBuilder + public class ParseExpressionRequestBuilder : BaseCliRequestBuilder { /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs index d4bf13a912..44b8d2e573 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Schema +{ /// /// Provides operations to manage the schema property of the microsoft.graph.synchronizationJob entity. /// - public class SchemaRequestBuilder : BaseCliRequestBuilder + public class SchemaRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property schema for applications @@ -127,14 +128,13 @@ public Command BuildFunctionsNavCommand() return command; } /// - /// Retrieve the schema for a given synchronization job or template. - /// Find more info here + /// The synchronization schema configured for the job. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the schema for a given synchronization job or template.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-1.0"; + command.Description = "The synchronization schema configured for the job."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -203,14 +203,13 @@ public Command BuildParseExpressionNavCommand() return command; } /// - /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. - /// Find more info here + /// Update the navigation property schema in applications /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property schema in applications"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -294,7 +293,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the schema for a given synchronization job or template. + /// The synchronization schema configured for the job. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -313,7 +312,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. + /// Update the navigation property schema in applications /// /// A /// The request body @@ -334,7 +333,7 @@ public RequestInformation ToPatchRequestInformation(SynchronizationSchema body, return requestInfo; } /// - /// Retrieve the schema for a given synchronization job or template. + /// The synchronization schema configured for the job. /// public class SchemaRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs index 56aee64f14..2880f8fb0c 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Start { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.Start +{ /// /// Provides operations to call the start method. /// - public class StartRequestBuilder : BaseCliRequestBuilder + public class StartRequestBuilder : BaseCliRequestBuilder { /// /// Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index 2df842e867..9a8fe2d0c2 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item +{ /// /// Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. /// - public class SynchronizationJobItemRequestBuilder : BaseCliRequestBuilder + public class SynchronizationJobItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity. @@ -53,14 +54,13 @@ public Command BuildBulkUploadNavCommand() return command; } /// - /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. - /// Find more info here + /// Delete navigation property jobs for applications /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property jobs for applications"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -95,14 +95,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the existing synchronization job and its properties. - /// Find more info here + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the existing synchronization job and its properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-1.0"; + command.Description = "Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -338,7 +337,7 @@ public SynchronizationJobItemRequestBuilder(string rawUrl) : base("{+baseurl}/ap { } /// - /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. + /// Delete navigation property jobs for applications /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -357,7 +356,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the existing synchronization job and its properties. + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -397,7 +396,7 @@ public RequestInformation ToPatchRequestInformation(SynchronizationJob body, Act return requestInfo; } /// - /// Retrieve the existing synchronization job and its properties. + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// public class SynchronizationJobItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index b953437731..be7589840b 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials { - public class ValidateCredentialsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials +{ + #pragma warning disable CS1591 + public class ValidateCredentialsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -61,10 +64,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationIdentifier", n => { ApplicationIdentifier = n.GetStringValue(); } }, - {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"templateId", n => { TemplateId = n.GetStringValue(); } }, - {"useSavedCredentials", n => { UseSavedCredentials = n.GetBoolValue(); } }, + { "applicationIdentifier", n => { ApplicationIdentifier = n.GetStringValue(); } }, + { "credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "templateId", n => { TemplateId = n.GetStringValue(); } }, + { "useSavedCredentials", n => { UseSavedCredentials = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index fe135a6d76..abd93996b2 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials +{ /// /// Provides operations to call the validateCredentials method. /// - public class ValidateCredentialsRequestBuilder : BaseCliRequestBuilder + public class ValidateCredentialsRequestBuilder : BaseCliRequestBuilder { /// /// Validate that the credentials are valid in the tenant. diff --git a/src/generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs index 995e6efc59..d7d4056bfe 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs { +namespace ApiSdk.Applications.Item.Synchronization.Jobs +{ /// /// Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. /// - public class JobsRequestBuilder : BaseCliRequestBuilder + public class JobsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the jobs property of the microsoft.graph.synchronization entity. @@ -62,14 +63,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. - /// Find more info here + /// Create new navigation property to jobs for applications /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronization-post-jobs?view=graph-rest-1.0"; + command.Description = "Create new navigation property to jobs for applications"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -114,14 +114,13 @@ public Command BuildCreateCommand() return command; } /// - /// List existing jobs for a given application instance (service principal). - /// Find more info here + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List existing jobs for a given application instance (service principal).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-1.0"; + command.Description = "Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -203,7 +202,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -246,7 +247,7 @@ public JobsRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{applic { } /// - /// List existing jobs for a given application instance (service principal). + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -265,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. + /// Create new navigation property to jobs for applications /// /// A /// The request body @@ -286,7 +287,7 @@ public RequestInformation ToPostRequestInformation(SynchronizationJob body, Acti return requestInfo; } /// - /// List existing jobs for a given application instance (service principal). + /// Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. /// public class JobsRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 3c1001742a..b060e55c1e 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.ValidateCredentials { - public class ValidateCredentialsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Jobs.ValidateCredentials +{ + #pragma warning disable CS1591 + public class ValidateCredentialsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -61,10 +64,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationIdentifier", n => { ApplicationIdentifier = n.GetStringValue(); } }, - {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"templateId", n => { TemplateId = n.GetStringValue(); } }, - {"useSavedCredentials", n => { UseSavedCredentials = n.GetBoolValue(); } }, + { "applicationIdentifier", n => { ApplicationIdentifier = n.GetStringValue(); } }, + { "credentials", n => { Credentials = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "templateId", n => { TemplateId = n.GetStringValue(); } }, + { "useSavedCredentials", n => { UseSavedCredentials = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index b92d7e448f..e93828ae33 100644 --- a/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Jobs.ValidateCredentials { +namespace ApiSdk.Applications.Item.Synchronization.Jobs.ValidateCredentials +{ /// /// Provides operations to call the validateCredentials method. /// - public class ValidateCredentialsRequestBuilder : BaseCliRequestBuilder + public class ValidateCredentialsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action validateCredentials diff --git a/src/generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs index b415d29aaf..5be9eded90 100644 --- a/src/generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Secrets.Count { +namespace ApiSdk.Applications.Item.Synchronization.Secrets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutRequestBody.cs b/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutRequestBody.cs index 71ad1dd97c..e72e3b7cd9 100644 --- a/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Secrets { - public class SecretsPutRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Secrets +{ + #pragma warning disable CS1591 + public class SecretsPutRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutResponse.cs b/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutResponse.cs index 569f15e36b..61f0a16bdb 100644 --- a/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutResponse.cs +++ b/src/generated/Applications/Item/Synchronization/Secrets/SecretsPutResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Secrets { - public class SecretsPutResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Secrets +{ + #pragma warning disable CS1591 + public class SecretsPutResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index b2f9119655..02984f6c2b 100644 --- a/src/generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Secrets { +namespace ApiSdk.Applications.Item.Synchronization.Secrets +{ /// /// Builds and executes requests for operations under \applications\{application-id}\synchronization\secrets /// - public class SecretsRequestBuilder : BaseCliRequestBuilder + public class SecretsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. diff --git a/src/generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs index df4d9f38f9..26fefe0895 100644 --- a/src/generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization { +namespace ApiSdk.Applications.Item.Synchronization +{ /// /// Provides operations to manage the synchronization property of the microsoft.graph.application entity. /// - public class SynchronizationRequestBuilder : BaseCliRequestBuilder + public class SynchronizationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the acquireAccessToken method. diff --git a/src/generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs index 39302dfebe..b53d4506c6 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Count { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs index ef13d4d691..17572f2c21 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Count { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs index b03bbd863c..a8b8f8acfc 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories +{ /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. /// - public class DirectoriesRequestBuilder : BaseCliRequestBuilder + public class DirectoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index 933ee78146..0b18abe285 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Item { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Item +{ /// /// Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. /// - public class DirectoryDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property directories for applications diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index d4c1abeeb8..33c7e7f4d6 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Item.Discover { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Directories.Item.Discover +{ /// /// Provides operations to call the discover method. /// - public class DiscoverRequestBuilder : BaseCliRequestBuilder + public class DiscoverRequestBuilder : BaseCliRequestBuilder { /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs index d9f3d395a9..2b7820befb 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators { - public class FilterOperatorsGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators +{ + #pragma warning disable CS1591 + public class FilterOperatorsGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(FilterOperatorSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(FilterOperatorSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index c473aca767..891165f7c1 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators +{ /// /// Provides operations to call the filterOperators method. /// - public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder + public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterOperators"; + command.Description = "List all operators supported in the scoping filters.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FilterOperatorsRequestBuilder(string rawUrl) : base("{+baseurl}/applicati { } /// - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterOperators + /// List all operators supported in the scoping filters. /// public class FilterOperatorsRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsGetResponse.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsGetResponse.cs index de6d751a50..1b0b11e3f3 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsGetResponse.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Functions { - public class FunctionsGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Functions +{ + #pragma warning disable CS1591 + public class FunctionsGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs index e95ea945ce..503687a257 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Functions { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.Functions +{ /// /// Provides operations to call the functions method. /// - public class FunctionsRequestBuilder : BaseCliRequestBuilder + public class FunctionsRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function functions"; + command.Description = "List all the functions currently supported in the attributeMappingSource.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-1.0"; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FunctionsRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{a { } /// - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function functions + /// List all the functions currently supported in the attributeMappingSource. /// public class FunctionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs index 417e67ae25..acc43ef59b 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.ParseExpression { - public class ParseExpressionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.ParseExpression +{ + #pragma warning disable CS1591 + public class ParseExpressionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expression", n => { Expression = n.GetStringValue(); } }, - {"targetAttributeDefinition", n => { TargetAttributeDefinition = n.GetObjectValue(AttributeDefinition.CreateFromDiscriminatorValue); } }, - {"testInputObject", n => { TestInputObject = n.GetObjectValue(ExpressionInputObject.CreateFromDiscriminatorValue); } }, + { "expression", n => { Expression = n.GetStringValue(); } }, + { "targetAttributeDefinition", n => { TargetAttributeDefinition = n.GetObjectValue(AttributeDefinition.CreateFromDiscriminatorValue); } }, + { "testInputObject", n => { TestInputObject = n.GetObjectValue(ExpressionInputObject.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 2e40f79c6f..cf31ba54c5 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.ParseExpression { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema.ParseExpression +{ /// /// Provides operations to call the parseExpression method. /// - public class ParseExpressionRequestBuilder : BaseCliRequestBuilder + public class ParseExpressionRequestBuilder : BaseCliRequestBuilder { /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs index 7ad68e30c7..d46e5ce4d5 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item.Schema +{ /// /// Provides operations to manage the schema property of the microsoft.graph.synchronizationTemplate entity. /// - public class SchemaRequestBuilder : BaseCliRequestBuilder + public class SchemaRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property schema for applications diff --git a/src/generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs index 5a93c900c5..5c69d852d7 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates.Item { +namespace ApiSdk.Applications.Item.Synchronization.Templates.Item +{ /// /// Provides operations to manage the templates property of the microsoft.graph.synchronization entity. /// - public class SynchronizationTemplateItemRequestBuilder : BaseCliRequestBuilder + public class SynchronizationTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property templates for applications diff --git a/src/generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs b/src/generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs index ee2ab810e1..b54d4614a7 100644 --- a/src/generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs +++ b/src/generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.Synchronization.Templates { +namespace ApiSdk.Applications.Item.Synchronization.Templates +{ /// /// Provides operations to manage the templates property of the microsoft.graph.synchronization entity. /// - public class TemplatesRequestBuilder : BaseCliRequestBuilder + public class TemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the templates property of the microsoft.graph.synchronization entity. @@ -106,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the synchronization templates associated with a given application or service principal. - /// Find more info here + /// Preconfigured synchronization settings for a particular application. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the synchronization templates associated with a given application or service principal.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-1.0"; + command.Description = "Preconfigured synchronization settings for a particular application."; var applicationIdOption = new Option("--application-id", description: "The unique identifier of application") { }; applicationIdOption.IsRequired = true; @@ -195,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -221,7 +223,7 @@ public TemplatesRequestBuilder(string rawUrl) : base("{+baseurl}/applications/{a { } /// - /// List the synchronization templates associated with a given application or service principal. + /// Preconfigured synchronization settings for a particular application. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -261,7 +263,7 @@ public RequestInformation ToPostRequestInformation(SynchronizationTemplate body, return requestInfo; } /// - /// List the synchronization templates associated with a given application or service principal. + /// Preconfigured synchronization settings for a particular application. /// public class TemplatesRequestBuilderGetQueryParameters { diff --git a/src/generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs index bb98dd6eb0..d38ac5f02e 100644 --- a/src/generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Count { +namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs index 86cfdccf74..0e7b700d30 100644 --- a/src/generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Item.Ref { +namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Item.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a tokenIssuancePolicy from an application. diff --git a/src/generated/Applications/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs b/src/generated/Applications/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs index 564274b64f..4171f1d265 100644 --- a/src/generated/Applications/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Item { +namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Item +{ /// /// Builds and executes requests for operations under \applications\{application-id}\tokenIssuancePolicies\{tokenIssuancePolicy-id} /// - public class TokenIssuancePolicyItemRequestBuilder : BaseCliRequestBuilder + public class TokenIssuancePolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of application entities. diff --git a/src/generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index 11d960680d..fc4c7a316d 100644 --- a/src/generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Ref { +namespace ApiSdk.Applications.Item.TokenIssuancePolicies.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a tokenIssuancePolicy from an application. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs b/src/generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs index 254b0cd4c2..130fcf741b 100644 --- a/src/generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenIssuancePolicies { +namespace ApiSdk.Applications.Item.TokenIssuancePolicies +{ /// /// Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.application entity. /// - public class TokenIssuancePoliciesRequestBuilder : BaseCliRequestBuilder + public class TokenIssuancePoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.applications.item.tokenIssuancePolicies.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs b/src/generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs index ca6c780dea..5248a273f7 100644 --- a/src/generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Count { +namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs index a9d7b5177a..b75633d872 100644 --- a/src/generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Item.Ref { +namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Item.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a tokenLifetimePolicy from an application. diff --git a/src/generated/Applications/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs b/src/generated/Applications/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs index 93ac0de504..ced118a44e 100644 --- a/src/generated/Applications/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Item { +namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Item +{ /// /// Builds and executes requests for operations under \applications\{application-id}\tokenLifetimePolicies\{tokenLifetimePolicy-id} /// - public class TokenLifetimePolicyItemRequestBuilder : BaseCliRequestBuilder + public class TokenLifetimePolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of application entities. diff --git a/src/generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index 2797a000b6..fbfd0a9427 100644 --- a/src/generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Ref { +namespace ApiSdk.Applications.Item.TokenLifetimePolicies.Ref +{ /// /// Provides operations to manage the collection of application entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a tokenLifetimePolicy from an application. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs b/src/generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs index 1bc065b4ee..caf4fd7dc0 100644 --- a/src/generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs +++ b/src/generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.TokenLifetimePolicies { +namespace ApiSdk.Applications.Item.TokenLifetimePolicies +{ /// /// Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.application entity. /// - public class TokenLifetimePoliciesRequestBuilder : BaseCliRequestBuilder + public class TokenLifetimePoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.applications.item.tokenLifetimePolicies.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs b/src/generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs index 24ad950d50..61e115643b 100644 --- a/src/generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs +++ b/src/generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.Item.UnsetVerifiedPublisher { +namespace ApiSdk.Applications.Item.UnsetVerifiedPublisher +{ /// /// Provides operations to call the unsetVerifiedPublisher method. /// - public class UnsetVerifiedPublisherRequestBuilder : BaseCliRequestBuilder + public class UnsetVerifiedPublisherRequestBuilder : BaseCliRequestBuilder { /// /// Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. diff --git a/src/generated/Applications/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Applications/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 500b376a0d..2393143724 100644 --- a/src/generated/Applications/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Applications/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Applications.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Applications.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 96f0570c59..3f27eeb9bd 100644 --- a/src/generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Applications.ValidateProperties { +namespace ApiSdk.Applications.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs b/src/generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs index 22d9468868..434324d8f0 100644 --- a/src/generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs +++ b/src/generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationsWithAppId { +namespace ApiSdk.ApplicationsWithAppId +{ /// /// Provides operations to manage the collection of application entities. /// - public class ApplicationsWithAppIdRequestBuilder : BaseCliRequestBuilder + public class ApplicationsWithAppIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. diff --git a/src/generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs b/src/generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs index 16e2347aa9..90db179eb9 100644 --- a/src/generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs +++ b/src/generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.ApplicationsWithUniqueName { +namespace ApiSdk.ApplicationsWithUniqueName +{ /// /// Provides operations to manage the collection of application entities. /// - public class ApplicationsWithUniqueNameRequestBuilder : BaseCliRequestBuilder + public class ApplicationsWithUniqueNameRequestBuilder : BaseCliRequestBuilder { /// /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. diff --git a/src/generated/AuditLogs/AuditLogsRequestBuilder.cs b/src/generated/AuditLogs/AuditLogsRequestBuilder.cs index cd563306a7..3298d258d4 100644 --- a/src/generated/AuditLogs/AuditLogsRequestBuilder.cs +++ b/src/generated/AuditLogs/AuditLogsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs { +namespace ApiSdk.AuditLogs +{ /// /// Provides operations to manage the auditLogRoot singleton. /// - public class AuditLogsRequestBuilder : BaseCliRequestBuilder + public class AuditLogsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. diff --git a/src/generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs b/src/generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs index 7a97c3c9f7..e49e202e78 100644 --- a/src/generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs +++ b/src/generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.DirectoryAudits.Count { +namespace ApiSdk.AuditLogs.DirectoryAudits.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs b/src/generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs index 48d1e69b04..e11526bfca 100644 --- a/src/generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs +++ b/src/generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.DirectoryAudits { +namespace ApiSdk.AuditLogs.DirectoryAudits +{ /// /// Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. /// - public class DirectoryAuditsRequestBuilder : BaseCliRequestBuilder + public class DirectoryAuditsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs b/src/generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs index 6bcb42991b..dde29e6f61 100644 --- a/src/generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs +++ b/src/generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.DirectoryAudits.Item { +namespace ApiSdk.AuditLogs.DirectoryAudits.Item +{ /// /// Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. /// - public class DirectoryAuditItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryAuditItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property directoryAudits for auditLogs diff --git a/src/generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs b/src/generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs index c9e0f8a06d..bd6c07b6b1 100644 --- a/src/generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs +++ b/src/generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.Provisioning.Count { +namespace ApiSdk.AuditLogs.Provisioning.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs b/src/generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs index fe3cf35d8f..f3f128e75c 100644 --- a/src/generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs +++ b/src/generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.Provisioning.Item { +namespace ApiSdk.AuditLogs.Provisioning.Item +{ /// /// Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity. /// - public class ProvisioningObjectSummaryItemRequestBuilder : BaseCliRequestBuilder + public class ProvisioningObjectSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property provisioning for auditLogs diff --git a/src/generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs b/src/generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs index cbc035ec7a..9c051c706a 100644 --- a/src/generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs +++ b/src/generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.Provisioning { +namespace ApiSdk.AuditLogs.Provisioning +{ /// /// Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity. /// - public class ProvisioningRequestBuilder : BaseCliRequestBuilder + public class ProvisioningRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs b/src/generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs index b6a8d8808e..b7c0a81c0c 100644 --- a/src/generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs +++ b/src/generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.SignIns.Count { +namespace ApiSdk.AuditLogs.SignIns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs b/src/generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs index 7d559585f8..e51439ca3c 100644 --- a/src/generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs +++ b/src/generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.SignIns.Item { +namespace ApiSdk.AuditLogs.SignIns.Item +{ /// /// Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. /// - public class SignInItemRequestBuilder : BaseCliRequestBuilder + public class SignInItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property signIns for auditLogs diff --git a/src/generated/AuditLogs/SignIns/SignInsRequestBuilder.cs b/src/generated/AuditLogs/SignIns/SignInsRequestBuilder.cs index 0735fae49b..5273d48f3f 100644 --- a/src/generated/AuditLogs/SignIns/SignInsRequestBuilder.cs +++ b/src/generated/AuditLogs/SignIns/SignInsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuditLogs.SignIns { +namespace ApiSdk.AuditLogs.SignIns +{ /// /// Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. /// - public class SignInsRequestBuilder : BaseCliRequestBuilder + public class SignInsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs b/src/generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs index 96e9fbf31e..7c69cf0657 100644 --- a/src/generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs +++ b/src/generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodConfigurations { +namespace ApiSdk.AuthenticationMethodConfigurations +{ /// /// Provides operations to manage the collection of authenticationMethodConfiguration entities. /// - public class AuthenticationMethodConfigurationsRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of authenticationMethodConfiguration entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs b/src/generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs index e9c6fb709a..b52f769606 100644 --- a/src/generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodConfigurations.Count { +namespace ApiSdk.AuthenticationMethodConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs b/src/generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs index f6160def9d..96490cecc0 100644 --- a/src/generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs +++ b/src/generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodConfigurations.Item { +namespace ApiSdk.AuthenticationMethodConfigurations.Item +{ /// /// Provides operations to manage the collection of authenticationMethodConfiguration entities. /// - public class AuthenticationMethodConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from authenticationMethodConfigurations diff --git a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs index 0965e3a50d..f834a3a6f6 100644 --- a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs +++ b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations { +namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations +{ /// /// Provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. /// - public class AuthenticationMethodConfigurationsRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs index 427dbed2bf..7a30663c89 100644 --- a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.Count { +namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs index 99b0dd737c..8b4c2407bf 100644 --- a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs +++ b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.Item { +namespace ApiSdk.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.Item +{ /// /// Provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. /// - public class AuthenticationMethodConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property authenticationMethodConfigurations for authenticationMethodsPolicy diff --git a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs index d1f55ffb2a..e8193dc357 100644 --- a/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs +++ b/src/generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.AuthenticationMethodsPolicy { +namespace ApiSdk.AuthenticationMethodsPolicy +{ /// /// Provides operations to manage the authenticationMethodsPolicy singleton. /// - public class AuthenticationMethodsPolicyRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodsPolicyRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. diff --git a/src/generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs b/src/generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs index 9b0b0a1cf6..9faf736ad7 100644 --- a/src/generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs +++ b/src/generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.CertificateBasedAuthConfiguration { +namespace ApiSdk.CertificateBasedAuthConfiguration +{ /// /// Provides operations to manage the collection of certificateBasedAuthConfiguration entities. /// - public class CertificateBasedAuthConfigurationRequestBuilder : BaseCliRequestBuilder + public class CertificateBasedAuthConfigurationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of certificateBasedAuthConfiguration entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs b/src/generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs index 40b5bac7af..581a37567c 100644 --- a/src/generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs +++ b/src/generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.CertificateBasedAuthConfiguration.Count { +namespace ApiSdk.CertificateBasedAuthConfiguration.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs b/src/generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs index 7a3f1e4d6c..78d4d0ea6a 100644 --- a/src/generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs +++ b/src/generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.CertificateBasedAuthConfiguration.Item { +namespace ApiSdk.CertificateBasedAuthConfiguration.Item +{ /// /// Provides operations to manage the collection of certificateBasedAuthConfiguration entities. /// - public class CertificateBasedAuthConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class CertificateBasedAuthConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from certificateBasedAuthConfiguration diff --git a/src/generated/Chats/ChatsRequestBuilder.cs b/src/generated/Chats/ChatsRequestBuilder.cs index 4728298c64..e847d0ba25 100644 --- a/src/generated/Chats/ChatsRequestBuilder.cs +++ b/src/generated/Chats/ChatsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats { +namespace ApiSdk.Chats +{ /// /// Provides operations to manage the collection of chat entities. /// - public class ChatsRequestBuilder : BaseCliRequestBuilder + public class ChatsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of chat entities. @@ -213,7 +214,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Count/CountRequestBuilder.cs b/src/generated/Chats/Count/CountRequestBuilder.cs index f7831be2e8..f57676a998 100644 --- a/src/generated/Chats/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Count { +namespace ApiSdk.Chats.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/GetAllMessages/GetAllMessagesGetResponse.cs b/src/generated/Chats/GetAllMessages/GetAllMessagesGetResponse.cs index c95b01e4f2..459d351c69 100644 --- a/src/generated/Chats/GetAllMessages/GetAllMessagesGetResponse.cs +++ b/src/generated/Chats/GetAllMessages/GetAllMessagesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.GetAllMessages { - public class GetAllMessagesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Chats.GetAllMessages +{ + #pragma warning disable CS1591 + public class GetAllMessagesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs index bf0369205c..2fbf5a00fd 100644 --- a/src/generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.GetAllMessages { +namespace ApiSdk.Chats.GetAllMessages +{ /// /// Provides operations to call the getAllMessages method. /// - public class GetAllMessagesRequestBuilder : BaseCliRequestBuilder + public class GetAllMessagesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getAllMessages + /// Get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getAllMessages"; + command.Description = "Get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0"; var modelOption = new Option("--model", description: "The payment model for the API") { }; modelOption.IsRequired = false; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public GetAllMessagesRequestBuilder(string rawUrl) : base("{+baseurl}/chats/getA { } /// - /// Invoke function getAllMessages + /// Get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAllMessages + /// Get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. /// public class GetAllMessagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/ChatItemRequestBuilder.cs b/src/generated/Chats/Item/ChatItemRequestBuilder.cs index 97de9804a3..da87d8db2e 100644 --- a/src/generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/generated/Chats/Item/ChatItemRequestBuilder.cs @@ -26,11 +26,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item { +namespace ApiSdk.Chats.Item +{ /// /// Provides operations to manage the collection of chat entities. /// - public class ChatItemRequestBuilder : BaseCliRequestBuilder + public class ChatItemRequestBuilder : BaseCliRequestBuilder { /// /// Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. diff --git a/src/generated/Chats/Item/HideForUser/HideForUserPostRequestBody.cs b/src/generated/Chats/Item/HideForUser/HideForUserPostRequestBody.cs index a53bb1f000..ca3a961a04 100644 --- a/src/generated/Chats/Item/HideForUser/HideForUserPostRequestBody.cs +++ b/src/generated/Chats/Item/HideForUser/HideForUserPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.HideForUser { - public class HideForUserPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.HideForUser +{ + #pragma warning disable CS1591 + public class HideForUserPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, + { "user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs b/src/generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs index 2a908cc9fc..04b1a191b3 100644 --- a/src/generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs +++ b/src/generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.HideForUser { +namespace ApiSdk.Chats.Item.HideForUser +{ /// /// Provides operations to call the hideForUser method. /// - public class HideForUserRequestBuilder : BaseCliRequestBuilder + public class HideForUserRequestBuilder : BaseCliRequestBuilder { /// /// Hide a chat for a user. diff --git a/src/generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs index d480c16566..89cb47da5e 100644 --- a/src/generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Count { +namespace ApiSdk.Chats.Item.InstalledApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs index de0c29bc41..e9bafa891a 100644 --- a/src/generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps { +namespace ApiSdk.Chats.Item.InstalledApps +{ /// /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. /// - public class InstalledAppsRequestBuilder : BaseCliRequestBuilder + public class InstalledAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 01c21dee0b..767fb4e5e6 100644 --- a/src/generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Item.TeamsApp { +namespace ApiSdk.Chats.Item.InstalledApps.Item.TeamsApp +{ /// /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. /// - public class TeamsAppRequestBuilder : BaseCliRequestBuilder + public class TeamsAppRequestBuilder : BaseCliRequestBuilder { /// /// The app that is installed. diff --git a/src/generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 04e050757d..fe5abe8634 100644 --- a/src/generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Item.TeamsAppDefinition { +namespace ApiSdk.Chats.Item.InstalledApps.Item.TeamsAppDefinition +{ /// /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. /// - public class TeamsAppDefinitionRequestBuilder : BaseCliRequestBuilder + public class TeamsAppDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// The details of this version of the app. diff --git a/src/generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index fa69dee22c..5249fd05c9 100644 --- a/src/generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Item { +namespace ApiSdk.Chats.Item.InstalledApps.Item +{ /// /// Provides operations to manage the installedApps property of the microsoft.graph.chat entity. /// - public class TeamsAppInstallationItemRequestBuilder : BaseCliRequestBuilder + public class TeamsAppInstallationItemRequestBuilder : BaseCliRequestBuilder { /// /// Uninstall an app installed within a chat. diff --git a/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs b/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs index e9bec8a21b..2c7d5674ba 100644 --- a/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs +++ b/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Item.Upgrade { - public class UpgradePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.InstalledApps.Item.Upgrade +{ + #pragma warning disable CS1591 + public class UpgradePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, + { "consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 1514dea301..a6fc62f4b5 100644 --- a/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.InstalledApps.Item.Upgrade { +namespace ApiSdk.Chats.Item.InstalledApps.Item.Upgrade +{ /// /// Provides operations to call the upgrade method. /// - public class UpgradeRequestBuilder : BaseCliRequestBuilder + public class UpgradeRequestBuilder : BaseCliRequestBuilder { /// /// Upgrade an app installation within a chat. diff --git a/src/generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs b/src/generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs index 5833ce2fd9..a5e58b9189 100644 --- a/src/generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs +++ b/src/generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.LastMessagePreview { +namespace ApiSdk.Chats.Item.LastMessagePreview +{ /// /// Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. /// - public class LastMessagePreviewRequestBuilder : BaseCliRequestBuilder + public class LastMessagePreviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property lastMessagePreview for chats diff --git a/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs b/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs index a62025b3cb..a9567fa06f 100644 --- a/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs +++ b/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.MarkChatReadForUser { - public class MarkChatReadForUserPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.MarkChatReadForUser +{ + #pragma warning disable CS1591 + public class MarkChatReadForUserPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, + { "user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs b/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs index d28d3bfe16..aca71a9911 100644 --- a/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs +++ b/src/generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.MarkChatReadForUser { +namespace ApiSdk.Chats.Item.MarkChatReadForUser +{ /// /// Provides operations to call the markChatReadForUser method. /// - public class MarkChatReadForUserRequestBuilder : BaseCliRequestBuilder + public class MarkChatReadForUserRequestBuilder : BaseCliRequestBuilder { /// /// Mark a chat as read for a user. diff --git a/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs b/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs index 90ad54e80e..1ab94046b0 100644 --- a/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs +++ b/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.MarkChatUnreadForUser { - public class MarkChatUnreadForUserPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.MarkChatUnreadForUser +{ + #pragma warning disable CS1591 + public class MarkChatUnreadForUserPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lastMessageReadDateTime", n => { LastMessageReadDateTime = n.GetDateTimeOffsetValue(); } }, - {"user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, + { "lastMessageReadDateTime", n => { LastMessageReadDateTime = n.GetDateTimeOffsetValue(); } }, + { "user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs b/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs index 7de0fade63..20ffe7b68a 100644 --- a/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs +++ b/src/generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.MarkChatUnreadForUser { +namespace ApiSdk.Chats.Item.MarkChatUnreadForUser +{ /// /// Provides operations to call the markChatUnreadForUser method. /// - public class MarkChatUnreadForUserRequestBuilder : BaseCliRequestBuilder + public class MarkChatUnreadForUserRequestBuilder : BaseCliRequestBuilder { /// /// Mark a chat as unread for a user. diff --git a/src/generated/Chats/Item/Members/Add/AddPostRequestBody.cs b/src/generated/Chats/Item/Members/Add/AddPostRequestBody.cs index 1de0c288ae..0b10a3a8fc 100644 --- a/src/generated/Chats/Item/Members/Add/AddPostRequestBody.cs +++ b/src/generated/Chats/Item/Members/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Members.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Chats/Item/Members/Add/AddPostResponse.cs b/src/generated/Chats/Item/Members/Add/AddPostResponse.cs index 7ad01e9a3c..c28d8f7e08 100644 --- a/src/generated/Chats/Item/Members/Add/AddPostResponse.cs +++ b/src/generated/Chats/Item/Members/Add/AddPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Members.Add { - public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Chats.Item.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Chats/Item/Members/Add/AddRequestBuilder.cs b/src/generated/Chats/Item/Members/Add/AddRequestBuilder.cs index 99eeba80f6..73d613b798 100644 --- a/src/generated/Chats/Item/Members/Add/AddRequestBuilder.cs +++ b/src/generated/Chats/Item/Members/Add/AddRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Members.Add { +namespace ApiSdk.Chats.Item.Members.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Members/Count/CountRequestBuilder.cs index 91f87e75bb..a738ce3730 100644 --- a/src/generated/Chats/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Members.Count { +namespace ApiSdk.Chats.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 8d34c457b4..ff5b4215c7 100644 --- a/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Members.Item { +namespace ApiSdk.Chats.Item.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.chat entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// /// Remove a conversationMember from a chat. diff --git a/src/generated/Chats/Item/Members/MembersRequestBuilder.cs b/src/generated/Chats/Item/Members/MembersRequestBuilder.cs index 2b2ce36083..60d0b4fbe9 100644 --- a/src/generated/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Chats/Item/Members/MembersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Members { +namespace ApiSdk.Chats.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.chat entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -212,7 +213,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/Messages/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Messages/Count/CountRequestBuilder.cs index 646253bb98..d7cd393eba 100644 --- a/src/generated/Chats/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Count { +namespace ApiSdk.Chats.Item.Messages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Messages/Delta/DeltaGetResponse.cs b/src/generated/Chats/Item/Messages/Delta/DeltaGetResponse.cs index 3808f1abf9..a5657af0d4 100644 --- a/src/generated/Chats/Item/Messages/Delta/DeltaGetResponse.cs +++ b/src/generated/Chats/Item/Messages/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Chats.Item.Messages.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs index 8c65db2bea..e9e87a8d44 100644 --- a/src/generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Delta { +namespace ApiSdk.Chats.Item.Messages.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{chat%2Did}/m { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 3a45390a79..1914080cf1 100644 --- a/src/generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item { +namespace ApiSdk.Chats.Item.Messages.Item +{ /// /// Provides operations to manage the messages property of the microsoft.graph.chat entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property messages for chats diff --git a/src/generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index d64e62771d..3c4804e2d5 100644 --- a/src/generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Count { +namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index a8b0eb677b..803a451a33 100644 --- a/src/generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.HostedContents { +namespace ApiSdk.Chats.Item.Messages.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 4c2c65703e..42f9bcba3a 100644 --- a/src/generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Item { +namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the chat entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the chat entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index bd85e6854c..e9712a1f5b 100644 --- a/src/generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Item.Value { +namespace ApiSdk.Chats.Item.Messages.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the chat entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from chats - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { + }; + chatIdOption.IsRequired = true; + command.AddOption(chatIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var chatId = invocationContext.ParseResult.GetValueForOption(chatIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (chatId is not null) requestInfo.PathParameters.Add("chat%2Did", chatId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from chats\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -73,13 +120,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in chats + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in chats"; + command.Description = "The unique identifier for an entity. Read-only."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -149,7 +196,26 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{chat%2Did} { } /// - /// Get media content for the navigation property hostedContents from chats + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -168,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in chats + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index e0859d1b77..3cda3b7b04 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Count { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs index e65efd3eab..f9d0c1342b 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 4582750a13..10931b35e8 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Delta { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{chat%2Did}/m { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 4c7023442b..b495d979ed 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property replies for chats @@ -73,14 +74,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a single message or a message reply in a channel or a chat. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a single message or a message reply in a channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -329,7 +329,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -369,7 +369,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessage body, Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// public class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index aa67067c5b..8768791632 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 9b831b227c..172da4fe39 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -118,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -219,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -245,7 +247,7 @@ public HostedContentsRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{cha { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ChatMessageHostedContent body return requestInfo; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 16be639411..1fe1c31a73 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the chat entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the chat entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -93,14 +95,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chatMessageHostedContent object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -266,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessageHostedContent bod return requestInfo; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index c26937fe1c..9f5e8153d9 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the chat entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from chats - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { + }; + chatIdOption.IsRequired = true; + command.AddOption(chatIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageId1Option = new Option("--chat-message-id1", description: "The unique identifier of chatMessage") { + }; + chatMessageId1Option.IsRequired = true; + command.AddOption(chatMessageId1Option); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var chatId = invocationContext.ParseResult.GetValueForOption(chatIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageId1 = invocationContext.ParseResult.GetValueForOption(chatMessageId1Option); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (chatId is not null) requestInfo.PathParameters.Add("chat%2Did", chatId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageId1 is not null) requestInfo.PathParameters.Add("chatMessage%2Did1", chatMessageId1); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from chats\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -79,13 +132,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in chats + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in chats"; + command.Description = "The unique identifier for an entity. Read-only."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -161,7 +214,26 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{chat%2Did} { } /// - /// Get media content for the navigation property hostedContents from chats + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in chats + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 2680b484e5..6f7e980b16 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 71e0ab7eda..8cef0be5bb 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SetReaction { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 244d1d16af..68b7920675 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SoftDelete { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index be476da1dc..3bcb75d613 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index c249731f45..53788a2d00 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index d843fd6eb3..1a1c37fbef 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UnsetReaction { +namespace ApiSdk.Chats.Item.Messages.Item.Replies.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 2fd016764d..83a2620227 100644 --- a/src/generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.Replies { +namespace ApiSdk.Chats.Item.Messages.Item.Replies +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class RepliesRequestBuilder : BaseCliRequestBuilder + public class RepliesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Create new navigation property to replies for chats /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new reply to a chatMessage in a specified channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0"; + command.Description = "Create new navigation property to replies for chats"; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -135,14 +135,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -230,7 +229,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -256,7 +257,7 @@ public RepliesRequestBuilder(string rawUrl) : base("{+baseurl}/chats/{chat%2Did} { } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -275,7 +276,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. + /// Create new navigation property to replies for chats /// /// A /// The request body @@ -296,7 +297,7 @@ public RequestInformation ToPostRequestInformation(ChatMessage body, Action - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// public class RepliesRequestBuilderGetQueryParameters { diff --git a/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index f8c2997041..9031911139 100644 --- a/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.Messages.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index b0316d0227..5fcbe7e0bd 100644 --- a/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.SetReaction { +namespace ApiSdk.Chats.Item.Messages.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 5db29dcdd5..aa2102f420 100644 --- a/src/generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.SoftDelete { +namespace ApiSdk.Chats.Item.Messages.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 419f185021..9da8c82a5f 100644 --- a/src/generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.UndoSoftDelete { +namespace ApiSdk.Chats.Item.Messages.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index f4e8b1a505..42a504e0c7 100644 --- a/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.Messages.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.Messages.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index bb58f89592..11d0ca03dc 100644 --- a/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages.Item.UnsetReaction { +namespace ApiSdk.Chats.Item.Messages.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs index b2bdfd0aae..2feb7208f6 100644 --- a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Messages { +namespace ApiSdk.Chats.Item.Messages +{ /// /// Provides operations to manage the messages property of the microsoft.graph.chat entity. /// - public class MessagesRequestBuilder : BaseCliRequestBuilder + public class MessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the messages property of the microsoft.graph.chat entity. @@ -61,14 +62,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0"; + command.Description = "Send a new chatMessage in the specified channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0"; var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") { }; chatIdOption.IsRequired = true; @@ -219,7 +220,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -264,7 +267,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs index 4bd00e0084..4c0586ff56 100644 --- a/src/generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PermissionGrants.Count { +namespace ApiSdk.Chats.Item.PermissionGrants.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 8a82bb85ea..62d3d30abd 100644 --- a/src/generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PermissionGrants.Item { +namespace ApiSdk.Chats.Item.PermissionGrants.Item +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. /// - public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder + public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property permissionGrants for chats diff --git a/src/generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 2ad15ab21b..8f6cb8d528 100644 --- a/src/generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PermissionGrants { +namespace ApiSdk.Chats.Item.PermissionGrants +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. /// - public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder + public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs index 42b50e5d46..84a2db4793 100644 --- a/src/generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PinnedMessages.Count { +namespace ApiSdk.Chats.Item.PinnedMessages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs b/src/generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs index 835726211e..ec00c740d6 100644 --- a/src/generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs +++ b/src/generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PinnedMessages.Item.Message { +namespace ApiSdk.Chats.Item.PinnedMessages.Item.Message +{ /// /// Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. /// - public class MessageRequestBuilder : BaseCliRequestBuilder + public class MessageRequestBuilder : BaseCliRequestBuilder { /// /// Represents details about the chat message that is pinned. diff --git a/src/generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs b/src/generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs index 6b9daf9317..d6f40d2c69 100644 --- a/src/generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs +++ b/src/generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PinnedMessages.Item { +namespace ApiSdk.Chats.Item.PinnedMessages.Item +{ /// /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. /// - public class PinnedChatMessageInfoItemRequestBuilder : BaseCliRequestBuilder + public class PinnedChatMessageInfoItemRequestBuilder : BaseCliRequestBuilder { /// /// Unpin a message from a chat. diff --git a/src/generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs b/src/generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs index 45ae316f6d..47c078964f 100644 --- a/src/generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs +++ b/src/generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.PinnedMessages { +namespace ApiSdk.Chats.Item.PinnedMessages +{ /// /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. /// - public class PinnedMessagesRequestBuilder : BaseCliRequestBuilder + public class PinnedMessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index bd4dbe6891..b3981214cb 100644 --- a/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.SendActivityNotification { - public class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.SendActivityNotification +{ + #pragma warning disable CS1591 + public class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activityType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,13 +88,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activityType", n => { ActivityType = n.GetStringValue(); } }, - {"chainId", n => { ChainId = n.GetLongValue(); } }, - {"previewText", n => { PreviewText = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"recipient", n => { Recipient = n.GetObjectValue(TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, - {"teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - {"templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(ApiSdk.Models.KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"topic", n => { Topic = n.GetObjectValue(TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, + { "activityType", n => { ActivityType = n.GetStringValue(); } }, + { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "previewText", n => { PreviewText = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "recipient", n => { Recipient = n.GetObjectValue(TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, + { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, + { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(ApiSdk.Models.KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "topic", n => { Topic = n.GetObjectValue(TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 89562c3c55..82a0c49c86 100644 --- a/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.SendActivityNotification { +namespace ApiSdk.Chats.Item.SendActivityNotification +{ /// /// Provides operations to call the sendActivityNotification method. /// - public class SendActivityNotificationRequestBuilder : BaseCliRequestBuilder + public class SendActivityNotificationRequestBuilder : BaseCliRequestBuilder { /// /// Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs b/src/generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs index 8639e7c086..ed75492157 100644 --- a/src/generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Tabs.Count { +namespace ApiSdk.Chats.Item.Tabs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index c644822916..7d0969732e 100644 --- a/src/generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Tabs.Item.TeamsApp { +namespace ApiSdk.Chats.Item.Tabs.Item.TeamsApp +{ /// /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. /// - public class TeamsAppRequestBuilder : BaseCliRequestBuilder + public class TeamsAppRequestBuilder : BaseCliRequestBuilder { /// /// The application that is linked to the tab. This can't be changed after tab creation. diff --git a/src/generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 0cc549f167..ce9d6eebd5 100644 --- a/src/generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Tabs.Item { +namespace ApiSdk.Chats.Item.Tabs.Item +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. /// - public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder + public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder { /// /// Remove (unpin) a tab from the specified chat. diff --git a/src/generated/Chats/Item/Tabs/TabsRequestBuilder.cs b/src/generated/Chats/Item/Tabs/TabsRequestBuilder.cs index d495b2579b..d4d2ba87a6 100644 --- a/src/generated/Chats/Item/Tabs/TabsRequestBuilder.cs +++ b/src/generated/Chats/Item/Tabs/TabsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.Tabs { +namespace ApiSdk.Chats.Item.Tabs +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. /// - public class TabsRequestBuilder : BaseCliRequestBuilder + public class TabsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tabs property of the microsoft.graph.chat entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs b/src/generated/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs index 1e234faaad..7c1f47316e 100644 --- a/src/generated/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs +++ b/src/generated/Chats/Item/UnhideForUser/UnhideForUserPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Chats.Item.UnhideForUser { - public class UnhideForUserPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Chats.Item.UnhideForUser +{ + #pragma warning disable CS1591 + public class UnhideForUserPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, + { "user", n => { User = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs b/src/generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs index b2bff976cf..306df18451 100644 --- a/src/generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs +++ b/src/generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Chats.Item.UnhideForUser { +namespace ApiSdk.Chats.Item.UnhideForUser +{ /// /// Provides operations to call the unhideForUser method. /// - public class UnhideForUserRequestBuilder : BaseCliRequestBuilder + public class UnhideForUserRequestBuilder : BaseCliRequestBuilder { /// /// Unhide a chat for a user. diff --git a/src/generated/Communications/CallRecords/CallRecordsRequestBuilder.cs b/src/generated/Communications/CallRecords/CallRecordsRequestBuilder.cs index 48bd99bde5..d8f2a90c46 100644 --- a/src/generated/Communications/CallRecords/CallRecordsRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/CallRecordsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords { +namespace ApiSdk.Communications.CallRecords +{ /// /// Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. /// - public class CallRecordsRequestBuilder : BaseCliRequestBuilder + public class CallRecordsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/CallRecords/Count/CountRequestBuilder.cs b/src/generated/Communications/CallRecords/Count/CountRequestBuilder.cs index c5d2eb52aa..2eedbea269 100644 --- a/src/generated/Communications/CallRecords/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Count { +namespace ApiSdk.Communications.CallRecords.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs index 28563c8ee0..06a32b6160 100644 --- a/src/generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item { +namespace ApiSdk.Communications.CallRecords.Item +{ /// /// Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. /// - public class CallRecordItemRequestBuilder : BaseCliRequestBuilder + public class CallRecordItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property callRecords for communications diff --git a/src/generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs index 7c37efbaa6..84b07fdf89 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions.Count { +namespace ApiSdk.Communications.CallRecords.Item.Sessions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs index 4df111998b..85bbae6b30 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments.Count { +namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs index 0ee376b812..8aa1cd4e3c 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments.Item { +namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments.Item +{ /// /// Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity. /// - public class SegmentItemRequestBuilder : BaseCliRequestBuilder + public class SegmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property segments for communications diff --git a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs index 15a1742345..437a27f895 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments { +namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item.Segments +{ /// /// Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity. /// - public class SegmentsRequestBuilder : BaseCliRequestBuilder + public class SegmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs index 573a279d04..00b6b01d16 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item { +namespace ApiSdk.Communications.CallRecords.Item.Sessions.Item +{ /// /// Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. /// - public class SessionItemRequestBuilder : BaseCliRequestBuilder + public class SessionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sessions for communications diff --git a/src/generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs b/src/generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs index 05f1357c12..1175b70283 100644 --- a/src/generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.Item.Sessions { +namespace ApiSdk.Communications.CallRecords.Item.Sessions +{ /// /// Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. /// - public class SessionsRequestBuilder : BaseCliRequestBuilder + public class SessionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.cs index 72a42aee6a..2e09cafd7b 100644 --- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.cs +++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse.cs @@ -6,8 +6,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime { - public class GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime +{ + #pragma warning disable CS1591 + public class GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectRoutingLogRow.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectRoutingLogRow.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs index 1a67eb8104..fa5c851c2e 100644 --- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs @@ -13,20 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime { +namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime +{ /// /// Provides operations to call the getDirectRoutingCalls method. /// - public class MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getDirectRoutingCalls + /// Get a log of direct routing calls as a collection of directRoutingLogRow entries. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getDirectRoutingCalls"; + command.Description = "Get a log of direct routing calls as a collection of directRoutingLogRow entries."; var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") { }; fromDateTimeOption.IsRequired = true; @@ -93,7 +94,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -119,7 +122,7 @@ public MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateT { } /// - /// Invoke function getDirectRoutingCalls + /// Get a log of direct routing calls as a collection of directRoutingLogRow entries. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getDirectRoutingCalls + /// Get a log of direct routing calls as a collection of directRoutingLogRow entries. /// public class MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse.cs index 3ebd10b7bc..31fed6db1d 100644 --- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse.cs +++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse.cs @@ -6,8 +6,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime { - public class GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime +{ + #pragma warning disable CS1591 + public class GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PstnCallLogRow.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PstnCallLogRow.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs index 475127d98b..6f6d957a79 100644 --- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs +++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs @@ -13,20 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime { +namespace ApiSdk.Communications.CallRecords.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime +{ /// /// Provides operations to call the getPstnCalls method. /// - public class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getPstnCalls + /// Get log of PSTN calls as a collection of pstnCallLogRow entries. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getPstnCalls"; + command.Description = "Get log of PSTN calls as a collection of pstnCallLogRow entries."; var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") { }; fromDateTimeOption.IsRequired = true; @@ -93,7 +94,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -119,7 +122,7 @@ public MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeReques { } /// - /// Invoke function getPstnCalls + /// Get log of PSTN calls as a collection of pstnCallLogRow entries. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getPstnCalls + /// Get log of PSTN calls as a collection of pstnCallLogRow entries. /// public class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/Calls/CallsRequestBuilder.cs b/src/generated/Communications/Calls/CallsRequestBuilder.cs index 501f8fdf48..01114a50bb 100644 --- a/src/generated/Communications/Calls/CallsRequestBuilder.cs +++ b/src/generated/Communications/Calls/CallsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls { +namespace ApiSdk.Communications.Calls +{ /// /// Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity. /// - public class CallsRequestBuilder : BaseCliRequestBuilder + public class CallsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity. @@ -202,7 +203,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Calls/Count/CountRequestBuilder.cs b/src/generated/Communications/Calls/Count/CountRequestBuilder.cs index dad021e8be..4f75eadb76 100644 --- a/src/generated/Communications/Calls/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Calls/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Count { +namespace ApiSdk.Communications.Calls.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewPostRequestBody.cs b/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewPostRequestBody.cs index 0f04497f55..111ea5e09f 100644 --- a/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.AddLargeGalleryView { - public class AddLargeGalleryViewPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.AddLargeGalleryView +{ + #pragma warning disable CS1591 + public class AddLargeGalleryViewPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs b/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs index f1d95c22bc..f09174ab62 100644 --- a/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.AddLargeGalleryView { +namespace ApiSdk.Communications.Calls.Item.AddLargeGalleryView +{ /// /// Provides operations to call the addLargeGalleryView method. /// - public class AddLargeGalleryViewRequestBuilder : BaseCliRequestBuilder + public class AddLargeGalleryViewRequestBuilder : BaseCliRequestBuilder { /// /// Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. diff --git a/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs b/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs index 9eb5c040eb..21786c5841 100644 --- a/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Answer { - public class AnswerPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Answer +{ + #pragma warning disable CS1591 + public class AnswerPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The acceptedModalities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -69,11 +72,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"acceptedModalities", n => { AcceptedModalities = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"callOptions", n => { CallOptions = n.GetObjectValue(IncomingCallOptions.CreateFromDiscriminatorValue); } }, - {"callbackUri", n => { CallbackUri = n.GetStringValue(); } }, - {"mediaConfig", n => { MediaConfig = n.GetObjectValue(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } }, - {"participantCapacity", n => { ParticipantCapacity = n.GetIntValue(); } }, + { "acceptedModalities", n => { AcceptedModalities = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "callOptions", n => { CallOptions = n.GetObjectValue(IncomingCallOptions.CreateFromDiscriminatorValue); } }, + { "callbackUri", n => { CallbackUri = n.GetStringValue(); } }, + { "mediaConfig", n => { MediaConfig = n.GetObjectValue(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } }, + { "participantCapacity", n => { ParticipantCapacity = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs b/src/generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs index 573bb802b7..756e5f33f1 100644 --- a/src/generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Answer { +namespace ApiSdk.Communications.Calls.Item.Answer +{ /// /// Provides operations to call the answer method. /// - public class AnswerRequestBuilder : BaseCliRequestBuilder + public class AnswerRequestBuilder : BaseCliRequestBuilder { /// /// Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. diff --git a/src/generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs b/src/generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs index 8b68cd8d1d..e5dcacf7fa 100644 --- a/src/generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups { +namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups +{ /// /// Provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. /// - public class AudioRoutingGroupsRequestBuilder : BaseCliRequestBuilder + public class AudioRoutingGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs b/src/generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs index 6524caa3be..5c735533ca 100644 --- a/src/generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups.Count { +namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs b/src/generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs index dca0ee942b..d268f36173 100644 --- a/src/generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups.Item { +namespace ApiSdk.Communications.Calls.Item.AudioRoutingGroups.Item +{ /// /// Provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. /// - public class AudioRoutingGroupItemRequestBuilder : BaseCliRequestBuilder + public class AudioRoutingGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete the specified audioRoutingGroup. diff --git a/src/generated/Communications/Calls/Item/CallItemRequestBuilder.cs b/src/generated/Communications/Calls/Item/CallItemRequestBuilder.cs index c11f3c815f..d248681598 100644 --- a/src/generated/Communications/Calls/Item/CallItemRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/CallItemRequestBuilder.cs @@ -33,11 +33,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item { +namespace ApiSdk.Communications.Calls.Item +{ /// /// Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity. /// - public class CallItemRequestBuilder : BaseCliRequestBuilder + public class CallItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addLargeGalleryView method. diff --git a/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingPostRequestBody.cs b/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingPostRequestBody.cs index 62c939fe5f..63e67f7e56 100644 --- a/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.CancelMediaProcessing { - public class CancelMediaProcessingPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.CancelMediaProcessing +{ + #pragma warning disable CS1591 + public class CancelMediaProcessingPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs b/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs index a1f6c5e83b..c633d222ee 100644 --- a/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.CancelMediaProcessing { +namespace ApiSdk.Communications.Calls.Item.CancelMediaProcessing +{ /// /// Provides operations to call the cancelMediaProcessing method. /// - public class CancelMediaProcessingRequestBuilder : BaseCliRequestBuilder + public class CancelMediaProcessingRequestBuilder : BaseCliRequestBuilder { /// /// Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. diff --git a/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRolePostRequestBody.cs b/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRolePostRequestBody.cs index 7764f15557..2075de3831 100644 --- a/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRolePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRolePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.ChangeScreenSharingRole { - public class ChangeScreenSharingRolePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.ChangeScreenSharingRole +{ + #pragma warning disable CS1591 + public class ChangeScreenSharingRolePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -37,7 +40,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"role", n => { Role = n.GetEnumValue(); } }, + { "role", n => { Role = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs b/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs index 15eaa57f3b..803087e0a5 100644 --- a/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.ChangeScreenSharingRole { +namespace ApiSdk.Communications.Calls.Item.ChangeScreenSharingRole +{ /// /// Provides operations to call the changeScreenSharingRole method. /// - public class ChangeScreenSharingRoleRequestBuilder : BaseCliRequestBuilder + public class ChangeScreenSharingRoleRequestBuilder : BaseCliRequestBuilder { /// /// Allow applications to share screen content with the participants of a group call. diff --git a/src/generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs b/src/generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs index 6fca53a851..e89c508ac5 100644 --- a/src/generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions { +namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions +{ /// /// Provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. /// - public class ContentSharingSessionsRequestBuilder : BaseCliRequestBuilder + public class ContentSharingSessionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs b/src/generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs index ec9ab6fb0e..cf5a5d462d 100644 --- a/src/generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions.Count { +namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs b/src/generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs index 6f6ad7080b..0d73dba07d 100644 --- a/src/generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions.Item { +namespace ApiSdk.Communications.Calls.Item.ContentSharingSessions.Item +{ /// /// Provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. /// - public class ContentSharingSessionItemRequestBuilder : BaseCliRequestBuilder + public class ContentSharingSessionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property contentSharingSessions for communications diff --git a/src/generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs b/src/generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs index 05277124fe..b36fa65ff5 100644 --- a/src/generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.KeepAlive { +namespace ApiSdk.Communications.Calls.Item.KeepAlive +{ /// /// Provides operations to call the keepAlive method. /// - public class KeepAliveRequestBuilder : BaseCliRequestBuilder + public class KeepAliveRequestBuilder : BaseCliRequestBuilder { /// /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. diff --git a/src/generated/Communications/Calls/Item/Mute/MutePostRequestBody.cs b/src/generated/Communications/Calls/Item/Mute/MutePostRequestBody.cs index f07da4a3c8..4c249abc36 100644 --- a/src/generated/Communications/Calls/Item/Mute/MutePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Mute/MutePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Mute { - public class MutePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Mute +{ + #pragma warning disable CS1591 + public class MutePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs b/src/generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs index 95a85215a0..04cf5eff93 100644 --- a/src/generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Mute { +namespace ApiSdk.Communications.Calls.Item.Mute +{ /// /// Provides operations to call the mute method. /// - public class MuteRequestBuilder : BaseCliRequestBuilder + public class MuteRequestBuilder : BaseCliRequestBuilder { /// /// Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation diff --git a/src/generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs index c9a39afa7f..1f2b229b8d 100644 --- a/src/generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Operations.Count { +namespace ApiSdk.Communications.Calls.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs b/src/generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs index a8109373fc..dade487137 100644 --- a/src/generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Operations.Item { +namespace ApiSdk.Communications.Calls.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.call entity. /// - public class CommsOperationItemRequestBuilder : BaseCliRequestBuilder + public class CommsOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for communications diff --git a/src/generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs b/src/generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs index 089ec435b6..94385e26d6 100644 --- a/src/generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Operations { +namespace ApiSdk.Communications.Calls.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.call entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.call entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs index 319e1e8edb..071fe0ceea 100644 --- a/src/generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Count { +namespace ApiSdk.Communications.Calls.Item.Participants.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Calls/Item/Participants/Invite/InvitePostRequestBody.cs b/src/generated/Communications/Calls/Item/Participants/Invite/InvitePostRequestBody.cs index d9d1f70930..a69c69f3e1 100644 --- a/src/generated/Communications/Calls/Item/Participants/Invite/InvitePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Participants/Invite/InvitePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Invite { - public class InvitePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Participants.Invite +{ + #pragma warning disable CS1591 + public class InvitePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"participants", n => { Participants = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "participants", n => { Participants = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index ecee9b1ac7..14772fa984 100644 --- a/src/generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Invite { +namespace ApiSdk.Communications.Calls.Item.Participants.Invite +{ /// /// Provides operations to call the invite method. /// - public class InviteRequestBuilder : BaseCliRequestBuilder + public class InviteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. diff --git a/src/generated/Communications/Calls/Item/Participants/Item/Mute/MutePostRequestBody.cs b/src/generated/Communications/Calls/Item/Participants/Item/Mute/MutePostRequestBody.cs index a20195f605..579469be66 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/Mute/MutePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/Mute/MutePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.Mute { - public class MutePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Participants.Item.Mute +{ + #pragma warning disable CS1591 + public class MutePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs index 546753685c..ea181f658e 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.Mute { +namespace ApiSdk.Communications.Calls.Item.Participants.Item.Mute +{ /// /// Provides operations to call the mute method. /// - public class MuteRequestBuilder : BaseCliRequestBuilder + public class MuteRequestBuilder : BaseCliRequestBuilder { /// /// Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. diff --git a/src/generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs index 3043e5de90..2c734e5f84 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item { +namespace ApiSdk.Communications.Calls.Item.Participants.Item +{ /// /// Provides operations to manage the participants property of the microsoft.graph.call entity. /// - public class ParticipantItemRequestBuilder : BaseCliRequestBuilder + public class ParticipantItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. diff --git a/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicPostRequestBody.cs b/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicPostRequestBody.cs index d70c35e3b9..5d61eeded7 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.StartHoldMusic { - public class StartHoldMusicPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Participants.Item.StartHoldMusic +{ + #pragma warning disable CS1591 + public class StartHoldMusicPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"customPrompt", n => { CustomPrompt = n.GetObjectValue(Prompt.CreateFromDiscriminatorValue); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "customPrompt", n => { CustomPrompt = n.GetObjectValue(Prompt.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs index 07e60d91a9..f265570cf8 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.StartHoldMusic { +namespace ApiSdk.Communications.Calls.Item.Participants.Item.StartHoldMusic +{ /// /// Provides operations to call the startHoldMusic method. /// - public class StartHoldMusicRequestBuilder : BaseCliRequestBuilder + public class StartHoldMusicRequestBuilder : BaseCliRequestBuilder { /// /// Put a participant on hold and play music in the background. diff --git a/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicPostRequestBody.cs b/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicPostRequestBody.cs index b353c856ae..923e9cf39b 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.StopHoldMusic { - public class StopHoldMusicPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Participants.Item.StopHoldMusic +{ + #pragma warning disable CS1591 + public class StopHoldMusicPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs index 5b2d6ec490..bc39b35f44 100644 --- a/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants.Item.StopHoldMusic { +namespace ApiSdk.Communications.Calls.Item.Participants.Item.StopHoldMusic +{ /// /// Provides operations to call the stopHoldMusic method. /// - public class StopHoldMusicRequestBuilder : BaseCliRequestBuilder + public class StopHoldMusicRequestBuilder : BaseCliRequestBuilder { /// /// Reincorporate a participant previously put on hold to the call. diff --git a/src/generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs b/src/generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs index f56884cb1f..2f16773f20 100644 --- a/src/generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Participants { +namespace ApiSdk.Communications.Calls.Item.Participants +{ /// /// Provides operations to manage the participants property of the microsoft.graph.call entity. /// - public class ParticipantsRequestBuilder : BaseCliRequestBuilder + public class ParticipantsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the participants property of the microsoft.graph.call entity. @@ -215,7 +216,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptPostRequestBody.cs b/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptPostRequestBody.cs index a68dd062db..e8f873495f 100644 --- a/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.PlayPrompt { - public class PlayPromptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.PlayPrompt +{ + #pragma warning disable CS1591 + public class PlayPromptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"prompts", n => { Prompts = n.GetCollectionOfObjectValues(Prompt.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "prompts", n => { Prompts = n.GetCollectionOfObjectValues(Prompt.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs b/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs index bf75cc84f1..9b2c1612e5 100644 --- a/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.PlayPrompt { +namespace ApiSdk.Communications.Calls.Item.PlayPrompt +{ /// /// Provides operations to call the playPrompt method. /// - public class PlayPromptRequestBuilder : BaseCliRequestBuilder + public class PlayPromptRequestBuilder : BaseCliRequestBuilder { /// /// Play a prompt in the call. For more information about how to handle operations, see commsOperation diff --git a/src/generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs b/src/generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs index 01d0e90baa..9d8e9fcca2 100644 --- a/src/generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.RecordResponse { - public class RecordResponsePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.RecordResponse +{ + #pragma warning disable CS1591 + public class RecordResponsePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -69,14 +72,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"bargeInAllowed", n => { BargeInAllowed = n.GetBoolValue(); } }, - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"initialSilenceTimeoutInSeconds", n => { InitialSilenceTimeoutInSeconds = n.GetIntValue(); } }, - {"maxRecordDurationInSeconds", n => { MaxRecordDurationInSeconds = n.GetIntValue(); } }, - {"maxSilenceTimeoutInSeconds", n => { MaxSilenceTimeoutInSeconds = n.GetIntValue(); } }, - {"playBeep", n => { PlayBeep = n.GetBoolValue(); } }, - {"prompts", n => { Prompts = n.GetCollectionOfObjectValues(Prompt.CreateFromDiscriminatorValue)?.ToList(); } }, - {"stopTones", n => { StopTones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "bargeInAllowed", n => { BargeInAllowed = n.GetBoolValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "initialSilenceTimeoutInSeconds", n => { InitialSilenceTimeoutInSeconds = n.GetIntValue(); } }, + { "maxRecordDurationInSeconds", n => { MaxRecordDurationInSeconds = n.GetIntValue(); } }, + { "maxSilenceTimeoutInSeconds", n => { MaxSilenceTimeoutInSeconds = n.GetIntValue(); } }, + { "playBeep", n => { PlayBeep = n.GetBoolValue(); } }, + { "prompts", n => { Prompts = n.GetCollectionOfObjectValues(Prompt.CreateFromDiscriminatorValue)?.ToList(); } }, + { "stopTones", n => { StopTones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs b/src/generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs index f5abace21b..1c4a6b7cd6 100644 --- a/src/generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.RecordResponse { +namespace ApiSdk.Communications.Calls.Item.RecordResponse +{ /// /// Provides operations to call the recordResponse method. /// - public class RecordResponseRequestBuilder : BaseCliRequestBuilder + public class RecordResponseRequestBuilder : BaseCliRequestBuilder { /// /// Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. diff --git a/src/generated/Communications/Calls/Item/Redirect/RedirectPostRequestBody.cs b/src/generated/Communications/Calls/Item/Redirect/RedirectPostRequestBody.cs index 297ac0dca1..9c9059054c 100644 --- a/src/generated/Communications/Calls/Item/Redirect/RedirectPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Redirect/RedirectPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Redirect { - public class RedirectPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Redirect +{ + #pragma warning disable CS1591 + public class RedirectPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"callbackUri", n => { CallbackUri = n.GetStringValue(); } }, - {"targets", n => { Targets = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"timeout", n => { Timeout = n.GetIntValue(); } }, + { "callbackUri", n => { CallbackUri = n.GetStringValue(); } }, + { "targets", n => { Targets = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "timeout", n => { Timeout = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs b/src/generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs index 6fce51fbd7..8d3d2f5ec8 100644 --- a/src/generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Redirect { +namespace ApiSdk.Communications.Calls.Item.Redirect +{ /// /// Provides operations to call the redirect method. /// - public class RedirectRequestBuilder : BaseCliRequestBuilder + public class RedirectRequestBuilder : BaseCliRequestBuilder { /// /// Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. diff --git a/src/generated/Communications/Calls/Item/Reject/RejectPostRequestBody.cs b/src/generated/Communications/Calls/Item/Reject/RejectPostRequestBody.cs index 9c86793ec7..e1217868f6 100644 --- a/src/generated/Communications/Calls/Item/Reject/RejectPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Reject/RejectPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Reject { - public class RejectPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Reject +{ + #pragma warning disable CS1591 + public class RejectPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"callbackUri", n => { CallbackUri = n.GetStringValue(); } }, - {"reason", n => { Reason = n.GetEnumValue(); } }, + { "callbackUri", n => { CallbackUri = n.GetStringValue(); } }, + { "reason", n => { Reason = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs b/src/generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs index a3e60de1ec..a0e8774003 100644 --- a/src/generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Reject { +namespace ApiSdk.Communications.Calls.Item.Reject +{ /// /// Provides operations to call the reject method. /// - public class RejectRequestBuilder : BaseCliRequestBuilder + public class RejectRequestBuilder : BaseCliRequestBuilder { /// /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. diff --git a/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesPostRequestBody.cs b/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesPostRequestBody.cs index 4a4e16cc3d..34b22e0d52 100644 --- a/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.SendDtmfTones { - public class SendDtmfTonesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.SendDtmfTones +{ + #pragma warning disable CS1591 + public class SendDtmfTonesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"delayBetweenTonesMs", n => { DelayBetweenTonesMs = n.GetIntValue(); } }, - {"tones", n => { Tones = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "delayBetweenTonesMs", n => { DelayBetweenTonesMs = n.GetIntValue(); } }, + { "tones", n => { Tones = n.GetCollectionOfEnumValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesRequestBuilder.cs b/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesRequestBuilder.cs index 6b4cb5d358..092b3f436d 100644 --- a/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/SendDtmfTones/SendDtmfTonesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.SendDtmfTones { +namespace ApiSdk.Communications.Calls.Item.SendDtmfTones +{ /// /// Provides operations to call the sendDtmfTones method. /// - public class SendDtmfTonesRequestBuilder : BaseCliRequestBuilder + public class SendDtmfTonesRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sendDtmfTones diff --git a/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToTonePostRequestBody.cs b/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToTonePostRequestBody.cs index e61d3c7ecc..241b7b95c4 100644 --- a/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToTonePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToTonePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.SubscribeToTone { - public class SubscribeToTonePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.SubscribeToTone +{ + #pragma warning disable CS1591 + public class SubscribeToTonePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs b/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs index 95c08695ae..639c060a95 100644 --- a/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.SubscribeToTone { +namespace ApiSdk.Communications.Calls.Item.SubscribeToTone +{ /// /// Provides operations to call the subscribeToTone method. /// - public class SubscribeToToneRequestBuilder : BaseCliRequestBuilder + public class SubscribeToToneRequestBuilder : BaseCliRequestBuilder { /// /// Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'. diff --git a/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs b/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs index 4107461760..b3abb38a9d 100644 --- a/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Transfer { - public class TransferPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Transfer +{ + #pragma warning disable CS1591 + public class TransferPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"transferTarget", n => { TransferTarget = n.GetObjectValue(InvitationParticipantInfo.CreateFromDiscriminatorValue); } }, - {"transferee", n => { Transferee = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } }, + { "transferTarget", n => { TransferTarget = n.GetObjectValue(InvitationParticipantInfo.CreateFromDiscriminatorValue); } }, + { "transferee", n => { Transferee = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs b/src/generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs index 213aaa8960..a965f7d1aa 100644 --- a/src/generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Transfer { +namespace ApiSdk.Communications.Calls.Item.Transfer +{ /// /// Provides operations to call the transfer method. /// - public class TransferRequestBuilder : BaseCliRequestBuilder + public class TransferRequestBuilder : BaseCliRequestBuilder { /// /// Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. diff --git a/src/generated/Communications/Calls/Item/Unmute/UnmutePostRequestBody.cs b/src/generated/Communications/Calls/Item/Unmute/UnmutePostRequestBody.cs index 9fa7c79488..ec41a60f52 100644 --- a/src/generated/Communications/Calls/Item/Unmute/UnmutePostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/Unmute/UnmutePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.Unmute { - public class UnmutePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.Unmute +{ + #pragma warning disable CS1591 + public class UnmutePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs b/src/generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs index 24b476c438..b3f298d6df 100644 --- a/src/generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.Unmute { +namespace ApiSdk.Communications.Calls.Item.Unmute +{ /// /// Provides operations to call the unmute method. /// - public class UnmuteRequestBuilder : BaseCliRequestBuilder + public class UnmuteRequestBuilder : BaseCliRequestBuilder { /// /// Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. diff --git a/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusPostRequestBody.cs b/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusPostRequestBody.cs index 589d33a650..e5b3b61f6e 100644 --- a/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusPostRequestBody.cs +++ b/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.Item.UpdateRecordingStatus { - public class UpdateRecordingStatusPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.Item.UpdateRecordingStatus +{ + #pragma warning disable CS1591 + public class UpdateRecordingStatusPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs b/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs index d37a441ea0..a1812ff967 100644 --- a/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs +++ b/src/generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.Item.UpdateRecordingStatus { +namespace ApiSdk.Communications.Calls.Item.UpdateRecordingStatus +{ /// /// Provides operations to call the updateRecordingStatus method. /// - public class UpdateRecordingStatusRequestBuilder : BaseCliRequestBuilder + public class UpdateRecordingStatusRequestBuilder : BaseCliRequestBuilder { /// /// Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. diff --git a/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityPostRequestBody.cs b/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityPostRequestBody.cs index dbbce1986d..32ee278c82 100644 --- a/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityPostRequestBody.cs +++ b/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Calls.LogTeleconferenceDeviceQuality { - public class LogTeleconferenceDeviceQualityPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Calls.LogTeleconferenceDeviceQuality +{ + #pragma warning disable CS1591 + public class LogTeleconferenceDeviceQualityPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"quality", n => { Quality = n.GetObjectValue(TeleconferenceDeviceQuality.CreateFromDiscriminatorValue); } }, + { "quality", n => { Quality = n.GetObjectValue(TeleconferenceDeviceQuality.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs b/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs index dc9a6b5390..6aa24eb228 100644 --- a/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs +++ b/src/generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Calls.LogTeleconferenceDeviceQuality { +namespace ApiSdk.Communications.Calls.LogTeleconferenceDeviceQuality +{ /// /// Provides operations to call the logTeleconferenceDeviceQuality method. /// - public class LogTeleconferenceDeviceQualityRequestBuilder : BaseCliRequestBuilder + public class LogTeleconferenceDeviceQualityRequestBuilder : BaseCliRequestBuilder { /// /// Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. diff --git a/src/generated/Communications/CommunicationsRequestBuilder.cs b/src/generated/Communications/CommunicationsRequestBuilder.cs index bd2178be05..f920fc6cc7 100644 --- a/src/generated/Communications/CommunicationsRequestBuilder.cs +++ b/src/generated/Communications/CommunicationsRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications { +namespace ApiSdk.Communications +{ /// /// Provides operations to manage the cloudCommunications singleton. /// - public class CommunicationsRequestBuilder : BaseCliRequestBuilder + public class CommunicationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. diff --git a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostRequestBody.cs b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostRequestBody.cs index e3f51541b5..6e6f0de2e8 100644 --- a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostRequestBody.cs +++ b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.GetPresencesByUserId { - public class GetPresencesByUserIdPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.GetPresencesByUserId +{ + #pragma warning disable CS1591 + public class GetPresencesByUserIdPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostResponse.cs b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostResponse.cs index 97b3e22076..d2417010bc 100644 --- a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostResponse.cs +++ b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.GetPresencesByUserId { - public class GetPresencesByUserIdPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Communications.GetPresencesByUserId +{ + #pragma warning disable CS1591 + public class GetPresencesByUserIdPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Presence.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Presence.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs index 8684e78f17..89f42b7d9e 100644 --- a/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs +++ b/src/generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.GetPresencesByUserId { +namespace ApiSdk.Communications.GetPresencesByUserId +{ /// /// Provides operations to call the getPresencesByUserId method. /// - public class GetPresencesByUserIdRequestBuilder : BaseCliRequestBuilder + public class GetPresencesByUserIdRequestBuilder : BaseCliRequestBuilder { /// /// Get the presence information for multiple users. @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs index 5652fd94a5..7cfe32d250 100644 --- a/src/generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Count { +namespace ApiSdk.Communications.OnlineMeetings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs b/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs index a36306ff67..da4d6bafba 100644 --- a/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs +++ b/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.OnlineMeetings.CreateOrGet { - public class CreateOrGetPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.OnlineMeetings.CreateOrGet +{ + #pragma warning disable CS1591 + public class CreateOrGetPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -71,12 +74,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"chatInfo", n => { ChatInfo = n.GetObjectValue(ApiSdk.Models.ChatInfo.CreateFromDiscriminatorValue); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"participants", n => { Participants = n.GetObjectValue(MeetingParticipants.CreateFromDiscriminatorValue); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, + { "chatInfo", n => { ChatInfo = n.GetObjectValue(ApiSdk.Models.ChatInfo.CreateFromDiscriminatorValue); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "participants", n => { Participants = n.GetObjectValue(MeetingParticipants.CreateFromDiscriminatorValue); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs index 3dffd812ec..79b4a47835 100644 --- a/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.CreateOrGet { +namespace ApiSdk.Communications.OnlineMeetings.CreateOrGet +{ /// /// Provides operations to call the createOrGet method. /// - public class CreateOrGetRequestBuilder : BaseCliRequestBuilder + public class CreateOrGetRequestBuilder : BaseCliRequestBuilder { /// /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs index f820eb09c5..17ff39f362 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports +{ /// /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. /// - public class AttendanceReportsRequestBuilder : BaseCliRequestBuilder + public class AttendanceReportsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs index 3c08fd0d42..c12dc447b5 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Count { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs index 5bef7b365b..bd0725aa82 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords +{ /// /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. /// - public class AttendanceRecordsRequestBuilder : BaseCliRequestBuilder + public class AttendanceRecordsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of attendanceRecord objects and their properties. - /// Find more info here + /// List of attendance records of an attendance report. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of attendanceRecord objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0"; + command.Description = "List of attendance records of an attendance report. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public AttendanceRecordsRequestBuilder(string rawUrl) : base("{+baseurl}/communi { } /// - /// Get a list of attendanceRecord objects and their properties. + /// List of attendance records of an attendance report. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(AttendanceRecord body, Action return requestInfo; } /// - /// Get a list of attendanceRecord objects and their properties. + /// List of attendance records of an attendance report. Read-only. /// public class AttendanceRecordsRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs index 2c0e25ee59..dc8fbe4b15 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs index fc5cf2e378..bf94f2b06f 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item.AttendanceRecords.Item +{ /// /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. /// - public class AttendanceRecordItemRequestBuilder : BaseCliRequestBuilder + public class AttendanceRecordItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attendanceRecords for communications diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs index bc1b44e725..b87b99671b 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendanceReports.Item +{ /// /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. /// - public class MeetingAttendanceReportItemRequestBuilder : BaseCliRequestBuilder + public class MeetingAttendanceReportItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. diff --git a/src/generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index 899090401e..b466229113 100644 --- a/src/generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -13,21 +13,56 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.AttendeeReport { +namespace ApiSdk.Communications.OnlineMeetings.Item.AttendeeReport +{ /// /// Provides operations to manage the media for the cloudCommunications entity. /// - public class AttendeeReportRequestBuilder : BaseCliRequestBuilder + public class AttendeeReportRequestBuilder : BaseCliRequestBuilder { /// - /// Get attendeeReport for the navigation property onlineMeetings from communications - /// Find more info here + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream of the attendee report of a Microsoft Teams live event. Read-only."; + var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { + }; + onlineMeetingIdOption.IsRequired = true; + command.AddOption(onlineMeetingIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var onlineMeetingId = invocationContext.ParseResult.GetValueForOption(onlineMeetingIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (onlineMeetingId is not null) requestInfo.PathParameters.Add("onlineMeeting%2Did", onlineMeetingId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get attendeeReport for the navigation property onlineMeetings from communications\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onlinemeeting-get?view=graph-rest-1.0"; + command.Description = "The content stream of the attendee report of a Microsoft Teams live event. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -61,13 +96,13 @@ public Command BuildGetCommand() return command; } /// - /// Update attendeeReport for the navigation property onlineMeetings in communications + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update attendeeReport for the navigation property onlineMeetings in communications"; + command.Description = "The content stream of the attendee report of a Microsoft Teams live event. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -125,7 +160,26 @@ public AttendeeReportRequestBuilder(string rawUrl) : base("{+baseurl}/communicat { } /// - /// Get attendeeReport for the navigation property onlineMeetings from communications + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -144,7 +198,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update attendeeReport for the navigation property onlineMeetings in communications + /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. /// /// A /// Binary request body diff --git a/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs b/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs index 884c775682..3e784227c2 100644 --- a/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs +++ b/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl { - public class GetVirtualAppointmentJoinWebUrlGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl +{ + #pragma warning disable CS1591 + public class GetVirtualAppointmentJoinWebUrlGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs index fcd2f8a69d..15e1b7aabb 100644 --- a/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl { +namespace ApiSdk.Communications.OnlineMeetings.Item.GetVirtualAppointmentJoinWebUrl +{ /// /// Provides operations to call the getVirtualAppointmentJoinWebUrl method. /// - public class GetVirtualAppointmentJoinWebUrlRequestBuilder : BaseCliRequestBuilder + public class GetVirtualAppointmentJoinWebUrlRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getVirtualAppointmentJoinWebUrl + /// Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getVirtualAppointmentJoinWebUrl"; + command.Description = "Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-1.0"; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -72,7 +74,7 @@ public GetVirtualAppointmentJoinWebUrlRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Invoke function getVirtualAppointmentJoinWebUrl + /// Get a join web URL for a Microsoft Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index c837dd244d..4893de9dff 100644 --- a/src/generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item { +namespace ApiSdk.Communications.OnlineMeetings.Item +{ /// /// Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. /// - public class OnlineMeetingItemRequestBuilder : BaseCliRequestBuilder + public class OnlineMeetingItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. @@ -64,6 +65,7 @@ public Command BuildAttendeeReportNavCommand() command.Description = "Provides operations to manage the media for the cloudCommunications entity."; var builder = new AttendeeReportRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs index e00dece404..10a1a1a6b5 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Recordings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Count { +namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs index c94bd2aa16..3d6c6c1b4f 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Item { +namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Item +{ /// /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. /// - public class CallRecordingItemRequestBuilder : BaseCliRequestBuilder + public class CallRecordingItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the cloudCommunications entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the cloudCommunications entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -81,14 +83,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. - /// Find more info here + /// The recordings of an online meeting. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0"; + command.Description = "The recordings of an online meeting. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -230,7 +231,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// The recordings of an online meeting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +271,7 @@ public RequestInformation ToPatchRequestInformation(CallRecording body, Action - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// The recordings of an online meeting. Read-only. /// public class CallRecordingItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs index 394d219ea8..28686fa91c 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Item.Content { +namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings.Item.Content +{ /// /// Provides operations to manage the media for the cloudCommunications entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content of the recording. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content of the recording. Read-only."; + var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { + }; + onlineMeetingIdOption.IsRequired = true; + command.AddOption(onlineMeetingIdOption); + var callRecordingIdOption = new Option("--call-recording-id", description: "The unique identifier of callRecording") { + }; + callRecordingIdOption.IsRequired = true; + command.AddOption(callRecordingIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var onlineMeetingId = invocationContext.ParseResult.GetValueForOption(onlineMeetingIdOption); + var callRecordingId = invocationContext.ParseResult.GetValueForOption(callRecordingIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (onlineMeetingId is not null) requestInfo.PathParameters.Add("onlineMeeting%2Did", onlineMeetingId); + if (callRecordingId is not null) requestInfo.PathParameters.Add("callRecording%2Did", callRecordingId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content of the recording. Read-only. /// @@ -140,6 +182,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/communications/on /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the recording. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs index 948fc36c70..a50fd42153 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings { +namespace ApiSdk.Communications.OnlineMeetings.Item.Recordings +{ /// /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. /// - public class RecordingsRequestBuilder : BaseCliRequestBuilder + public class RecordingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. @@ -106,13 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// The recordings of an online meeting. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording."; + command.Description = "The recordings of an online meeting. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +223,7 @@ public RecordingsRequestBuilder(string rawUrl) : base("{+baseurl}/communications { } /// - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// The recordings of an online meeting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +263,7 @@ public RequestInformation ToPostRequestInformation(CallRecording body, Action - /// Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + /// The recordings of an online meeting. Read-only. /// public class RecordingsRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs index fe49380f32..7f1b8b8de6 100644 --- a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs +++ b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentReminderSms { - public class SendVirtualAppointmentReminderSmsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentReminderSms +{ + #pragma warning disable CS1591 + public class SendVirtualAppointmentReminderSmsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attendees", n => { Attendees = n.GetCollectionOfObjectValues(AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"remindBeforeTimeInMinutesType", n => { RemindBeforeTimeInMinutesType = n.GetEnumValue(); } }, + { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "remindBeforeTimeInMinutesType", n => { RemindBeforeTimeInMinutesType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs index e903273c64..a0f86e3acc 100644 --- a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentReminderSms/SendVirtualAppointmentReminderSmsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentReminderSms { +namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentReminderSms +{ /// /// Provides operations to call the sendVirtualAppointmentReminderSms method. /// - public class SendVirtualAppointmentReminderSmsRequestBuilder : BaseCliRequestBuilder + public class SendVirtualAppointmentReminderSmsRequestBuilder : BaseCliRequestBuilder { /// /// Send an SMS reminder to external attendees for a Teams virtual appointment. This feature requires Teams premium and attendees must have a valid United States phone number to receive SMS notifications. diff --git a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs index 4f32e75b0f..f505c3efdb 100644 --- a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs +++ b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentSms { - public class SendVirtualAppointmentSmsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentSms +{ + #pragma warning disable CS1591 + public class SendVirtualAppointmentSmsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attendees", n => { Attendees = n.GetCollectionOfObjectValues(AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"messageType", n => { MessageType = n.GetEnumValue(); } }, + { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(AttendeeNotificationInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "messageType", n => { MessageType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs index 9afb256cde..a3c7fdf00a 100644 --- a/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/SendVirtualAppointmentSms/SendVirtualAppointmentSmsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentSms { +namespace ApiSdk.Communications.OnlineMeetings.Item.SendVirtualAppointmentSms +{ /// /// Provides operations to call the sendVirtualAppointmentSms method. /// - public class SendVirtualAppointmentSmsRequestBuilder : BaseCliRequestBuilder + public class SendVirtualAppointmentSmsRequestBuilder : BaseCliRequestBuilder { /// /// Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications. diff --git a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs index 7c4549d16f..b2c632e2c3 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Count { +namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs index e8cb7076ea..a785487065 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item { +namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item +{ /// /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. /// - public class CallTranscriptItemRequestBuilder : BaseCliRequestBuilder + public class CallTranscriptItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the cloudCommunications entity. @@ -32,6 +33,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the cloudCommunications entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -82,14 +84,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. - /// Find more info here + /// The transcripts of an online meeting. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0"; + command.Description = "The transcripts of an online meeting. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -150,6 +151,7 @@ public Command BuildMetadataContentNavCommand() command.Description = "Provides operations to manage the media for the cloudCommunications entity."; var builder = new MetadataContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -249,7 +251,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// The transcripts of an online meeting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -289,7 +291,7 @@ public RequestInformation ToPatchRequestInformation(CallTranscript body, Action< return requestInfo; } /// - /// Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + /// The transcripts of an online meeting. Read-only. /// public class CallTranscriptItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs index c332d858f1..22704d9d6b 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item.Content { +namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item.Content +{ /// /// Provides operations to manage the media for the cloudCommunications entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content of the transcript. Read-only. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content of the transcript. Read-only."; + var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { + }; + onlineMeetingIdOption.IsRequired = true; + command.AddOption(onlineMeetingIdOption); + var callTranscriptIdOption = new Option("--call-transcript-id", description: "The unique identifier of callTranscript") { + }; + callTranscriptIdOption.IsRequired = true; + command.AddOption(callTranscriptIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var onlineMeetingId = invocationContext.ParseResult.GetValueForOption(onlineMeetingIdOption); + var callTranscriptId = invocationContext.ParseResult.GetValueForOption(callTranscriptIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (onlineMeetingId is not null) requestInfo.PathParameters.Add("onlineMeeting%2Did", onlineMeetingId); + if (callTranscriptId is not null) requestInfo.PathParameters.Add("callTranscript%2Did", callTranscriptId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content of the transcript. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content of the transcript. Read-only.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0"; + command.Description = "The content of the transcript. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -141,6 +182,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/communications/on /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content of the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs index 17579c6f87..0cfdf2d8ec 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.cs @@ -13,21 +13,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item.MetadataContent { +namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts.Item.MetadataContent +{ /// /// Provides operations to manage the media for the cloudCommunications entity. /// - public class MetadataContentRequestBuilder : BaseCliRequestBuilder + public class MetadataContentRequestBuilder : BaseCliRequestBuilder { /// /// The time-aligned metadata of the utterances in the transcript. Read-only. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The time-aligned metadata of the utterances in the transcript. Read-only."; + var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { + }; + onlineMeetingIdOption.IsRequired = true; + command.AddOption(onlineMeetingIdOption); + var callTranscriptIdOption = new Option("--call-transcript-id", description: "The unique identifier of callTranscript") { + }; + callTranscriptIdOption.IsRequired = true; + command.AddOption(callTranscriptIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var onlineMeetingId = invocationContext.ParseResult.GetValueForOption(onlineMeetingIdOption); + var callTranscriptId = invocationContext.ParseResult.GetValueForOption(callTranscriptIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (onlineMeetingId is not null) requestInfo.PathParameters.Add("onlineMeeting%2Did", onlineMeetingId); + if (callTranscriptId is not null) requestInfo.PathParameters.Add("callTranscript%2Did", callTranscriptId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The time-aligned metadata of the utterances in the transcript. Read-only.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0"; + command.Description = "The time-aligned metadata of the utterances in the transcript. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -142,6 +183,25 @@ public MetadataContentRequestBuilder(string rawUrl) : base("{+baseurl}/communica /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time-aligned metadata of the utterances in the transcript. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs index c92acdd050..ca6bf2cde5 100644 --- a/src/generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts { +namespace ApiSdk.Communications.OnlineMeetings.Item.Transcripts +{ /// /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. /// - public class TranscriptsRequestBuilder : BaseCliRequestBuilder + public class TranscriptsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. @@ -107,14 +108,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. - /// Find more info here + /// The transcripts of an online meeting. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0"; + command.Description = "The transcripts of an online meeting. Read-only."; var onlineMeetingIdOption = new Option("--online-meeting-id", description: "The unique identifier of onlineMeeting") { }; onlineMeetingIdOption.IsRequired = true; @@ -196,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -222,7 +224,7 @@ public TranscriptsRequestBuilder(string rawUrl) : base("{+baseurl}/communication { } /// - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. + /// The transcripts of an online meeting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +264,7 @@ public RequestInformation ToPostRequestInformation(CallTranscript body, Action - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. + /// The transcripts of an online meeting. Read-only. /// public class TranscriptsRequestBuilderGetQueryParameters { diff --git a/src/generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 3ca8389de0..082a91e339 100644 --- a/src/generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.OnlineMeetings { +namespace ApiSdk.Communications.OnlineMeetings +{ /// /// Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. /// - public class OnlineMeetingsRequestBuilder : BaseCliRequestBuilder + public class OnlineMeetingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Communications/Presences/Count/CountRequestBuilder.cs b/src/generated/Communications/Presences/Count/CountRequestBuilder.cs index 131eb9130f..d9b67d4499 100644 --- a/src/generated/Communications/Presences/Count/CountRequestBuilder.cs +++ b/src/generated/Communications/Presences/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Count { +namespace ApiSdk.Communications.Presences.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Communications/Presences/Item/ClearPresence/ClearPresencePostRequestBody.cs b/src/generated/Communications/Presences/Item/ClearPresence/ClearPresencePostRequestBody.cs index f94f9ccf9d..80fca0ee32 100644 --- a/src/generated/Communications/Presences/Item/ClearPresence/ClearPresencePostRequestBody.cs +++ b/src/generated/Communications/Presences/Item/ClearPresence/ClearPresencePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Presences.Item.ClearPresence { - public class ClearPresencePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Presences.Item.ClearPresence +{ + #pragma warning disable CS1591 + public class ClearPresencePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"sessionId", n => { SessionId = n.GetStringValue(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs b/src/generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs index 1727a05f40..882641e5a1 100644 --- a/src/generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item.ClearPresence { +namespace ApiSdk.Communications.Presences.Item.ClearPresence +{ /// /// Provides operations to call the clearPresence method. /// - public class ClearPresenceRequestBuilder : BaseCliRequestBuilder + public class ClearPresenceRequestBuilder : BaseCliRequestBuilder { /// /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. diff --git a/src/generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs b/src/generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs index c6d9d68029..02147bd5e3 100644 --- a/src/generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item.ClearUserPreferredPresence { +namespace ApiSdk.Communications.Presences.Item.ClearUserPreferredPresence +{ /// /// Provides operations to call the clearUserPreferredPresence method. /// - public class ClearUserPreferredPresenceRequestBuilder : BaseCliRequestBuilder + public class ClearUserPreferredPresenceRequestBuilder : BaseCliRequestBuilder { /// /// Clear the preferred availability and activity status for a user. diff --git a/src/generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs b/src/generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs index 9eae53db95..c5086fa5ba 100644 --- a/src/generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item { +namespace ApiSdk.Communications.Presences.Item +{ /// /// Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity. /// - public class PresenceItemRequestBuilder : BaseCliRequestBuilder + public class PresenceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clearPresence method. diff --git a/src/generated/Communications/Presences/Item/SetPresence/SetPresencePostRequestBody.cs b/src/generated/Communications/Presences/Item/SetPresence/SetPresencePostRequestBody.cs index 1d3f81f580..33879d67db 100644 --- a/src/generated/Communications/Presences/Item/SetPresence/SetPresencePostRequestBody.cs +++ b/src/generated/Communications/Presences/Item/SetPresence/SetPresencePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Presences.Item.SetPresence { - public class SetPresencePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Presences.Item.SetPresence +{ + #pragma warning disable CS1591 + public class SetPresencePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activity property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activity", n => { Activity = n.GetStringValue(); } }, - {"availability", n => { Availability = n.GetStringValue(); } }, - {"expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, + { "activity", n => { Activity = n.GetStringValue(); } }, + { "availability", n => { Availability = n.GetStringValue(); } }, + { "expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs b/src/generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs index 807e69c4c4..0df372f62e 100644 --- a/src/generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item.SetPresence { +namespace ApiSdk.Communications.Presences.Item.SetPresence +{ /// /// Provides operations to call the setPresence method. /// - public class SetPresenceRequestBuilder : BaseCliRequestBuilder + public class SetPresenceRequestBuilder : BaseCliRequestBuilder { /// /// Set the state of a user's presence session as an application. diff --git a/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.cs b/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.cs index 778ac2d7de..969ac2483a 100644 --- a/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.cs +++ b/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Presences.Item.SetStatusMessage { - public class SetStatusMessagePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Presences.Item.SetStatusMessage +{ + #pragma warning disable CS1591 + public class SetStatusMessagePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"statusMessage", n => { StatusMessage = n.GetObjectValue(PresenceStatusMessage.CreateFromDiscriminatorValue); } }, + { "statusMessage", n => { StatusMessage = n.GetObjectValue(PresenceStatusMessage.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs b/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs index c9d98e034c..87f00c0210 100644 --- a/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item.SetStatusMessage { +namespace ApiSdk.Communications.Presences.Item.SetStatusMessage +{ /// /// Provides operations to call the setStatusMessage method. /// - public class SetStatusMessageRequestBuilder : BaseCliRequestBuilder + public class SetStatusMessageRequestBuilder : BaseCliRequestBuilder { /// /// Set a presence status message for a user. An optional expiration date and time can be supplied. diff --git a/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs b/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs index 191415655e..a85e29dbeb 100644 --- a/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs +++ b/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresencePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Communications.Presences.Item.SetUserPreferredPresence { - public class SetUserPreferredPresencePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Communications.Presences.Item.SetUserPreferredPresence +{ + #pragma warning disable CS1591 + public class SetUserPreferredPresencePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activity property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activity", n => { Activity = n.GetStringValue(); } }, - {"availability", n => { Availability = n.GetStringValue(); } }, - {"expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, + { "activity", n => { Activity = n.GetStringValue(); } }, + { "availability", n => { Availability = n.GetStringValue(); } }, + { "expirationDuration", n => { ExpirationDuration = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs b/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs index e5b804bc14..ab9c02e498 100644 --- a/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs +++ b/src/generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences.Item.SetUserPreferredPresence { +namespace ApiSdk.Communications.Presences.Item.SetUserPreferredPresence +{ /// /// Provides operations to call the setUserPreferredPresence method. /// - public class SetUserPreferredPresenceRequestBuilder : BaseCliRequestBuilder + public class SetUserPreferredPresenceRequestBuilder : BaseCliRequestBuilder { /// /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. diff --git a/src/generated/Communications/Presences/PresencesRequestBuilder.cs b/src/generated/Communications/Presences/PresencesRequestBuilder.cs index baa7666dc4..9e049c784c 100644 --- a/src/generated/Communications/Presences/PresencesRequestBuilder.cs +++ b/src/generated/Communications/Presences/PresencesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Communications.Presences { +namespace ApiSdk.Communications.Presences +{ /// /// Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity. /// - public class PresencesRequestBuilder : BaseCliRequestBuilder + public class PresencesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Compliance/ComplianceRequestBuilder.cs b/src/generated/Compliance/ComplianceRequestBuilder.cs index fe78ccfae6..16a322fe33 100644 --- a/src/generated/Compliance/ComplianceRequestBuilder.cs +++ b/src/generated/Compliance/ComplianceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Compliance { +namespace ApiSdk.Compliance +{ /// /// Provides operations to manage the compliance singleton. /// - public class ComplianceRequestBuilder : BaseCliRequestBuilder + public class ComplianceRequestBuilder : BaseCliRequestBuilder { /// /// Get compliance diff --git a/src/generated/Connections/ConnectionsRequestBuilder.cs b/src/generated/Connections/ConnectionsRequestBuilder.cs index 0f7924dcaf..95a2f06bdd 100644 --- a/src/generated/Connections/ConnectionsRequestBuilder.cs +++ b/src/generated/Connections/ConnectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections { +namespace ApiSdk.Connections +{ /// /// Provides operations to manage the collection of externalConnection entities. /// - public class ConnectionsRequestBuilder : BaseCliRequestBuilder + public class ConnectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of externalConnection entities. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Connections/Count/CountRequestBuilder.cs b/src/generated/Connections/Count/CountRequestBuilder.cs index b5aa0acd58..d71a41e073 100644 --- a/src/generated/Connections/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Count { +namespace ApiSdk.Connections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs b/src/generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs index 300c31434a..92f173c5f9 100644 --- a/src/generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs +++ b/src/generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item { +namespace ApiSdk.Connections.Item +{ /// /// Provides operations to manage the collection of externalConnection entities. /// - public class ExternalConnectionItemRequestBuilder : BaseCliRequestBuilder + public class ExternalConnectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from connections diff --git a/src/generated/Connections/Item/Groups/Count/CountRequestBuilder.cs b/src/generated/Connections/Item/Groups/Count/CountRequestBuilder.cs index dd4dead371..8c75bf25d6 100644 --- a/src/generated/Connections/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups.Count { +namespace ApiSdk.Connections.Item.Groups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/Groups/GroupsRequestBuilder.cs b/src/generated/Connections/Item/Groups/GroupsRequestBuilder.cs index 567a50844e..78435dac17 100644 --- a/src/generated/Connections/Item/Groups/GroupsRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/GroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups { +namespace ApiSdk.Connections.Item.Groups +{ /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class GroupsRequestBuilder : BaseCliRequestBuilder + public class GroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new externalGroup object. - /// Find more info here + /// Create new navigation property to groups for connections /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new externalGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-post-groups?view=graph-rest-1.0"; + command.Description = "Create new navigation property to groups for connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -107,13 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an externalGroup object. + /// Get groups from connections /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an externalGroup object."; + command.Description = "Get groups from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -195,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -221,7 +223,7 @@ public GroupsRequestBuilder(string rawUrl) : base("{+baseurl}/connections/{exter { } /// - /// Get an externalGroup object. + /// Get groups from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -240,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalGroup object. + /// Create new navigation property to groups for connections /// /// A /// The request body @@ -261,7 +263,7 @@ public RequestInformation ToPostRequestInformation(ExternalGroup body, Action - /// Get an externalGroup object. + /// Get groups from connections /// public class GroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs b/src/generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs index 33ca0d39bd..683b3632ab 100644 --- a/src/generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups.Item { +namespace ApiSdk.Connections.Item.Groups.Item +{ /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ExternalGroupItemRequestBuilder : BaseCliRequestBuilder + public class ExternalGroupItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an externalGroup object. - /// Find more info here + /// Delete navigation property groups for connections /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an externalGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property groups for connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -64,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an externalGroup object. - /// Find more info here + /// Get groups from connections /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an externalGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-get?view=graph-rest-1.0"; + command.Description = "Get groups from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -150,14 +149,13 @@ public Command BuildMembersNavCommand() return command; } /// - /// Update the properties of an externalGroup object. - /// Find more info here + /// Update the navigation property groups in connections /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an externalGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property groups in connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -222,7 +220,7 @@ public ExternalGroupItemRequestBuilder(string rawUrl) : base("{+baseurl}/connect { } /// - /// Delete an externalGroup object. + /// Delete navigation property groups for connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +239,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an externalGroup object. + /// Get groups from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an externalGroup object. + /// Update the navigation property groups in connections /// /// A /// The request body @@ -281,7 +279,7 @@ public RequestInformation ToPatchRequestInformation(ExternalGroup body, Action - /// Get an externalGroup object. + /// Get groups from connections /// public class ExternalGroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs index 924e38e1b2..d053c49c1c 100644 --- a/src/generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups.Item.Members.Count { +namespace ApiSdk.Connections.Item.Groups.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs b/src/generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs index ccfbf11758..bda6071fee 100644 --- a/src/generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups.Item.Members.Item { +namespace ApiSdk.Connections.Item.Groups.Item.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. /// - public class IdentityItemRequestBuilder : BaseCliRequestBuilder + public class IdentityItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an identity resource to remove the corresponding member from an externalGroup. - /// Find more info here + /// Delete navigation property members for connections /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an identity resource to remove the corresponding member from an externalGroup.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -210,7 +210,7 @@ public IdentityItemRequestBuilder(string rawUrl) : base("{+baseurl}/connections/ { } /// - /// Delete an identity resource to remove the corresponding member from an externalGroup. + /// Delete navigation property members for connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs b/src/generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs index d6182fc92f..ed83e40a58 100644 --- a/src/generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Groups.Item.Members { +namespace ApiSdk.Connections.Item.Groups.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an identity resource for a new member in an externalGroup. - /// Find more info here + /// Create new navigation property to members for connections /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an identity resource for a new member in an externalGroup.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an identity resource for a new member in an externalGroup. + /// Create new navigation property to members for connections /// /// A /// The request body diff --git a/src/generated/Connections/Item/Items/Count/CountRequestBuilder.cs b/src/generated/Connections/Item/Items/Count/CountRequestBuilder.cs index c66deaf537..1b2ba1f3f3 100644 --- a/src/generated/Connections/Item/Items/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Count { +namespace ApiSdk.Connections.Item.Items.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs index 7550ad402a..46e247d112 100644 --- a/src/generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item.Activities { +namespace ApiSdk.Connections.Item.Items.Item.Activities +{ /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. /// - public class ActivitiesRequestBuilder : BaseCliRequestBuilder + public class ActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs index ccde869efc..bc87763557 100644 --- a/src/generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item.Activities.Count { +namespace ApiSdk.Connections.Item.Items.Item.Activities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs index bd71b51769..a77f9daa42 100644 --- a/src/generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item.Activities.Item { +namespace ApiSdk.Connections.Item.Items.Item.Activities.Item +{ /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. /// - public class ExternalActivityItemRequestBuilder : BaseCliRequestBuilder + public class ExternalActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property activities for connections diff --git a/src/generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs index 775d75f8b9..a7f5949dc8 100644 --- a/src/generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item.Activities.Item.PerformedBy { +namespace ApiSdk.Connections.Item.Items.Item.Activities.Item.PerformedBy +{ /// /// Provides operations to manage the performedBy property of the microsoft.graph.externalConnectors.externalActivity entity. /// - public class PerformedByRequestBuilder : BaseCliRequestBuilder + public class PerformedByRequestBuilder : BaseCliRequestBuilder { /// /// Represents an identity used to identify who is responsible for the activity. diff --git a/src/generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index 79623c2414..0006a6b8ae 100644 --- a/src/generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item { +namespace ApiSdk.Connections.Item.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ExternalItemItemRequestBuilder : BaseCliRequestBuilder + public class ExternalItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. @@ -50,14 +51,13 @@ public Command BuildActivitiesNavCommand() return command; } /// - /// Delete an externalItem object. - /// Find more info here + /// Delete navigation property items for connections /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an externalItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalitem-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property items for connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -92,14 +92,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of an externalItem object. - /// Find more info here + /// Get items from connections /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of an externalItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalitem-get?view=graph-rest-1.0"; + command.Description = "Get items from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -239,7 +238,7 @@ public ExternalItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/connecti { } /// - /// Delete an externalItem object. + /// Delete navigation property items for connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +257,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an externalItem object. + /// Get items from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +297,7 @@ public RequestInformation ToPutRequestInformation(ExternalItem body, Action - /// Read the properties and relationships of an externalItem object. + /// Get items from connections /// public class ExternalItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs index 7631d2bf8c..e5465a4304 100644 --- a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs +++ b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { - public class AddActivitiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ + #pragma warning disable CS1591 + public class AddActivitiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs index a737c67411..e6d842955e 100644 --- a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs +++ b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs @@ -6,8 +6,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { - public class AddActivitiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ + #pragma warning disable CS1591 + public class AddActivitiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivityResult.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivityResult.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs index 668a3dc74b..5ea09a5b1c 100644 --- a/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { +namespace ApiSdk.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ /// /// Provides operations to call the addActivities method. /// - public class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action addActivities @@ -76,7 +77,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Connections/Item/Items/ItemsRequestBuilder.cs b/src/generated/Connections/Item/Items/ItemsRequestBuilder.cs index ca2a1a4ee9..4e212b8692 100644 --- a/src/generated/Connections/Item/Items/ItemsRequestBuilder.cs +++ b/src/generated/Connections/Item/Items/ItemsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Items { +namespace ApiSdk.Connections.Item.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -107,13 +108,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of an externalItem object. + /// Get items from connections /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of an externalItem object."; + command.Description = "Get items from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -221,7 +224,7 @@ public ItemsRequestBuilder(string rawUrl) : base("{+baseurl}/connections/{extern { } /// - /// Read the properties and relationships of an externalItem object. + /// Get items from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -261,7 +264,7 @@ public RequestInformation ToPostRequestInformation(ExternalItem body, Action - /// Read the properties and relationships of an externalItem object. + /// Get items from connections /// public class ItemsRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/Connections/Item/Operations/Count/CountRequestBuilder.cs index 9332f44dda..f81f835ff9 100644 --- a/src/generated/Connections/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Connections/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Operations.Count { +namespace ApiSdk.Connections.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs b/src/generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs index 894263149e..204f078b27 100644 --- a/src/generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs +++ b/src/generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Operations.Item { +namespace ApiSdk.Connections.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ConnectionOperationItemRequestBuilder : BaseCliRequestBuilder + public class ConnectionOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for connections @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a connectionOperation object. - /// Find more info here + /// Get operations from connections /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a connectionOperation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-connectionoperation-get?view=graph-rest-1.0"; + command.Description = "Get operations from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a connectionOperation object. + /// Get operations from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(ConnectionOperation body, Ac return requestInfo; } /// - /// Read the properties and relationships of a connectionOperation object. + /// Get operations from connections /// public class ConnectionOperationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Operations/OperationsRequestBuilder.cs b/src/generated/Connections/Item/Operations/OperationsRequestBuilder.cs index ad5ddacdbe..e0b5af4be7 100644 --- a/src/generated/Connections/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Connections/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Operations { +namespace ApiSdk.Connections.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -104,13 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a connectionOperation object. + /// Get operations from connections /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a connectionOperation object."; + command.Description = "Get operations from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +221,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/connections/{e { } /// - /// Read the properties and relationships of a connectionOperation object. + /// Get operations from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +261,7 @@ public RequestInformation ToPostRequestInformation(ConnectionOperation body, Act return requestInfo; } /// - /// Read the properties and relationships of a connectionOperation object. + /// Get operations from connections /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/generated/Connections/Item/Schema/SchemaRequestBuilder.cs index 96529754c5..ee50949cc7 100644 --- a/src/generated/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/generated/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Connections.Item.Schema { +namespace ApiSdk.Connections.Item.Schema +{ /// /// Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class SchemaRequestBuilder : BaseCliRequestBuilder + public class SchemaRequestBuilder : BaseCliRequestBuilder { /// - /// Read the properties and relationships of a schema object. - /// Find more info here + /// Get schema from connections /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a schema object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0"; + command.Description = "Get schema from connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -74,14 +74,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new schema object. - /// Find more info here + /// Update the navigation property schema in connections /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Create a new schema object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0"; + command.Description = "Update the navigation property schema in connections"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -140,7 +139,7 @@ public SchemaRequestBuilder(string rawUrl) : base("{+baseurl}/connections/{exter { } /// - /// Read the properties and relationships of a schema object. + /// Get schema from connections /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new schema object. + /// Update the navigation property schema in connections /// /// A /// The request body @@ -180,7 +179,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.ExternalConnec return requestInfo; } /// - /// Read the properties and relationships of a schema object. + /// Get schema from connections /// public class SchemaRequestBuilderGetQueryParameters { diff --git a/src/generated/Contacts/ContactsRequestBuilder.cs b/src/generated/Contacts/ContactsRequestBuilder.cs index 6ca0d032dc..4c6ed20814 100644 --- a/src/generated/Contacts/ContactsRequestBuilder.cs +++ b/src/generated/Contacts/ContactsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts { +namespace ApiSdk.Contacts +{ /// /// Provides operations to manage the collection of orgContact entities. /// - public class ContactsRequestBuilder : BaseCliRequestBuilder + public class ContactsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of orgContact entities. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Count/CountRequestBuilder.cs b/src/generated/Contacts/Count/CountRequestBuilder.cs index 11a34bb497..0e8478283d 100644 --- a/src/generated/Contacts/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Count { +namespace ApiSdk.Contacts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Delta/DeltaGetResponse.cs b/src/generated/Contacts/Delta/DeltaGetResponse.cs index 2c3f53cf6b..1b80fb2ba4 100644 --- a/src/generated/Contacts/Delta/DeltaGetResponse.cs +++ b/src/generated/Contacts/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Contacts.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(OrgContact.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(OrgContact.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Delta/DeltaRequestBuilder.cs b/src/generated/Contacts/Delta/DeltaRequestBuilder.cs index d4d8e397c8..8a3a81036f 100644 --- a/src/generated/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Contacts/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Delta { +namespace ApiSdk.Contacts.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/contacts/delta(){?% { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index ff28b8fbf3..f8d389f234 100644 --- a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index f90dff4192..2561993e6a 100644 --- a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 506cf76fea..5e7ae48525 100644 --- a/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.GetAvailableExtensionProperties { +namespace ApiSdk.Contacts.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/Contacts/GetByIds/GetByIdsPostRequestBody.cs index 9f5390a889..24fc214c85 100644 --- a/src/generated/Contacts/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/Contacts/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/GetByIds/GetByIdsPostResponse.cs b/src/generated/Contacts/GetByIds/GetByIdsPostResponse.cs index b76a7cc845..0b857a9b64 100644 --- a/src/generated/Contacts/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/Contacts/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs index 9d42b0884b..c89f6d43c6 100644 --- a/src/generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.GetByIds { +namespace ApiSdk.Contacts.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 852dfe9e32..73e700e9e1 100644 --- a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index be69799b7e..60b2fe796f 100644 --- a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 2287140c4d..8097a26e75 100644 --- a/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.CheckMemberGroups { +namespace ApiSdk.Contacts.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index ae8f8a7e32..315c15e246 100644 --- a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index e8b15782a1..e1866e04f6 100644 --- a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 6b9ed7e76b..1ee79060e2 100644 --- a/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.CheckMemberObjects { +namespace ApiSdk.Contacts.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs index b464b959ad..6b1af6c4f0 100644 --- a/src/generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.Count { +namespace ApiSdk.Contacts.Item.DirectReports.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs index 529d3acd57..e14c55bd14 100644 --- a/src/generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports { +namespace ApiSdk.Contacts.Item.DirectReports +{ /// /// Provides operations to manage the directReports property of the microsoft.graph.orgContact entity. /// - public class DirectReportsRequestBuilder : BaseCliRequestBuilder + public class DirectReportsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the directReports property of the microsoft.graph.orgContact entity. @@ -102,14 +103,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + /// Get the direct reports for this organizational contact. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-directreports?view=graph-rest-1.0"; + command.Description = "Get the direct reports for this organizational contact.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-directreports?view=graph-rest-1.0"; var orgContactIdOption = new Option("--org-contact-id", description: "The unique identifier of orgContact") { }; orgContactIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public DirectReportsRequestBuilder(string rawUrl) : base("{+baseurl}/contacts/{o { } /// - /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + /// Get the direct reports for this organizational contact. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + /// Get the direct reports for this organizational contact. /// public class DirectReportsRequestBuilderGetQueryParameters { diff --git a/src/generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs index a1bb88a331..cd18b7d501 100644 --- a/src/generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.GraphOrgContact.Count { +namespace ApiSdk.Contacts.Item.DirectReports.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 6f00b17422..e1cbf65b5b 100644 --- a/src/generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.GraphOrgContact { +namespace ApiSdk.Contacts.Item.DirectReports.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs index 95c6371ea2..a074936d89 100644 --- a/src/generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.GraphUser.Count { +namespace ApiSdk.Contacts.Item.DirectReports.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs index 8a5b3dd68e..fbbf17e53b 100644 --- a/src/generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.GraphUser { +namespace ApiSdk.Contacts.Item.DirectReports.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs index a5328e30f0..31e341697c 100644 --- a/src/generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.Item { +namespace ApiSdk.Contacts.Item.DirectReports.Item +{ /// /// Provides operations to manage the directReports property of the microsoft.graph.orgContact entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. diff --git a/src/generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 507318be85..317d6ccf0d 100644 --- a/src/generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.Item.GraphOrgContact { +namespace ApiSdk.Contacts.Item.DirectReports.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs index d3f7545239..d2ea8d6060 100644 --- a/src/generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.DirectReports.Item.GraphUser { +namespace ApiSdk.Contacts.Item.DirectReports.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 18e4ccc107..59b8ef88fa 100644 --- a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 573625950d..e2110301d3 100644 --- a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index d073e2de45..b60a2f0756 100644 --- a/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.GetMemberGroups { +namespace ApiSdk.Contacts.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 9290afdac2..04bd49d9c6 100644 --- a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index d4ec7bdc8f..142c5d0388 100644 --- a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contacts.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 42f9c4ed4b..ddcf426077 100644 --- a/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.GetMemberObjects { +namespace ApiSdk.Contacts.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/Manager/ManagerRequestBuilder.cs b/src/generated/Contacts/Item/Manager/ManagerRequestBuilder.cs index 68207d4913..2b0a871f51 100644 --- a/src/generated/Contacts/Item/Manager/ManagerRequestBuilder.cs +++ b/src/generated/Contacts/Item/Manager/ManagerRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.Manager { +namespace ApiSdk.Contacts.Item.Manager +{ /// /// Provides operations to manage the manager property of the microsoft.graph.orgContact entity. /// - public class ManagerRequestBuilder : BaseCliRequestBuilder + public class ManagerRequestBuilder : BaseCliRequestBuilder { /// /// Get this organizational contact's manager. diff --git a/src/generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs index 5319378d22..f9510792f1 100644 --- a/src/generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.Count { +namespace ApiSdk.Contacts.Item.MemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 2910fea763..ae695deb49 100644 --- a/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Contacts.Item.MemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 21d149a7cc..6511a65bfc 100644 --- a/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Contacts.Item.MemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 2b7bde8fce..9a0792df16 100644 --- a/src/generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.GraphGroup.Count { +namespace ApiSdk.Contacts.Item.MemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index bc51393bbc..2bb2dde36e 100644 --- a/src/generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.GraphGroup { +namespace ApiSdk.Contacts.Item.MemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 32eee165b1..af0bbafadc 100644 --- a/src/generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.Item { +namespace ApiSdk.Contacts.Item.MemberOf.Item +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 865a9205ea..9b1cd58577 100644 --- a/src/generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Contacts.Item.MemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 6fc660be9a..b7637ef68d 100644 --- a/src/generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf.Item.GraphGroup { +namespace ApiSdk.Contacts.Item.MemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs b/src/generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs index 568f24d088..2304081d35 100644 --- a/src/generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.MemberOf { +namespace ApiSdk.Contacts.Item.MemberOf +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. /// - public class MemberOfRequestBuilder : BaseCliRequestBuilder + public class MemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + /// List the groups that this organizational contact is a member of. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Groups that this contact is a member of. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-memberof?view=graph-rest-1.0"; + command.Description = "List the groups that this organizational contact is a member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-memberof?view=graph-rest-1.0"; var orgContactIdOption = new Option("--org-contact-id", description: "The unique identifier of orgContact") { }; orgContactIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public MemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/contacts/{orgCon { } /// - /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + /// List the groups that this organizational contact is a member of. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + /// List the groups that this organizational contact is a member of. /// public class MemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Contacts/Item/OrgContactItemRequestBuilder.cs b/src/generated/Contacts/Item/OrgContactItemRequestBuilder.cs index e085fe9ea1..9555a0859e 100644 --- a/src/generated/Contacts/Item/OrgContactItemRequestBuilder.cs +++ b/src/generated/Contacts/Item/OrgContactItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item { +namespace ApiSdk.Contacts.Item +{ /// /// Provides operations to manage the collection of orgContact entities. /// - public class OrgContactItemRequestBuilder : BaseCliRequestBuilder + public class OrgContactItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index 5d3350971d..ae4d93a66a 100644 --- a/src/generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.Restore { +namespace ApiSdk.Contacts.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index b96d3a8502..8b654fa6dd 100644 --- a/src/generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.RetryServiceProvisioning { +namespace ApiSdk.Contacts.Item.RetryServiceProvisioning +{ /// /// Provides operations to call the retryServiceProvisioning method. /// - public class RetryServiceProvisioningRequestBuilder : BaseCliRequestBuilder + public class RetryServiceProvisioningRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action retryServiceProvisioning diff --git a/src/generated/Contacts/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index d0570d2238..69db0b043e 100644 --- a/src/generated/Contacts/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.ServiceProvisioningErrors.Count { +namespace ApiSdk.Contacts.Item.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e97edab10b..0d2078d30e 100644 --- a/src/generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.ServiceProvisioningErrors { +namespace ApiSdk.Contacts.Item.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \contacts\{orgContact-id}\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index dfab8c3401..6ec42b3a52 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Count { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index f2878ba1ae..46a1081cff 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 528f16b857..c89e1f2fec 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index f1c0720538..9041b62e77 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphGroup.Count { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index c0eecd455d..abc2cb79ab 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphGroup { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 8cba59d76e..17d45a658d 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index b44e533865..ad7aa70d37 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 867aa74815..3afc3857fd 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item.GraphGroup { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 0d7122db5a..79fc348b2c 100644 --- a/src/generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.Item.TransitiveMemberOf { +namespace ApiSdk.Contacts.Item.TransitiveMemberOf +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. /// - public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder + public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. + /// Get groups that this organizational contact is a member of. The API request is transitive, and returns all groups the organizational contact is a nested member of. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-transitivememberof?view=graph-rest-1.0"; + command.Description = "Get groups that this organizational contact is a member of. The API request is transitive, and returns all groups the organizational contact is a nested member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/orgcontact-list-transitivememberof?view=graph-rest-1.0"; var orgContactIdOption = new Option("--org-contact-id", description: "The unique identifier of orgContact") { }; orgContactIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/contac { } /// - /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. + /// Get groups that this organizational contact is a member of. The API request is transitive, and returns all groups the organizational contact is a nested member of. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. + /// Get groups that this organizational contact is a member of. The API request is transitive, and returns all groups the organizational contact is a nested member of. /// public class TransitiveMemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Contacts/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Contacts/ValidateProperties/ValidatePropertiesPostRequestBody.cs index a76b8067c2..52375ba39c 100644 --- a/src/generated/Contacts/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Contacts/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contacts.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contacts.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 1771e1f7f4..2b9a77b486 100644 --- a/src/generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contacts.ValidateProperties { +namespace ApiSdk.Contacts.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/Contracts/ContractsRequestBuilder.cs b/src/generated/Contracts/ContractsRequestBuilder.cs index a14b58238e..396e3a65a8 100644 --- a/src/generated/Contracts/ContractsRequestBuilder.cs +++ b/src/generated/Contracts/ContractsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts { +namespace ApiSdk.Contracts +{ /// /// Provides operations to manage the collection of contract entities. /// - public class ContractsRequestBuilder : BaseCliRequestBuilder + public class ContractsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of contract entities. @@ -242,7 +243,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Count/CountRequestBuilder.cs b/src/generated/Contracts/Count/CountRequestBuilder.cs index 97037b2a8b..284681c072 100644 --- a/src/generated/Contracts/Count/CountRequestBuilder.cs +++ b/src/generated/Contracts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Count { +namespace ApiSdk.Contracts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Contracts/Delta/DeltaGetResponse.cs b/src/generated/Contracts/Delta/DeltaGetResponse.cs index 01c131a0c6..19d120137e 100644 --- a/src/generated/Contracts/Delta/DeltaGetResponse.cs +++ b/src/generated/Contracts/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Contracts.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Delta/DeltaRequestBuilder.cs b/src/generated/Contracts/Delta/DeltaRequestBuilder.cs index fc63110645..0793a279e2 100644 --- a/src/generated/Contracts/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Contracts/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Delta { +namespace ApiSdk.Contracts.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/contracts/delta(){? { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 62a85d04ec..bd89bec61a 100644 --- a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index ff25cfe9ca..4865b918f0 100644 --- a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index b53d238b2e..abc6b51fa5 100644 --- a/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.GetAvailableExtensionProperties { +namespace ApiSdk.Contracts.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/Contracts/GetByIds/GetByIdsPostRequestBody.cs index d3b4ae0048..b0274f3f7e 100644 --- a/src/generated/Contracts/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/Contracts/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/GetByIds/GetByIdsPostResponse.cs b/src/generated/Contracts/GetByIds/GetByIdsPostResponse.cs index 871a7de5a6..8f6461f2e3 100644 --- a/src/generated/Contracts/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/Contracts/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs index 519e24b9af..d43bead289 100644 --- a/src/generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.GetByIds { +namespace ApiSdk.Contracts.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 2d25d9ae67..6c6dcabf5e 100644 --- a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 16c30498d1..270c99950a 100644 --- a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 3b41b9e317..6f5f3a52e1 100644 --- a/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item.CheckMemberGroups { +namespace ApiSdk.Contracts.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index b0040c8f86..36bf276ef8 100644 --- a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index afdf1fb978..457f6bfb5e 100644 --- a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 63958de51f..7a97217c64 100644 --- a/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item.CheckMemberObjects { +namespace ApiSdk.Contracts.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Item/ContractItemRequestBuilder.cs b/src/generated/Contracts/Item/ContractItemRequestBuilder.cs index d886605f2f..ea9b318b41 100644 --- a/src/generated/Contracts/Item/ContractItemRequestBuilder.cs +++ b/src/generated/Contracts/Item/ContractItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item { +namespace ApiSdk.Contracts.Item +{ /// /// Provides operations to manage the collection of contract entities. /// - public class ContractItemRequestBuilder : BaseCliRequestBuilder + public class ContractItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 035cfe286b..1fa3d00386 100644 --- a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 6dc98bc296..b007bd3558 100644 --- a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 112dec1a17..1131802ed5 100644 --- a/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item.GetMemberGroups { +namespace ApiSdk.Contracts.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 02fb61092f..b25a42f4fa 100644 --- a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index dd8683059b..e26de6f07a 100644 --- a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Contracts.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 670775ec9c..995a1ba57b 100644 --- a/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item.GetMemberObjects { +namespace ApiSdk.Contracts.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index ff91b1b270..32870907cb 100644 --- a/src/generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.Item.Restore { +namespace ApiSdk.Contracts.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/Contracts/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Contracts/ValidateProperties/ValidatePropertiesPostRequestBody.cs index a95a942176..2f513cf9f4 100644 --- a/src/generated/Contracts/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Contracts/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Contracts.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Contracts.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs index f7cc7d5a89..f4346c8680 100644 --- a/src/generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Contracts.ValidateProperties { +namespace ApiSdk.Contracts.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DataPolicyOperations/Count/CountRequestBuilder.cs b/src/generated/DataPolicyOperations/Count/CountRequestBuilder.cs index 24e862890b..2dfa5e6a82 100644 --- a/src/generated/DataPolicyOperations/Count/CountRequestBuilder.cs +++ b/src/generated/DataPolicyOperations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DataPolicyOperations.Count { +namespace ApiSdk.DataPolicyOperations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs b/src/generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs index 554043b5a7..f131db7690 100644 --- a/src/generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs +++ b/src/generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DataPolicyOperations { +namespace ApiSdk.DataPolicyOperations +{ /// /// Provides operations to manage the collection of dataPolicyOperation entities. /// - public class DataPolicyOperationsRequestBuilder : BaseCliRequestBuilder + public class DataPolicyOperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of dataPolicyOperation entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs b/src/generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs index 5ad4d02585..de28f75079 100644 --- a/src/generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs +++ b/src/generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DataPolicyOperations.Item { +namespace ApiSdk.DataPolicyOperations.Item +{ /// /// Provides operations to manage the collection of dataPolicyOperation entities. /// - public class DataPolicyOperationItemRequestBuilder : BaseCliRequestBuilder + public class DataPolicyOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from dataPolicyOperations diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs index ff5497a945..50ee33bc21 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections +{ /// /// Provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class AndroidManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder + public class AndroidManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs index 064651288f..fb4af792d0 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Count { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs index 9b216a9276..14476ea86a 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item +{ /// /// Provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class AndroidManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder + public class AndroidManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index 333698219f..fbea2ae68c 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps +{ /// /// Provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. /// - public class AppsRequestBuilder : BaseCliRequestBuilder + public class AppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index d832bba72f..b5f2b4e414 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps.Count { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index daef1d0af1..0ffd8f75ca 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps.Item { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Apps.Item +{ /// /// Provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. /// - public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder + public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs index 599496bf24..e412e0e8fa 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs index 2743f57f51..8c136ab830 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index ddf2b4a2a0..65d604e533 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. /// - public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index c9b54d9e87..1d69506063 100644 --- a/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.DeploymentSummary { +namespace ApiSdk.DeviceAppManagement.AndroidManagedAppProtections.Item.DeploymentSummary +{ /// /// Provides operations to manage the deploymentSummary property of the microsoft.graph.androidManagedAppProtection entity. /// - public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder + public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs index 5b8caaa985..241d9206ed 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Count { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs index bab5c70c95..6b3fb3c875 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections +{ /// /// Provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class DefaultManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder + public class DefaultManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index ca173de5f1..ca51ca3ca8 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps +{ /// /// Provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. /// - public class AppsRequestBuilder : BaseCliRequestBuilder + public class AppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index 4197e0641c..b8a1ec9cee 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps.Count { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index 9a25874069..434f136d36 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps.Item { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.Apps.Item +{ /// /// Provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. /// - public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder + public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs index 4185605e82..6bcb88b1dc 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item +{ /// /// Provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class DefaultManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder + public class DefaultManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. diff --git a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index 53db5d2d74..3459ccb22a 100644 --- a/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.DeploymentSummary { +namespace ApiSdk.DeviceAppManagement.DefaultManagedAppProtections.Item.DeploymentSummary +{ /// /// Provides operations to manage the deploymentSummary property of the microsoft.graph.defaultManagedAppProtection entity. /// - public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder + public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 513591ecd5..3933fcd13d 100644 --- a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -29,11 +29,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement { +namespace ApiSdk.DeviceAppManagement +{ /// /// Provides operations to manage the deviceAppManagement singleton. /// - public class DeviceAppManagementRequestBuilder : BaseCliRequestBuilder + public class DeviceAppManagementRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. @@ -91,13 +92,13 @@ public Command BuildDefaultManagedAppProtectionsNavCommand() } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0"; var selectOption = new Option("--select", description: "Select properties to be returned") { Arity = ArgumentArity.ZeroOrMore }; @@ -398,13 +399,13 @@ public Command BuildMobileAppsNavCommand() } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs index 420431fbce..61167b0b66 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Count { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs index 6a1c354cf5..a92cd192a8 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections +{ /// /// Provides operations to manage the iosManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class IosManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder + public class IosManagedAppProtectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the iosManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index 569cf6b207..b7a70f9ebd 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps +{ /// /// Provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. /// - public class AppsRequestBuilder : BaseCliRequestBuilder + public class AppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index 076d78e459..6e2ea9514d 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps.Count { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index a7894de326..6e301e7b93 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps.Item { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Apps.Item +{ /// /// Provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. /// - public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder + public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a managedMobileApp. diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs index 19cc8511ef..59b8525581 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. @@ -104,13 +105,14 @@ public Command BuildCreateCommand() return command; } /// - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// List properties and relationships of the targetedManagedAppPolicyAssignment objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Navigation property to list of inclusion and exclusion groups to which the policy is deployed."; + command.Description = "List properties and relationships of the targetedManagedAppPolicyAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-list?view=graph-rest-1.0"; var iosManagedAppProtectionIdOption = new Option("--ios-managed-app-protection-id", description: "The unique identifier of iosManagedAppProtection") { }; iosManagedAppProtectionIdOption.IsRequired = true; @@ -192,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +222,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// List properties and relationships of the targetedManagedAppPolicyAssignment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +262,7 @@ public RequestInformation ToPostRequestInformation(TargetedManagedAppPolicyAssig return requestInfo; } /// - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// List properties and relationships of the targetedManagedAppPolicyAssignment objects. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs index fd25a2a954..b459f12918 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 6ae5d0abd9..7f018cdcf6 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. /// - public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete navigation property assignments for deviceAppManagement + /// Deletes a targetedManagedAppPolicyAssignment. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete navigation property assignments for deviceAppManagement"; + command.Description = "Deletes a targetedManagedAppPolicyAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-delete?view=graph-rest-1.0"; var iosManagedAppProtectionIdOption = new Option("--ios-managed-app-protection-id", description: "The unique identifier of iosManagedAppProtection") { }; iosManagedAppProtectionIdOption.IsRequired = true; @@ -62,13 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// Read properties and relationships of the targetedManagedAppPolicyAssignment object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Navigation property to list of inclusion and exclusion groups to which the policy is deployed."; + command.Description = "Read properties and relationships of the targetedManagedAppPolicyAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-get?view=graph-rest-1.0"; var iosManagedAppProtectionIdOption = new Option("--ios-managed-app-protection-id", description: "The unique identifier of iosManagedAppProtection") { }; iosManagedAppProtectionIdOption.IsRequired = true; @@ -120,13 +123,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the navigation property assignments in deviceAppManagement + /// Update the properties of a targetedManagedAppPolicyAssignment object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property assignments in deviceAppManagement"; + command.Description = "Update the properties of a targetedManagedAppPolicyAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-update?view=graph-rest-1.0"; var iosManagedAppProtectionIdOption = new Option("--ios-managed-app-protection-id", description: "The unique identifier of iosManagedAppProtection") { }; iosManagedAppProtectionIdOption.IsRequired = true; @@ -191,7 +195,7 @@ public TargetedManagedAppPolicyAssignmentItemRequestBuilder(string rawUrl) : bas { } /// - /// Delete navigation property assignments for deviceAppManagement + /// Deletes a targetedManagedAppPolicyAssignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -210,7 +214,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// Read properties and relationships of the targetedManagedAppPolicyAssignment object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -229,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property assignments in deviceAppManagement + /// Update the properties of a targetedManagedAppPolicyAssignment object. /// /// A /// The request body @@ -250,7 +254,7 @@ public RequestInformation ToPatchRequestInformation(TargetedManagedAppPolicyAssi return requestInfo; } /// - /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + /// Read properties and relationships of the targetedManagedAppPolicyAssignment object. /// public class TargetedManagedAppPolicyAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index 28c88e8c23..c01f5fb1e0 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.DeploymentSummary { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item.DeploymentSummary +{ /// /// Provides operations to manage the deploymentSummary property of the microsoft.graph.iosManagedAppProtection entity. /// - public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder + public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs index 49e7f04157..aba0ffdb99 100644 --- a/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item { +namespace ApiSdk.DeviceAppManagement.IosManagedAppProtections.Item +{ /// /// Provides operations to manage the iosManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. /// - public class IosManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder + public class IosManagedAppProtectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs index 4b314ca8aa..e90f200cfe 100644 --- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 20d9b3b163..57f213ff8c 100644 --- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item +{ /// /// Provides operations to manage the managedAppPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property managedAppPolicies for deviceAppManagement @@ -57,14 +58,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the targetedManagedAppProtection object. - /// Find more info here + /// Read properties and relationships of the managedAppConfiguration object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the targetedManagedAppProtection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the managedAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0"; var managedAppPolicyIdOption = new Option("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") { }; managedAppPolicyIdOption.IsRequired = true; @@ -211,7 +212,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the targetedManagedAppProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppPolicy body, Actio return requestInfo; } /// - /// Read properties and relationships of the targetedManagedAppProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// public class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs index a542c99ae2..209d0747c2 100644 --- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps { - public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps +{ + #pragma warning disable CS1591 + public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 853d994e16..d830cf7122 100644 --- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps { +namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps +{ /// /// Provides operations to call the targetApps method. /// - public class TargetAppsRequestBuilder : BaseCliRequestBuilder + public class TargetAppsRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0"; + command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0"; var managedAppPolicyIdOption = new Option("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") { }; managedAppPolicyIdOption.IsRequired = true; diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 7fa01ee154..497d5dded8 100644 --- a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies { +namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies +{ /// /// Provides operations to manage the managedAppPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppPoliciesRequestBuilder : BaseCliRequestBuilder + public class ManagedAppPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedAppPolicies property of the microsoft.graph.deviceAppManagement entity. @@ -100,14 +101,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the targetedManagedAppProtection objects. - /// Find more info here + /// List properties and relationships of the managedAppProtection objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the targetedManagedAppProtection objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the managedAppProtection objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -183,7 +184,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -209,7 +212,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/device { } /// - /// List properties and relationships of the targetedManagedAppProtection objects. + /// List properties and relationships of the managedAppProtection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +252,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action return requestInfo; } /// - /// List properties and relationships of the targetedManagedAppProtection objects. + /// List properties and relationships of the managedAppProtection objects. /// public class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs index 4c744ad3ab..b75e18394d 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationGetResponse.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationGetResponse.cs index 35a611a17b..30c8a8961e 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationGetResponse.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.GetUserIdsWithFlaggedAppRegistration { - public class GetUserIdsWithFlaggedAppRegistrationGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.GetUserIdsWithFlaggedAppRegistration +{ + #pragma warning disable CS1591 + public class GetUserIdsWithFlaggedAppRegistrationGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs index 3d64a19601..484941d90e 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.GetUserIdsWithFlaggedAppRegistration { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.GetUserIdsWithFlaggedAppRegistration +{ /// /// Provides operations to call the getUserIdsWithFlaggedAppRegistration method. /// - public class GetUserIdsWithFlaggedAppRegistrationRequestBuilder : BaseCliRequestBuilder + public class GetUserIdsWithFlaggedAppRegistrationRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getUserIdsWithFlaggedAppRegistration + /// Not yet documented + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getUserIdsWithFlaggedAppRegistration"; + command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-getuseridswithflaggedappregistration?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public GetUserIdsWithFlaggedAppRegistrationRequestBuilder(string rawUrl) : base( { } /// - /// Invoke function getUserIdsWithFlaggedAppRegistration + /// Not yet documented /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getUserIdsWithFlaggedAppRegistration + /// Not yet documented /// public class GetUserIdsWithFlaggedAppRegistrationRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs index 821cfdfb20..8bce6fdac1 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies +{ /// /// Provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. /// - public class AppliedPoliciesRequestBuilder : BaseCliRequestBuilder + public class AppliedPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs index 5cae5fa6ec..4dd0a5892b 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 2a0942063e..bd4769edff 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item +{ /// /// Provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. /// - public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property appliedPolicies for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs index e94e293c86..725e82f456 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item.TargetApps { - public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item.TargetApps +{ + #pragma warning disable CS1591 + public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 294ab2aa74..992b9130b4 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item.TargetApps { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicies.Item.TargetApps +{ /// /// Provides operations to call the targetApps method. /// - public class TargetAppsRequestBuilder : BaseCliRequestBuilder + public class TargetAppsRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0"; + command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0"; var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") { }; managedAppRegistrationIdOption.IsRequired = true; diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs index 8b6ec38496..2fcf7cce21 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs index e89f265a5a..1ce98419bb 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies +{ /// /// Provides operations to manage the intendedPolicies property of the microsoft.graph.managedAppRegistration entity. /// - public class IntendedPoliciesRequestBuilder : BaseCliRequestBuilder + public class IntendedPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the intendedPolicies property of the microsoft.graph.managedAppRegistration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 5309ce2c27..bccd7309a7 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item +{ /// /// Provides operations to manage the intendedPolicies property of the microsoft.graph.managedAppRegistration entity. /// - public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property intendedPolicies for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs index 111b935ff4..2993c7d485 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item.TargetApps { - public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item.TargetApps +{ + #pragma warning disable CS1591 + public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 6a8d0ae6b5..67ec766bc6 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item.TargetApps { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolicies.Item.TargetApps +{ /// /// Provides operations to call the targetApps method. /// - public class TargetAppsRequestBuilder : BaseCliRequestBuilder + public class TargetAppsRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0"; + command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0"; var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") { }; managedAppRegistrationIdOption.IsRequired = true; diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index 410cf9f411..d7b00da392 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item +{ /// /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppRegistrationItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppRegistrationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. @@ -86,14 +87,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the iosManagedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the androidManagedAppRegistration object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the iosManagedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the androidManagedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0"; var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") { }; managedAppRegistrationIdOption.IsRequired = true; @@ -277,7 +278,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -317,7 +318,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppRegistration body, return requestInfo; } /// - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs index 764ef74fe8..c88a352cd3 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs index 4f22fccd80..21a81ac23b 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. /// - public class ManagedAppOperationItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a managedAppOperation. diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs index 877041e4de..ed4d90eeef 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index 2dbf6e175e..91581c6b2e 100644 --- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations { +namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations +{ /// /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppRegistrationsRequestBuilder : BaseCliRequestBuilder + public class ManagedAppRegistrationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedAppRegistrations property of the microsoft.graph.deviceAppManagement entity. @@ -121,14 +122,14 @@ public Command BuildGetUserIdsWithFlaggedAppRegistrationNavCommand() return command; } /// - /// List properties and relationships of the androidManagedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the managedAppRegistration objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the androidManagedAppRegistration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the managedAppRegistration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -230,7 +233,7 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// List properties and relationships of the androidManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +273,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppRegistration body, return requestInfo; } /// - /// List properties and relationships of the androidManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// public class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs index d32fe45c87..7a313e7a12 100644 --- a/src/generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses.Count { +namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs index 1911e76d7e..8986361deb 100644 --- a/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses.Item { +namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses.Item +{ /// /// Provides operations to manage the managedAppStatuses property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppStatusItemRequestBuilder : BaseCliRequestBuilder + public class ManagedAppStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property managedAppStatuses for deviceAppManagement @@ -56,14 +57,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the managedAppStatus object. - /// Find more info here + /// Read properties and relationships of the managedAppStatusRaw object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the managedAppStatus object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the managedAppStatusRaw object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0"; var managedAppStatusIdOption = new Option("--managed-app-status-id", description: "The unique identifier of managedAppStatus") { }; managedAppStatusIdOption.IsRequired = true; @@ -193,7 +194,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppStatus object. + /// Read properties and relationships of the managedAppStatusRaw object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -233,7 +234,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppStatus body, Actio return requestInfo; } /// - /// Read properties and relationships of the managedAppStatus object. + /// Read properties and relationships of the managedAppStatusRaw object. /// public class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index 1d55d2a633..dbd9b62a69 100644 --- a/src/generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses { +namespace ApiSdk.DeviceAppManagement.ManagedAppStatuses +{ /// /// Provides operations to manage the managedAppStatuses property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedAppStatusesRequestBuilder : BaseCliRequestBuilder + public class ManagedAppStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedAppStatuses property of the microsoft.graph.deviceAppManagement entity. @@ -98,14 +99,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the managedAppStatusRaw objects. - /// Find more info here + /// List properties and relationships of the managedAppStatus objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the managedAppStatusRaw objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the managedAppStatus objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -207,7 +210,7 @@ public ManagedAppStatusesRequestBuilder(string rawUrl) : base("{+baseurl}/device { } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -247,7 +250,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppStatus body, Action return requestInfo; } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// public class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs index 4b04554d98..30978382db 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Count { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignPostRequestBody.cs index dc3fd4a92a..8da09c8677 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"managedEBookAssignments", n => { ManagedEBookAssignments = n.GetCollectionOfObjectValues(ManagedEBookAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "managedEBookAssignments", n => { ManagedEBookAssignments = n.GetCollectionOfObjectValues(ManagedEBookAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs index b7e5310320..f71dfcc11f 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assign { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index a8e080b8b2..e3ce57aaf3 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. @@ -53,14 +54,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new iosVppEBookAssignment object. - /// Find more info here + /// Create a new managedEBookAssignment object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0"; + command.Description = "Create a new managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0"; var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") { }; managedEBookIdOption.IsRequired = true; @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -239,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new iosVppEBookAssignment object. + /// Create a new managedEBookAssignment object. /// /// A /// The request body diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs index 71a5a0b797..9021e2e78b 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 4771a59e96..3c6126b124 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. /// - public class ManagedEBookAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class ManagedEBookAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a iosVppEBookAssignment. @@ -122,14 +123,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a managedEBookAssignment object. - /// Find more info here + /// Update the properties of a iosVppEBookAssignment object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0"; var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") { }; managedEBookIdOption.IsRequired = true; @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a managedEBookAssignment object. + /// Update the properties of a iosVppEBookAssignment object. /// /// A /// The request body diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs index 175137bfca..fb844eee05 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates.Count { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs index 3a1e10346e..a6ed90f27a 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates +{ /// /// Provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity. /// - public class DeviceStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs index b65a44b54b..578b8e233e 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates.Item { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.DeviceStates.Item +{ /// /// Provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity. /// - public class DeviceInstallStateItemRequestBuilder : BaseCliRequestBuilder + public class DeviceInstallStateItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceInstallState. diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs index bcaa340b2e..53d3831f18 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.InstallSummary { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.InstallSummary +{ /// /// Provides operations to manage the installSummary property of the microsoft.graph.managedEBook entity. /// - public class InstallSummaryRequestBuilder : BaseCliRequestBuilder + public class InstallSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property installSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs index 28e760af9a..cff7d28469 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item +{ /// /// Provides operations to manage the managedEBooks property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedEBookItemRequestBuilder : BaseCliRequestBuilder + public class ManagedEBookItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs index ca26c00d47..962a6b2931 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Count { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs index 81ba6320c6..3cd52c545b 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates.Count { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs index 3da7b80af0..fffe527f2d 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates +{ /// /// Provides operations to manage the deviceStates property of the microsoft.graph.userInstallStateSummary entity. /// - public class DeviceStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceStates property of the microsoft.graph.userInstallStateSummary entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs index 26d409744b..056705dc96 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates.Item { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item.DeviceStates.Item +{ /// /// Provides operations to manage the deviceStates property of the microsoft.graph.userInstallStateSummary entity. /// - public class DeviceInstallStateItemRequestBuilder : BaseCliRequestBuilder + public class DeviceInstallStateItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceStates for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs index 01f880af08..0e8d39657f 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary.Item +{ /// /// Provides operations to manage the userStateSummary property of the microsoft.graph.managedEBook entity. /// - public class UserInstallStateSummaryItemRequestBuilder : BaseCliRequestBuilder + public class UserInstallStateSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a userInstallStateSummary. diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs index 2c7a0687c1..44cb7041c2 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.UserStateSummary +{ /// /// Provides operations to manage the userStateSummary property of the microsoft.graph.managedEBook entity. /// - public class UserStateSummaryRequestBuilder : BaseCliRequestBuilder + public class UserStateSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userStateSummary property of the microsoft.graph.managedEBook entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs index 6fac6f5e14..989048ce0a 100644 --- a/src/generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.ManagedEBooks { +namespace ApiSdk.DeviceAppManagement.ManagedEBooks +{ /// /// Provides operations to manage the managedEBooks property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedEBooksRequestBuilder : BaseCliRequestBuilder + public class ManagedEBooksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedEBooks property of the microsoft.graph.deviceAppManagement entity. @@ -105,14 +106,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the iosVppEBook objects. - /// Find more info here + /// List properties and relationships of the managedEBook objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the iosVppEBook objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the managedEBook objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -214,7 +217,7 @@ public ManagedEBooksRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMa { } /// - /// List properties and relationships of the iosVppEBook objects. + /// List properties and relationships of the managedEBook objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -254,7 +257,7 @@ public RequestInformation ToPostRequestInformation(ManagedEBook body, Action - /// List properties and relationships of the iosVppEBook objects. + /// List properties and relationships of the managedEBook objects. /// public class ManagedEBooksRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs index 961f5b118b..af3a33d68d 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Count { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs index 8f559e3666..dfc9402d12 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs index 57c4d97834..a8432ddb21 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index c70f6ae190..17a4fcda20 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. /// - public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs index 21d06b0ea5..0834519cf4 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Count { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs index aca5ce4f33..ff856eddb7 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles +{ /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class ExemptAppLockerFilesRequestBuilder : BaseCliRequestBuilder + public class ExemptAppLockerFilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index b58bb193c3..40d6914412 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Item { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Item +{ /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property exemptAppLockerFiles for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs index ef328dbb38..f41fc6ccf1 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item +{ /// /// Provides operations to manage the mdmWindowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class MdmWindowsInformationProtectionPolicyItemRequestBuilder : BaseCliRequestBuilder + public class MdmWindowsInformationProtectionPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs index e66361202e..79a81c7cef 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Count { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 4c27b03e2b..d8f0822182 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Item { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Item +{ /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property protectedAppLockerFiles for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs index b2165cace1..e5dd0533c9 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles +{ /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class ProtectedAppLockerFilesRequestBuilder : BaseCliRequestBuilder + public class ProtectedAppLockerFilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs index 7067969087..dc4af88a5f 100644 --- a/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies { +namespace ApiSdk.DeviceAppManagement.MdmWindowsInformationProtectionPolicies +{ /// /// Provides operations to manage the mdmWindowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class MdmWindowsInformationProtectionPoliciesRequestBuilder : BaseCliRequestBuilder + public class MdmWindowsInformationProtectionPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mdmWindowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs index 6ba7de17ab..63b661f7ac 100644 --- a/src/generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppCategories.Count { +namespace ApiSdk.DeviceAppManagement.MobileAppCategories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs index 82eaa81a92..6490aa4517 100644 --- a/src/generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppCategories.Item { +namespace ApiSdk.DeviceAppManagement.MobileAppCategories.Item +{ /// /// Provides operations to manage the mobileAppCategories property of the microsoft.graph.deviceAppManagement entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a mobileAppCategory. diff --git a/src/generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs index 45eeb8806d..2b0540f865 100644 --- a/src/generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppCategories { +namespace ApiSdk.DeviceAppManagement.MobileAppCategories +{ /// /// Provides operations to manage the mobileAppCategories property of the microsoft.graph.deviceAppManagement entity. /// - public class MobileAppCategoriesRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mobileAppCategories property of the microsoft.graph.deviceAppManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs index be3c0bd5c4..72eac30361 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Count { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignPostRequestBody.cs index c925f2cc40..d218f0d79a 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs index 8eaaf77091..7f439dd4a0 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assign { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 37af2657f6..810e1f8227 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index 496f71518b..2cb6eefa2d 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs index bb8bb275dd..23bba6901a 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a managedDeviceMobileAppConfigurationAssignment. diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs index 37f65ae6de..466ce0dfb7 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatusSummary { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatusSummary +{ /// /// Provides operations to manage the deviceStatusSummary property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class DeviceStatusSummaryRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceStatusSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs index 5cfad5fdbe..e192ac1883 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses.Count { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 7b7c845abd..9deb8f747e 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs index 7c299421c5..bce4a7662e 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses.Item { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.DeviceStatuses.Item +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a managedDeviceMobileAppConfigurationDeviceStatus. diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index 3e07b38536..e3ea827271 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item +{ /// /// Provides operations to manage the mobileAppConfigurations property of the microsoft.graph.deviceAppManagement entity. /// - public class ManagedDeviceMobileAppConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceMobileAppConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. @@ -153,14 +154,14 @@ public Command BuildDeviceStatusSummaryNavCommand() return command; } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the managedDeviceMobileAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the iosMobileAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0"; var managedDeviceMobileAppConfigurationIdOption = new Option("--managed-device-mobile-app-configuration-id", description: "The unique identifier of managedDeviceMobileAppConfiguration") { }; managedDeviceMobileAppConfigurationIdOption.IsRequired = true; @@ -337,7 +338,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -377,7 +378,7 @@ public RequestInformation ToPatchRequestInformation(ManagedDeviceMobileAppConfig return requestInfo; } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// public class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs index 29f653b520..0fdeffe338 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatusSummary { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatusSummary +{ /// /// Provides operations to manage the userStatusSummary property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class UserStatusSummaryRequestBuilder : BaseCliRequestBuilder + public class UserStatusSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userStatusSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs index 59fc37a513..339a35cb1a 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses.Count { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs index bd925dbe47..c85a22cdf0 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses.Item { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses.Item +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a managedDeviceMobileAppConfigurationUserStatus. diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs index e7a09cc745..f799ed43aa 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations.Item.UserStatuses +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. /// - public class UserStatusesRequestBuilder : BaseCliRequestBuilder + public class UserStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs index 587c33c70a..924f5c1e72 100644 --- a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations { +namespace ApiSdk.DeviceAppManagement.MobileAppConfigurations +{ /// /// Provides operations to manage the mobileAppConfigurations property of the microsoft.graph.deviceAppManagement entity. /// - public class MobileAppConfigurationsRequestBuilder : BaseCliRequestBuilder + public class MobileAppConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mobileAppConfigurations property of the microsoft.graph.deviceAppManagement entity. @@ -189,7 +190,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs index a24f9d2771..007e0897f0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs index bfcc6c9c4d..a24857093f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs index 24d887675a..955796f1dc 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp +{ /// /// Casts the previous resource to androidLobApp. /// - public class GraphAndroidLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphAndroidLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs index 9a7059cd10..3d3110bf12 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs index 5427898528..7efe973a23 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp +{ /// /// Casts the previous resource to androidStoreApp. /// - public class GraphAndroidStoreAppRequestBuilder : BaseCliRequestBuilder + public class GraphAndroidStoreAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs index 09b9cec180..7d709cb9fb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs index ea907ff57b..eb112906ce 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp +{ /// /// Casts the previous resource to iosLobApp. /// - public class GraphIosLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs index 376394a4f3..83007908d0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs index fe492f303c..dc984f6fa5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp +{ /// /// Casts the previous resource to iosStoreApp. /// - public class GraphIosStoreAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosStoreAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs index 5c7d2e0c2d..2200eeefa7 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs index e0cf9098fe..7b389a48b9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp +{ /// /// Casts the previous resource to iosVppApp. /// - public class GraphIosVppAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosVppAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs index 13644f026f..991c3e76ae 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs index 77163ac833..1f187edc70 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp +{ /// /// Casts the previous resource to macOSDmgApp. /// - public class GraphMacOSDmgAppRequestBuilder : BaseCliRequestBuilder + public class GraphMacOSDmgAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs index cdcf95c252..dbc66e34d4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs index 0db1cc932e..8529a4c2c2 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp +{ /// /// Casts the previous resource to macOSLobApp. /// - public class GraphMacOSLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphMacOSLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs index 3bbce15b2e..9626d1081f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs index a9b3350264..d481041dc2 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp +{ /// /// Casts the previous resource to managedAndroidLobApp. /// - public class GraphManagedAndroidLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedAndroidLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs index 3971e3cf1b..777d718322 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs index f5b854f9f9..1ce50fbc8a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp +{ /// /// Casts the previous resource to managedIOSLobApp. /// - public class GraphManagedIOSLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedIOSLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs index 118bd78717..98acae96da 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedMobileLobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedMobileLobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs index 76df960711..c201e6ea82 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedMobileLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedMobileLobApp +{ /// /// Casts the previous resource to managedMobileLobApp. /// - public class GraphManagedMobileLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedMobileLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs index 155587d856..958af3912b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMicrosoftStoreForBusinessApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMicrosoftStoreForBusinessApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs index 500518dfe7..0a50ada0e0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMicrosoftStoreForBusinessApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMicrosoftStoreForBusinessApp +{ /// /// Casts the previous resource to microsoftStoreForBusinessApp. /// - public class GraphMicrosoftStoreForBusinessAppRequestBuilder : BaseCliRequestBuilder + public class GraphMicrosoftStoreForBusinessAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.cs index f2dbec70a8..c5d3047781 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWin32LobApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWin32LobApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs index 7fcb15d12a..7d1f68d8e0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWin32LobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWin32LobApp +{ /// /// Casts the previous resource to win32LobApp. /// - public class GraphWin32LobAppRequestBuilder : BaseCliRequestBuilder + public class GraphWin32LobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.cs index d1cc578d72..0fd2de6e5e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsAppX.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsAppX.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs index 75445c9acb..6e35e5095e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsAppX { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsAppX +{ /// /// Casts the previous resource to windowsAppX. /// - public class GraphWindowsAppXRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsAppXRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.cs index a2a8b32b51..c882cd0833 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsMobileMSI.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsMobileMSI.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs index b65e4588fd..4130526774 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsMobileMSI { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsMobileMSI +{ /// /// Casts the previous resource to windowsMobileMSI. /// - public class GraphWindowsMobileMSIRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsMobileMSIRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.cs index c884c9ae85..6368e23ab4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsUniversalAppX.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsUniversalAppX.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs index b76c7f2d69..f080917a39 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsUniversalAppX { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsUniversalAppX +{ /// /// Casts the previous resource to windowsUniversalAppX. /// - public class GraphWindowsUniversalAppXRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsUniversalAppXRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.cs index a02a54e88c..fcc6e79fc5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsWebApp.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsWebApp.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs index bedfc75a5b..0a51c73440 100644 --- a/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsWebApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.GraphWindowsWebApp +{ /// /// Casts the previous resource to windowsWebApp. /// - public class GraphWindowsWebAppRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsWebAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignPostRequestBody.cs index 95ae6a7ce4..7185d7c63b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mobileAppAssignments", n => { MobileAppAssignments = n.GetCollectionOfObjectValues(MobileAppAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mobileAppAssignments", n => { MobileAppAssignments = n.GetCollectionOfObjectValues(MobileAppAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs index 4417df92d3..b821f3edad 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assign { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action assign diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs index 37abf6e6aa..b0568a8765 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs index 69d8ef2b58..614642ab0b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 2ccb75e3bf..c1115f6aa9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a mobileAppAssignment. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs index 4228e150db..d57da1c515 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs index ebeaac4d38..789d5f4f10 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 95dfa4e95d..0e5cb143a6 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs index 3cfdcd70d8..d9b54488aa 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Count/CountRequestBuilder.cs index 4506d91623..10eb75fe5a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 4da649b771..60a80818c6 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.cs index ee66e514ed..5c65d4fadb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Count/CountRequestBuilder.cs index 333d943928..bd43084cbd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 1d4b598e0b..4544e4f7fa 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index 0ce825acdf..ab5a959e42 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs index 1002e4504c..e51ee78f6a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 411332b287..19ebb8746f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 797c63c0e9..c36cdf37c7 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index f4d086882d..a46ef1557f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 39f42f9c0a..85d6793113 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index bc015725a7..9475036134 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 2ff88a2b71..b2011241f4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 77fd0beba6..70be45c19c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 7475895694..8747e29060 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 3b9ca12902..b7ece13462 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 4972fc7f43..18b5e794c8 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs index 5955727b25..5e943c9c90 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp +{ /// /// Casts the previous resource to androidLobApp. /// - public class GraphAndroidLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphAndroidLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.cs index deabcd10c6..9cca4d45b9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Count/CountRequestBuilder.cs index d43b254e8d..db264eab1e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 8e42820d89..0b73b8e639 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.cs index b7562b4798..049bbfcf4b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Count/CountRequestBuilder.cs index df062e45bd..8e3e9f6655 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 7e996e8e16..4ea6f5a507 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs index f5d0af792c..0520d5b9e3 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp +{ /// /// Casts the previous resource to androidStoreApp. /// - public class GraphAndroidStoreAppRequestBuilder : BaseCliRequestBuilder + public class GraphAndroidStoreAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.cs index 863beccd92..8288ef2a5c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Count/CountRequestBuilder.cs index 29550ff53b..0d3ed8bf01 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index fd29ef90ea..b1e4f880fc 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.cs index ddb3bfc3ab..2fb5d91c80 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Count/CountRequestBuilder.cs index 9388bec384..7205f1ae04 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index c1840e2c8b..d0eff7cbf9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index 97d9224b90..6f5b0a5abf 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Count/CountRequestBuilder.cs index e5d0ee23ea..46d82119ba 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 1682d6cc37..4987e7c145 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 8a420dd97d..89051784ac 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 54ffa070cf..70ce1981a9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 796c050a30..a4d1089ce0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index 03f7fa2fbd..a30e447f85 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index e42ba03a55..d7a0dca4a2 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 5636586802..c8befe1fe5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index ec9398eef4..8cb3924a8d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index bc3784d282..35ad66e95b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 9d3da612dc..6160b16c3b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs index 8dc5d7d79c..25abd793f0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosLobApp +{ /// /// Casts the previous resource to iosLobApp. /// - public class GraphIosLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.cs index 07db845c45..76771c2cbf 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Count/CountRequestBuilder.cs index e1713a281d..506645b0e3 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 417a39b332..6e8b4f406a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.cs index 5c16f3af49..222ef53ef4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Count/CountRequestBuilder.cs index 96cb3c6898..a8882ced6d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 8fb7506c20..12bd7c51a3 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs index 77a8ce80bf..8129428a69 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp +{ /// /// Casts the previous resource to iosStoreApp. /// - public class GraphIosStoreAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosStoreAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.cs index 4608247c19..3c44e074d5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Count/CountRequestBuilder.cs index ddc20fb846..9babca8862 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 04589c8ae0..917da5330a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.cs index c7bcb77bc9..db013eaaf4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Count/CountRequestBuilder.cs index 0585d52b4c..c4ea8e9346 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index c97bc644a8..10e00adf76 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs index b7c76b01d9..54b2cbc45b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphIosVppApp +{ /// /// Casts the previous resource to iosVppApp. /// - public class GraphIosVppAppRequestBuilder : BaseCliRequestBuilder + public class GraphIosVppAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.cs index 341386d0a8..451eb302d8 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Count/CountRequestBuilder.cs index 836487e617..2a2b771c45 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 6e54614b56..7fc6ecc6ad 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.cs index 8d303b90f9..9e0471361a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Count/CountRequestBuilder.cs index 3f67e9b5f2..3636aba2ca 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index dbded3eb54..b13fd3d1a0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.cs index cee9f4100d..db04d8f272 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Count/CountRequestBuilder.cs index 85b280c90e..56f7b8006c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index f02d585629..b03d68ce0f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index b3a42a2be1..33a735e3ec 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 06e1a0fad7..848e927710 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index cef520b809..cd848a9637 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index e12166e5d4..9485245846 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 20cae9afdf..ca74eb9aaf 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 54a3f0d031..a27522621a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 5b1cbb6cbd..4f40b05315 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 0ca846ac89..569c9da08e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 0a2627f571..d2d93b5ae1 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs index 180e3e165f..51f6dd9945 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp +{ /// /// Casts the previous resource to macOSDmgApp. /// - public class GraphMacOSDmgAppRequestBuilder : BaseCliRequestBuilder + public class GraphMacOSDmgAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.cs index 86bc2f1cd5..939ec0d972 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Count/CountRequestBuilder.cs index 62844cdf39..3e6b356290 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index dca242b3a5..7beb7b88c5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.cs index ecaefa1349..4f6db17080 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Count/CountRequestBuilder.cs index 9791d03c9a..e4d2936378 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 56914b9e82..3f21a19b37 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index dd1337a6e7..475b24c46e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Count/CountRequestBuilder.cs index e22f95f2ca..d336261470 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 1f122e1b76..2af0df6b96 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 53b0fc4b62..6ee492747b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index be21b4c2d0..404d8579f8 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 47a6a610df..2a2d811817 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index dfcf1a85f9..a359804f9f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 5db4662f69..de7d0a04f4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 546cb8514c..d41690e841 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 1c7369a120..d3082ef697 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 4c353adbde..7c41915a25 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 3a07872e71..c6f679a484 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs index 812c65c30d..dc7bc6ea17 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp +{ /// /// Casts the previous resource to macOSLobApp. /// - public class GraphMacOSLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphMacOSLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs index 5d4e33f109..a17ad21a3a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Count/CountRequestBuilder.cs index 8b1dfcb401..f1ffd183c6 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 722a09d97f..22aac9aad6 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.cs index 1d44bb3673..f97d6946f7 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Count/CountRequestBuilder.cs index 03f298f6d1..9e93aa5b83 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index dc9d131172..d35a57d248 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index 1189d58457..f83c89a22f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs index e1dfa55874..1e70aa0584 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 065a31e8bb..e4c6caea3d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 61718281f7..4ee2b095c6 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 848271f6e1..f708e6ede4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 2c579029e8..990dd99206 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index 92313f918e..8304591f79 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index f8f45672ba..5fed8492e4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 55c79a1570..e2433c7455 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 07139d6f0d..eaed8b7cdb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 6e36e0fa69..16801cde3b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 564c7ecdef..33b6886c43 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs index a947c7cee3..1d3b50cc4b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp +{ /// /// Casts the previous resource to managedAndroidLobApp. /// - public class GraphManagedAndroidLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedAndroidLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.cs index ff032ef821..fdcef6c74b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Count/CountRequestBuilder.cs index 8f3f3fabc9..566dfb2934 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 24e3b37e6a..454f8de4ab 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.cs index d654bee9c5..9b032f6a0d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Count/CountRequestBuilder.cs index 12e4adaffd..7482b7e21e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 83d86f2d20..818f6b16b5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index e53a9a3c1f..a3c85be26f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Count/CountRequestBuilder.cs index cf8b9cf844..700ce90dfd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 9f4adb73fd..238f26f02e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 46664f1a03..411f67b846 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 3e977acdd3..0263a6b2cb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index d40bed9539..bb5a28af7b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index 6f4fe0f33f..f0e9f14485 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index d3dd311797..d2c6995d8c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 618f2e5eac..8266048049 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 4076a49bb6..ef966b847b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 89c6ae66b7..99f5bc74ef 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 3acb7843b5..6c50cc70a2 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs index b22b054883..19c5c3eb27 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp +{ /// /// Casts the previous resource to managedIOSLobApp. /// - public class GraphManagedIOSLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedIOSLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.cs index 413f4799ad..f6b2bf9d69 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Count/CountRequestBuilder.cs index ea76e5af30..52a2427871 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 512b797c83..255fb4a8de 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.cs index ed4038a043..5246be9f9e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Count/CountRequestBuilder.cs index 2e9bc22eaa..eb1db2c32c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index c5e4496ca8..1ac1c1f681 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.cs index 9bc2ed163d..bbe54bdb8d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Count/CountRequestBuilder.cs index 5d830c9837..a9a6b78ecc 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 3c73f835e7..27fa5a889a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 8962f2c252..8bae16b234 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index f673325a34..9998e92e9c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 708612f1bd..d0ec9db09b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index 60ce83bc56..19adce8dca 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index ce86c13bdd..324f941f9f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index e74ef2980f..aeb3c40efe 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 1578399d54..784a38cd55 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index b3a965df67..44679112bd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index d0fe5104d2..7d7f4a8070 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.managedMobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs index ebcee8cfee..12af5398f9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp +{ /// /// Casts the previous resource to managedMobileLobApp. /// - public class GraphManagedMobileLobAppRequestBuilder : BaseCliRequestBuilder + public class GraphManagedMobileLobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.cs index 35ce3d14c5..11f785c63f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Count/CountRequestBuilder.cs index 3e3dbaeb1c..321747f671 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 16fee1c033..356811a3dc 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.cs index 1523aeb745..cbaa947832 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Count/CountRequestBuilder.cs index 27f10084d6..6413f209ed 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index bd49e2c7f2..8c2a98c3cd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs index 592cf47849..ac4bd8228e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp +{ /// /// Casts the previous resource to microsoftStoreForBusinessApp. /// - public class GraphMicrosoftStoreForBusinessAppRequestBuilder : BaseCliRequestBuilder + public class GraphMicrosoftStoreForBusinessAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.cs index 959934216d..1700cf7ecc 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Count/CountRequestBuilder.cs index 9344b1daee..43299345bf 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 31afbfad22..c89b0f6315 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.cs index d260f0f6ef..d9d586f5e2 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Count/CountRequestBuilder.cs index 9151ed24a0..1371b6efd1 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 916c236591..c44a69a5a5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.cs index f32df16155..8e86b9fac8 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Count/CountRequestBuilder.cs index d168eb0714..9a83ec808a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 124f4d8323..29a3a5acfd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index 56edae1c53..1bda25b6ff 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 5359148659..d3af319dbd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index eb901eff38..ad8bc26b53 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs index 0e02ec191a..7279b9339b 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index d59f13648d..afc2a55d3d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 64f1b952d9..24ae18a31a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 6d5948d104..645f59ca1d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 1887562c00..0a620dee50 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 9118e5df25..94e4fb4e67 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs index 86433c4da6..279b5d9477 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp +{ /// /// Casts the previous resource to win32LobApp. /// - public class GraphWin32LobAppRequestBuilder : BaseCliRequestBuilder + public class GraphWin32LobAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.cs index fdf630cb06..beba1ac8d5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Count/CountRequestBuilder.cs index 26f96a2254..a945acc9eb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 034e077b9b..5348c43801 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.cs index c7766eb5f0..1006c97fd0 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Count/CountRequestBuilder.cs index ecf7da93bd..13f72738ee 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 7e6eaaad59..d8f764c3d9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.cs index 334facdfa0..0453d69e08 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Count/CountRequestBuilder.cs index a0d5a0e7ef..77356a8f76 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 1e99993f2f..6062b0afd9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index be98e793f6..7708b763ae 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 5665c50688..00cb4cb1ea 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 454226a8fe..76fa50ff7c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs index 5bedccd518..78a0fa6dbb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 57272eecb9..315610bf66 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 5e73e1beb3..aa8af8bc9c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 9d41babc13..bf57023b94 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 69946ccff0..2d8c136041 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 2b943f022e..33ba23a013 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs index 7557f4c151..04ff746a86 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX +{ /// /// Casts the previous resource to windowsAppX. /// - public class GraphWindowsAppXRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsAppXRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.cs index 9fe42d7bd2..a3faaa49e4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Count/CountRequestBuilder.cs index a12de18778..8ba9c1527c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 7223cff45d..01a6f5a3a4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.cs index 226b77cc8d..cfdb26f79a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Count/CountRequestBuilder.cs index f5d4656dc4..261805c991 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index ac617fdfd2..4dfb431a4c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.cs index 850e174192..82b7f70f7f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Count/CountRequestBuilder.cs index a7b0d22051..5821912262 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 576db95a40..a1a7e422b9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index a1ce3ca425..52318a8d25 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index d40ad8cc1f..f9fda004a9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 2e118ed593..da48918b5e 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.cs index d4b5df8008..356dd988d1 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 71a97548c3..6d81e65c48 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 495c95d827..eeb6cc3b0d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index a8741e18db..0e94a4354d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index 95ea05d692..05f0d75262 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index 1c32a98808..ddfbeabb05 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs index 6c592a9fa2..1abbd07576 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI +{ /// /// Casts the previous resource to windowsMobileMSI. /// - public class GraphWindowsMobileMSIRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsMobileMSIRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.cs index f680182b24..9129892606 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Count/CountRequestBuilder.cs index bfcdcd0ec9..ae9c44ccc3 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index a39246a1f3..2069154d40 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.cs index 889204fd51..ac9a15c0c1 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Count/CountRequestBuilder.cs index 683764ae92..8fcf436c3f 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index cc547daca1..612a1674eb 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.cs index 10cd1d00ad..f897d378f1 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps +{ /// /// Provides operations to manage the committedContainedApps property of the microsoft.graph.windowsUniversalAppX entity. /// - public class CommittedContainedAppsRequestBuilder : BaseCliRequestBuilder + public class CommittedContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the committedContainedApps property of the microsoft.graph.windowsUniversalAppX entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Count/CountRequestBuilder.cs index d37c639ace..c241238d85 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 70dffeb622..264f6d612d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.CommittedContainedApps.Item +{ /// /// Provides operations to manage the committedContainedApps property of the microsoft.graph.windowsUniversalAppX entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property committedContainedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.cs index ca460d2ade..bb4db8df62 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class ContentVersionsRequestBuilder : BaseCliRequestBuilder + public class ContentVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Count/CountRequestBuilder.cs index 40d490b04f..e930fce549 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs index 44811aff4f..09521a39e9 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class ContainedAppsRequestBuilder : BaseCliRequestBuilder + public class ContainedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs index ff6ff80115..7faba15c28 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs index 76e0f00e85..c729e2745d 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.ContainedApps.Item +{ /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. /// - public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileContainedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property containedApps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs index 027e21ded4..d1502d3756 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs index 98f00659ac..62e59703c4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs index 97fdf6c072..ea56cd13ac 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.Commit { - public class CommitPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.Commit +{ + #pragma warning disable CS1591 + public class CommitPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, + { "fileEncryptionInfo", n => { FileEncryptionInfo = n.GetObjectValue(ApiSdk.Models.FileEncryptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs index 781d79cb31..771c6bcc18 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.Commit { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.Commit +{ /// /// Provides operations to call the commit method. /// - public class CommitRequestBuilder : BaseCliRequestBuilder + public class CommitRequestBuilder : BaseCliRequestBuilder { /// /// Commits a file of a given app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs index 0db71f64b5..974a889657 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.mobileAppContent entity. /// - public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the commit method. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs index af2ca2ae2d..a20dc5d7fd 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.RenewUpload { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item.Files.Item.RenewUpload +{ /// /// Provides operations to call the renewUpload method. /// - public class RenewUploadRequestBuilder : BaseCliRequestBuilder + public class RenewUploadRequestBuilder : BaseCliRequestBuilder { /// /// Renews the SAS URI for an application file upload. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs index a1a222028e..9484a10978 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.ContentVersions.Item +{ /// /// Provides operations to manage the contentVersions property of the microsoft.graph.mobileLobApp entity. /// - public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the containedApps property of the microsoft.graph.mobileAppContent entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs index 2824fd57e5..6b91e764b7 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX +{ /// /// Casts the previous resource to windowsUniversalAppX. /// - public class GraphWindowsUniversalAppXRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsUniversalAppXRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.cs index 0d3c32d316..3d20e8fd20 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new mobileAppAssignment object. - /// Find more info here + /// Create new navigation property to assignments for deviceAppManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the mobileAppAssignment objects. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the mobileAppAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana { } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new mobileAppAssignment object. + /// Create new navigation property to assignments for deviceAppManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(MobileAppAssignment body, Act return requestInfo; } /// - /// List properties and relationships of the mobileAppAssignment objects. + /// The list of group assignments for this mobile app. /// public class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Count/CountRequestBuilder.cs index a9ae2cdb7f..f5e10fa801 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 37202a93f4..f0e2801d1a 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. /// - public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a mobileAppAssignment. - /// Find more info here + /// Delete navigation property assignments for deviceAppManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a mobileAppAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property assignments for deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the mobileAppAssignment object. - /// Find more info here + /// The list of group assignments for this mobile app. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0"; + command.Description = "The list of group assignments for this mobile app."; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a mobileAppAssignment object. - /// Find more info here + /// Update the navigation property assignments in deviceAppManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a mobileAppAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignments in deviceAppManagement"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public MobileAppAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a mobileAppAssignment. + /// Delete navigation property assignments for deviceAppManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a mobileAppAssignment object. + /// Update the navigation property assignments in deviceAppManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(MobileAppAssignment body, Ac return requestInfo; } /// - /// Read properties and relationships of the mobileAppAssignment object. + /// The list of group assignments for this mobile app. /// public class MobileAppAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.cs index aec7259c49..6a6ba361e5 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Count/CountRequestBuilder.cs index a30f4a9356..dfa6e8fa15 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories.Count { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index 849c0b25cc..7f6aff2c05 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Categories.Item +{ /// /// Provides operations to manage the categories property of the microsoft.graph.mobileApp entity. /// - public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// The list of categories for this app. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs index 4584260ac4..a676b78ec4 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp +{ /// /// Casts the previous resource to windowsWebApp. /// - public class GraphWindowsWebAppRequestBuilder : BaseCliRequestBuilder + public class GraphWindowsWebAppRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 14e586b1a8..57b1f9e57c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -33,11 +33,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps.Item { +namespace ApiSdk.DeviceAppManagement.MobileApps.Item +{ /// /// Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. /// - public class MobileAppItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. @@ -110,14 +111,14 @@ public Command BuildCategoriesNavCommand() return command; } /// - /// Deletes a managedIOSStoreApp. - /// Find more info here + /// Deletes a windowsMicrosoftEdgeApp. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a managedIOSStoreApp.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0"; + command.Description = "Deletes a windowsMicrosoftEdgeApp.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -146,14 +147,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the managedAndroidStoreApp object. - /// Find more info here + /// Read properties and relationships of the macOSOfficeSuiteApp object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the managedAndroidStoreApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the macOSOfficeSuiteApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -595,14 +596,14 @@ public Command BuildGraphWindowsWebAppByIdNavCommand() return command; } /// - /// Update the properties of a managedAndroidStoreApp object. - /// Find more info here + /// Update the properties of a iosStoreApp object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a managedAndroidStoreApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a iosStoreApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-update?view=graph-rest-1.0"; var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") { }; mobileAppIdOption.IsRequired = true; @@ -661,7 +662,7 @@ public MobileAppItemRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMa { } /// - /// Deletes a managedIOSStoreApp. + /// Deletes a windowsMicrosoftEdgeApp. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -680,7 +681,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAndroidStoreApp object. + /// Read properties and relationships of the macOSOfficeSuiteApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -699,7 +700,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a managedAndroidStoreApp object. + /// Update the properties of a iosStoreApp object. /// /// A /// The request body @@ -720,7 +721,7 @@ public RequestInformation ToPatchRequestInformation(MobileApp body, Action - /// Read properties and relationships of the managedAndroidStoreApp object. + /// Read properties and relationships of the macOSOfficeSuiteApp object. /// public class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index a62fdc51d7..5db102147c 100644 --- a/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -32,11 +32,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.MobileApps { +namespace ApiSdk.DeviceAppManagement.MobileApps +{ /// /// Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. /// - public class MobileAppsRequestBuilder : BaseCliRequestBuilder + public class MobileAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. @@ -89,14 +90,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new iosiPadOSWebClip object. - /// Find more info here + /// Create a new macOSOfficeSuiteApp object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new iosiPadOSWebClip object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-create?view=graph-rest-1.0"; + command.Description = "Create a new macOSOfficeSuiteApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -503,14 +504,14 @@ public Command BuildGraphWindowsWebAppNavCommand() return command; } /// - /// List properties and relationships of the iosStoreApp objects. - /// Find more info here + /// List properties and relationships of the windowsMobileMSI objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the iosStoreApp objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the windowsMobileMSI objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -586,7 +587,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -612,7 +615,7 @@ public MobileAppsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManag { } /// - /// List properties and relationships of the iosStoreApp objects. + /// List properties and relationships of the windowsMobileMSI objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -631,7 +634,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new iosiPadOSWebClip object. + /// Create a new macOSOfficeSuiteApp object. /// /// A /// The request body @@ -652,7 +655,7 @@ public RequestInformation ToPostRequestInformation(MobileApp body, Action - /// List properties and relationships of the iosStoreApp objects. + /// List properties and relationships of the windowsMobileMSI objects. /// public class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs index e8139a3fa0..70600e6aed 100644 --- a/src/generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.SyncMicrosoftStoreForBusinessApps { +namespace ApiSdk.DeviceAppManagement.SyncMicrosoftStoreForBusinessApps +{ /// /// Provides operations to call the syncMicrosoftStoreForBusinessApps method. /// - public class SyncMicrosoftStoreForBusinessAppsRequestBuilder : BaseCliRequestBuilder + public class SyncMicrosoftStoreForBusinessAppsRequestBuilder : BaseCliRequestBuilder { /// /// Syncs Intune account with Microsoft Store For Business diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs index d5f823ee7d..323e289cb4 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Count { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs index 9661b10b92..c357de53b5 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps +{ /// /// Provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. /// - public class AppsRequestBuilder : BaseCliRequestBuilder + public class AppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs index 3a568599cb..ed4d92e07d 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps.Count { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index 19ab17f306..889f986725 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps.Item { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Apps.Item +{ /// /// Provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. /// - public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder + public class ManagedMobileAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignPostRequestBody.cs index f92cb8c99a..de7f431188 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs index 4cded124d5..16f097ff58 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assign { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 90bcd87ba3..82f74408cb 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppConfiguration entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppConfiguration entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index 6ac8768ce4..7d2dbbbc18 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 5d64f8db53..84cc9fa175 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppConfiguration entity. /// - public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index 6816b13707..72460f920a 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.DeploymentSummary { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.DeploymentSummary +{ /// /// Provides operations to manage the deploymentSummary property of the microsoft.graph.targetedManagedAppConfiguration entity. /// - public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder + public class DeploymentSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsPostRequestBody.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsPostRequestBody.cs index 677f2af0aa..f288efa7cb 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsPostRequestBody.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.TargetApps { - public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.TargetApps +{ + #pragma warning disable CS1591 + public class TargetAppsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appGroupType", n => { AppGroupType = n.GetEnumValue(); } }, - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appGroupType", n => { AppGroupType = n.GetEnumValue(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs index 998bb50a71..d7ff425292 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.TargetApps { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item.TargetApps +{ /// /// Provides operations to call the targetApps method. /// - public class TargetAppsRequestBuilder : BaseCliRequestBuilder + public class TargetAppsRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs index 3ac6c83b86..90225debcc 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations.Item +{ /// /// Provides operations to manage the targetedManagedAppConfigurations property of the microsoft.graph.deviceAppManagement entity. /// - public class TargetedManagedAppConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. diff --git a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs index cece0763ce..ef5f40a8e1 100644 --- a/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations { +namespace ApiSdk.DeviceAppManagement.TargetedManagedAppConfigurations +{ /// /// Provides operations to manage the targetedManagedAppConfigurations property of the microsoft.graph.deviceAppManagement entity. /// - public class TargetedManagedAppConfigurationsRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the targetedManagedAppConfigurations property of the microsoft.graph.deviceAppManagement entity. @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs index 617c40bf2e..1803b4a1bf 100644 --- a/src/generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.VppTokens.Count { +namespace ApiSdk.DeviceAppManagement.VppTokens.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs b/src/generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs index b978cd6be2..d595a56657 100644 --- a/src/generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.VppTokens.Item.SyncLicenses { +namespace ApiSdk.DeviceAppManagement.VppTokens.Item.SyncLicenses +{ /// /// Provides operations to call the syncLicenses method. /// - public class SyncLicensesRequestBuilder : BaseCliRequestBuilder + public class SyncLicensesRequestBuilder : BaseCliRequestBuilder { /// /// Syncs licenses associated with a specific appleVolumePurchaseProgramToken diff --git a/src/generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs b/src/generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs index 7c05e98863..6abad036f8 100644 --- a/src/generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.VppTokens.Item { +namespace ApiSdk.DeviceAppManagement.VppTokens.Item +{ /// /// Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity. /// - public class VppTokenItemRequestBuilder : BaseCliRequestBuilder + public class VppTokenItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a vppToken. diff --git a/src/generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs b/src/generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs index b1881d2f3b..25285814c2 100644 --- a/src/generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.VppTokens { +namespace ApiSdk.DeviceAppManagement.VppTokens +{ /// /// Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity. /// - public class VppTokensRequestBuilder : BaseCliRequestBuilder + public class VppTokensRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs index 42b2dfcf5b..6dd44297c2 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Count { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs index c33420475a..5c560f891f 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs index c568f493d0..ec4e307aad 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments.Count { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index b48493efb5..78075fa5e9 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments.Item { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. /// - public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TargetedManagedAppPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs index e33dfe5bf6..7278125e81 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Count { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs index 2bec3775fa..95b1f21cef 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles +{ /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class ExemptAppLockerFilesRequestBuilder : BaseCliRequestBuilder + public class ExemptAppLockerFilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. @@ -53,13 +54,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create new navigation property to exemptAppLockerFiles for deviceAppManagement + /// Create a new windowsInformationProtectionAppLockerFile object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create new navigation property to exemptAppLockerFiles for deviceAppManagement"; + command.Description = "Create a new windowsInformationProtectionAppLockerFile object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-create?view=graph-rest-1.0"; var windowsInformationProtectionPolicyIdOption = new Option("--windows-information-protection-policy-id", description: "The unique identifier of windowsInformationProtectionPolicy") { }; windowsInformationProtectionPolicyIdOption.IsRequired = true; @@ -104,13 +106,14 @@ public Command BuildCreateCommand() return command; } /// - /// Another way to input exempt apps through xml files + /// List properties and relationships of the windowsInformationProtectionAppLockerFile objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Another way to input exempt apps through xml files"; + command.Description = "List properties and relationships of the windowsInformationProtectionAppLockerFile objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-list?view=graph-rest-1.0"; var windowsInformationProtectionPolicyIdOption = new Option("--windows-information-protection-policy-id", description: "The unique identifier of windowsInformationProtectionPolicy") { }; windowsInformationProtectionPolicyIdOption.IsRequired = true; @@ -192,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +223,7 @@ public ExemptAppLockerFilesRequestBuilder(string rawUrl) : base("{+baseurl}/devi { } /// - /// Another way to input exempt apps through xml files + /// List properties and relationships of the windowsInformationProtectionAppLockerFile objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -237,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to exemptAppLockerFiles for deviceAppManagement + /// Create a new windowsInformationProtectionAppLockerFile object. /// /// A /// The request body @@ -258,7 +263,7 @@ public RequestInformation ToPostRequestInformation(WindowsInformationProtectionA return requestInfo; } /// - /// Another way to input exempt apps through xml files + /// List properties and relationships of the windowsInformationProtectionAppLockerFile objects. /// public class ExemptAppLockerFilesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 7bc8902980..db8bd43bac 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Item { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ExemptAppLockerFiles.Item +{ /// /// Provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete navigation property exemptAppLockerFiles for deviceAppManagement + /// Deletes a windowsInformationProtectionAppLockerFile. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete navigation property exemptAppLockerFiles for deviceAppManagement"; + command.Description = "Deletes a windowsInformationProtectionAppLockerFile.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-delete?view=graph-rest-1.0"; var windowsInformationProtectionPolicyIdOption = new Option("--windows-information-protection-policy-id", description: "The unique identifier of windowsInformationProtectionPolicy") { }; windowsInformationProtectionPolicyIdOption.IsRequired = true; @@ -62,13 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Another way to input exempt apps through xml files + /// Read properties and relationships of the windowsInformationProtectionAppLockerFile object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Another way to input exempt apps through xml files"; + command.Description = "Read properties and relationships of the windowsInformationProtectionAppLockerFile object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-get?view=graph-rest-1.0"; var windowsInformationProtectionPolicyIdOption = new Option("--windows-information-protection-policy-id", description: "The unique identifier of windowsInformationProtectionPolicy") { }; windowsInformationProtectionPolicyIdOption.IsRequired = true; @@ -120,13 +123,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the navigation property exemptAppLockerFiles in deviceAppManagement + /// Update the properties of a windowsInformationProtectionAppLockerFile object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property exemptAppLockerFiles in deviceAppManagement"; + command.Description = "Update the properties of a windowsInformationProtectionAppLockerFile object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-update?view=graph-rest-1.0"; var windowsInformationProtectionPolicyIdOption = new Option("--windows-information-protection-policy-id", description: "The unique identifier of windowsInformationProtectionPolicy") { }; windowsInformationProtectionPolicyIdOption.IsRequired = true; @@ -191,7 +195,7 @@ public WindowsInformationProtectionAppLockerFileItemRequestBuilder(string rawUrl { } /// - /// Delete navigation property exemptAppLockerFiles for deviceAppManagement + /// Deletes a windowsInformationProtectionAppLockerFile. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -210,7 +214,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Another way to input exempt apps through xml files + /// Read properties and relationships of the windowsInformationProtectionAppLockerFile object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -229,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property exemptAppLockerFiles in deviceAppManagement + /// Update the properties of a windowsInformationProtectionAppLockerFile object. /// /// A /// The request body @@ -250,7 +254,7 @@ public RequestInformation ToPatchRequestInformation(WindowsInformationProtection return requestInfo; } /// - /// Another way to input exempt apps through xml files + /// Read properties and relationships of the windowsInformationProtectionAppLockerFile object. /// public class WindowsInformationProtectionAppLockerFileItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs index 4f8012c176..9b6d172be9 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Count { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 3e4c0d009b..e823f7b10e 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Item { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles.Item +{ /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLockerFileItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property protectedAppLockerFiles for deviceAppManagement diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs index fcf94212d9..47e2b56a6c 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item.ProtectedAppLockerFiles +{ /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. /// - public class ProtectedAppLockerFilesRequestBuilder : BaseCliRequestBuilder + public class ProtectedAppLockerFilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs index 9a852cb3e3..9936d2a7a0 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies.Item +{ /// /// Provides operations to manage the windowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class WindowsInformationProtectionPolicyItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. diff --git a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs index e3526148ec..2c098bb8fb 100644 --- a/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs +++ b/src/generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies { +namespace ApiSdk.DeviceAppManagement.WindowsInformationProtectionPolicies +{ /// /// Provides operations to manage the windowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. /// - public class WindowsInformationProtectionPoliciesRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the windowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs b/src/generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs index 4508799739..075ef20132 100644 --- a/src/generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs +++ b/src/generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate { +namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate +{ /// /// Provides operations to manage the applePushNotificationCertificate property of the microsoft.graph.deviceManagement entity. /// - public class ApplePushNotificationCertificateRequestBuilder : BaseCliRequestBuilder + public class ApplePushNotificationCertificateRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property applePushNotificationCertificate for deviceManagement diff --git a/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestGetResponse.cs b/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestGetResponse.cs index a3270003fd..ca22a7a0d3 100644 --- a/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestGetResponse.cs +++ b/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate.DownloadApplePushNotificationCertificateSigningRequest { - public class DownloadApplePushNotificationCertificateSigningRequestGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate.DownloadApplePushNotificationCertificateSigningRequest +{ + #pragma warning disable CS1591 + public class DownloadApplePushNotificationCertificateSigningRequestGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs b/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs index 44d4d0f0fa..b5085c3533 100644 --- a/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs +++ b/src/generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate.DownloadApplePushNotificationCertificateSigningRequest { +namespace ApiSdk.DeviceManagement.ApplePushNotificationCertificate.DownloadApplePushNotificationCertificateSigningRequest +{ /// /// Provides operations to call the downloadApplePushNotificationCertificateSigningRequest method. /// - public class DownloadApplePushNotificationCertificateSigningRequestRequestBuilder : BaseCliRequestBuilder + public class DownloadApplePushNotificationCertificateSigningRequestRequestBuilder : BaseCliRequestBuilder { /// /// Download Apple push notification certificate signing request + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Download Apple push notification certificate signing request"; + command.Description = "Download Apple push notification certificate signing request\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-applepushnotificationcertificate-downloadapplepushnotificationcertificatesigningrequest?view=graph-rest-1.0"; var outputOption = new Option("--output", () => FormatterType.JSON); command.AddOption(outputOption); var queryOption = new Option("--query"); diff --git a/src/generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs b/src/generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs index 9aaf6124e3..1718f39854 100644 --- a/src/generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs +++ b/src/generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.AuditEvents { +namespace ApiSdk.DeviceManagement.AuditEvents +{ /// /// Provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity. /// - public class AuditEventsRequestBuilder : BaseCliRequestBuilder + public class AuditEventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs index d58a9e0a9e..1c9c2802f1 100644 --- a/src/generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.Count { +namespace ApiSdk.DeviceManagement.AuditEvents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryGetResponse.cs b/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryGetResponse.cs index 62f5879710..469a732a34 100644 --- a/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryGetResponse.cs +++ b/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditActivityTypesWithCategory { - public class GetAuditActivityTypesWithCategoryGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditActivityTypesWithCategory +{ + #pragma warning disable CS1591 + public class GetAuditActivityTypesWithCategoryGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs b/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs index 9bc7f83763..7efdc28345 100644 --- a/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs +++ b/src/generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditActivityTypesWithCategory { +namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditActivityTypesWithCategory +{ /// /// Provides operations to call the getAuditActivityTypes method. /// - public class GetAuditActivityTypesWithCategoryRequestBuilder : BaseCliRequestBuilder + public class GetAuditActivityTypesWithCategoryRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getAuditActivityTypes @@ -87,7 +88,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesGetResponse.cs b/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesGetResponse.cs index 6174a8fcf4..f58374d889 100644 --- a/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesGetResponse.cs +++ b/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditCategories { - public class GetAuditCategoriesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditCategories +{ + #pragma warning disable CS1591 + public class GetAuditCategoriesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs b/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs index 3424c18074..a8867d0e19 100644 --- a/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs +++ b/src/generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditCategories { +namespace ApiSdk.DeviceManagement.AuditEvents.GetAuditCategories +{ /// /// Provides operations to call the getAuditCategories method. /// - public class GetAuditCategoriesRequestBuilder : BaseCliRequestBuilder + public class GetAuditCategoriesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getAuditCategories + /// Not yet documented + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getAuditCategories"; + command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-auditing-auditevent-getauditcategories?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public GetAuditCategoriesRequestBuilder(string rawUrl) : base("{+baseurl}/device { } /// - /// Invoke function getAuditCategories + /// Not yet documented /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAuditCategories + /// Not yet documented /// public class GetAuditCategoriesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs b/src/generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs index 717022ad4f..20501760f6 100644 --- a/src/generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.AuditEvents.Item { +namespace ApiSdk.DeviceManagement.AuditEvents.Item +{ /// /// Provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity. /// - public class AuditEventItemRequestBuilder : BaseCliRequestBuilder + public class AuditEventItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a auditEvent. diff --git a/src/generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs b/src/generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs index ea3ab5e028..4f8ff49454 100644 --- a/src/generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs +++ b/src/generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ComplianceManagementPartners { +namespace ApiSdk.DeviceManagement.ComplianceManagementPartners +{ /// /// Provides operations to manage the complianceManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class ComplianceManagementPartnersRequestBuilder : BaseCliRequestBuilder + public class ComplianceManagementPartnersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the complianceManagementPartners property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs index dc0317a767..7e392ff678 100644 --- a/src/generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ComplianceManagementPartners.Count { +namespace ApiSdk.DeviceManagement.ComplianceManagementPartners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs b/src/generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs index 1fe7f33398..b5efab08ae 100644 --- a/src/generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ComplianceManagementPartners.Item { +namespace ApiSdk.DeviceManagement.ComplianceManagementPartners.Item +{ /// /// Provides operations to manage the complianceManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class ComplianceManagementPartnerItemRequestBuilder : BaseCliRequestBuilder + public class ComplianceManagementPartnerItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a complianceManagementPartner. diff --git a/src/generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs b/src/generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs index 7b62e39958..3ce07eaff7 100644 --- a/src/generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs +++ b/src/generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ConditionalAccessSettings { +namespace ApiSdk.DeviceManagement.ConditionalAccessSettings +{ /// /// Provides operations to manage the conditionalAccessSettings property of the microsoft.graph.deviceManagement entity. /// - public class ConditionalAccessSettingsRequestBuilder : BaseCliRequestBuilder + public class ConditionalAccessSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property conditionalAccessSettings for deviceManagement diff --git a/src/generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs index 197ccb912e..3415fc2c4c 100644 --- a/src/generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps.Count { +namespace ApiSdk.DeviceManagement.DetectedApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs index d11ad3274e..4cf6e67a5a 100644 --- a/src/generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps { +namespace ApiSdk.DeviceManagement.DetectedApps +{ /// /// Provides operations to manage the detectedApps property of the microsoft.graph.deviceManagement entity. /// - public class DetectedAppsRequestBuilder : BaseCliRequestBuilder + public class DetectedAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the detectedApps property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs index 68f82296bf..39a25f70d7 100644 --- a/src/generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps.Item { +namespace ApiSdk.DeviceManagement.DetectedApps.Item +{ /// /// Provides operations to manage the detectedApps property of the microsoft.graph.deviceManagement entity. /// - public class DetectedAppItemRequestBuilder : BaseCliRequestBuilder + public class DetectedAppItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a detectedApp. diff --git a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs index 18b32f7555..932a68de31 100644 --- a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices.Count { +namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 884afcdca0..4d61fff31b 100644 --- a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices.Item { +namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices.Item +{ /// /// Provides operations to manage the managedDevices property of the microsoft.graph.detectedApp entity. /// - public class ManagedDeviceItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceItemRequestBuilder : BaseCliRequestBuilder { /// /// The devices that have the discovered application installed diff --git a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs index a0fd893428..b7d8e3257e 100644 --- a/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices { +namespace ApiSdk.DeviceManagement.DetectedApps.Item.ManagedDevices +{ /// /// Provides operations to manage the managedDevices property of the microsoft.graph.detectedApp entity. /// - public class ManagedDevicesRequestBuilder : BaseCliRequestBuilder + public class ManagedDevicesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedDevices property of the microsoft.graph.detectedApp entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs index d6bfa7eb0f..09cf62ace7 100644 --- a/src/generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCategories.Count { +namespace ApiSdk.DeviceManagement.DeviceCategories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs index 68290a875c..1e4feaed15 100644 --- a/src/generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCategories { +namespace ApiSdk.DeviceManagement.DeviceCategories +{ /// /// Provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCategoriesRequestBuilder : BaseCliRequestBuilder + public class DeviceCategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs index 8641f168c7..4bdd479301 100644 --- a/src/generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCategories.Item { +namespace ApiSdk.DeviceManagement.DeviceCategories.Item +{ /// /// Provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCategoryItemRequestBuilder : BaseCliRequestBuilder + public class DeviceCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceCategory. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs index 79de9e7533..1fb544526c 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 4e3ef90b82..4333229664 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies +{ /// /// Provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCompliancePoliciesRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity. @@ -63,14 +64,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new windowsPhone81CompliancePolicy object. - /// Find more info here + /// Create a new windows10MobileCompliancePolicy object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new windowsPhone81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-create?view=graph-rest-1.0"; + command.Description = "Create a new windows10MobileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-create?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -109,14 +110,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the macOSCompliancePolicy objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the windowsPhone81CompliancePolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the macOSCompliancePolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +221,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. + /// List properties and relationships of the macOSCompliancePolicy objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -237,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsPhone81CompliancePolicy object. + /// Create a new windows10MobileCompliancePolicy object. /// /// A /// The request body @@ -258,7 +261,7 @@ public RequestInformation ToPostRequestInformation(DeviceCompliancePolicy body, return requestInfo; } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. + /// List properties and relationships of the macOSCompliancePolicy objects. /// public class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostRequestBody.cs index 5d9d2fafdd..4baef1e6da 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostResponse.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostResponse.cs index 19e6ee6a0c..71a6ca0121 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostResponse.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign { - public class AssignPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs index a7543782d0..fca38ab9a7 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs index bb7c5b44a1..80bd69255a 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs index 1804d43162..07a057cc85 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs index 60e8f33557..4e37e18dde 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceCompliancePolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceCompliancePolicyAssignment. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 2292ed6a40..99acf01f72 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item +{ /// /// Provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCompliancePolicyItemRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. @@ -74,14 +75,14 @@ public Command BuildAssignNavCommand() return command; } /// - /// Deletes a androidCompliancePolicy. - /// Find more info here + /// Deletes a iosCompliancePolicy. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a androidCompliancePolicy.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-delete?view=graph-rest-1.0"; + command.Description = "Deletes a iosCompliancePolicy.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -183,14 +184,14 @@ public Command BuildDeviceStatusOverviewNavCommand() return command; } /// - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the windows81CompliancePolicy object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the windowsPhone81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the windows81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -236,14 +237,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a windowsPhone81CompliancePolicy object. - /// Find more info here + /// Update the properties of a androidWorkProfileCompliancePolicy object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a windowsPhone81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a androidWorkProfileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -392,7 +393,7 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl) : base("{+baseurl { } /// - /// Deletes a androidCompliancePolicy. + /// Deletes a iosCompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -411,7 +412,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. + /// Read properties and relationships of the windows81CompliancePolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -430,7 +431,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CompliancePolicy object. + /// Update the properties of a androidWorkProfileCompliancePolicy object. /// /// A /// The request body @@ -451,7 +452,7 @@ public RequestInformation ToPatchRequestInformation(DeviceCompliancePolicy body, return requestInfo; } /// - /// Read properties and relationships of the windowsPhone81CompliancePolicy object. + /// Read properties and relationships of the windows81CompliancePolicy object. /// public class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs index 2f13a31a20..822ec1d99f 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs index a5bc2acf20..d8b8388d43 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries +{ /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceSettingStateSummariesRequestBuilder : BaseCliRequestBuilder + public class DeviceSettingStateSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceCompliancePolicy entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs index 0b538ce3ce..9294b5cec3 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceSettingStateSummaries.Item +{ /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class SettingStateDeviceSummaryItemRequestBuilder : BaseCliRequestBuilder + public class SettingStateDeviceSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceSettingStateSummaries for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs index 8a29976bdf..a87852d53f 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatusOverview { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatusOverview +{ /// /// Provides operations to manage the deviceStatusOverview property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceStatusOverviewRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceStatusOverview for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs index ed22c8f0b1..e8e686ed1c 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 94bf408ded..fe306aee3a 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceCompliancePolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs index 9382ce0374..de395fa3c9 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.DeviceStatuses.Item +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceComplianceDeviceStatusItemRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceDeviceStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceComplianceDeviceStatus. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesPostRequestBody.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesPostRequestBody.cs index 241434846d..b63abca052 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesPostRequestBody.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduleActionsForRules { - public class ScheduleActionsForRulesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduleActionsForRules +{ + #pragma warning disable CS1591 + public class ScheduleActionsForRulesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"deviceComplianceScheduledActionForRules", n => { DeviceComplianceScheduledActionForRules = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceComplianceScheduledActionForRules", n => { DeviceComplianceScheduledActionForRules = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs index feb8dcc3a5..f69d468333 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduleActionsForRules { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduleActionsForRules +{ /// /// Provides operations to call the scheduleActionsForRules method. /// - public class ScheduleActionsForRulesRequestBuilder : BaseCliRequestBuilder + public class ScheduleActionsForRulesRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs index 1a71b2a67d..62d38268a6 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index c9113daf81..8bd82b3412 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item +{ /// /// Provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceComplianceScheduledActionForRuleItemRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceScheduledActionForRuleItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceComplianceScheduledActionForRule. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs index a3b69b5083..5f68412c2f 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs index e246976194..814a38f07f 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations.Item +{ /// /// Provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceComplianceScheduledActionForRule entity. /// - public class DeviceComplianceActionItemItemRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceActionItemItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a deviceComplianceActionItem. - /// Find more info here + /// Delete navigation property scheduledActionConfigurations for deviceManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a deviceComplianceActionItem.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property scheduledActionConfigurations for deviceManagement"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the deviceComplianceActionItem object. - /// Find more info here + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the deviceComplianceActionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-get?view=graph-rest-1.0"; + command.Description = "The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action."; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -134,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a deviceComplianceActionItem object. - /// Find more info here + /// Update the navigation property scheduledActionConfigurations in deviceManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a deviceComplianceActionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property scheduledActionConfigurations in deviceManagement"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -212,7 +210,7 @@ public DeviceComplianceActionItemItemRequestBuilder(string rawUrl) : base("{+bas { } /// - /// Deletes a deviceComplianceActionItem. + /// Delete navigation property scheduledActionConfigurations for deviceManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceComplianceActionItem object. + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -250,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceComplianceActionItem object. + /// Update the navigation property scheduledActionConfigurations in deviceManagement /// /// A /// The request body @@ -271,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(DeviceComplianceActionItem b return requestInfo; } /// - /// Read properties and relationships of the deviceComplianceActionItem object. + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// public class DeviceComplianceActionItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs index f461c96dab..09a2418bac 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.Item.ScheduledActionConfigurations +{ /// /// Provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceComplianceScheduledActionForRule entity. /// - public class ScheduledActionConfigurationsRequestBuilder : BaseCliRequestBuilder + public class ScheduledActionConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceComplianceScheduledActionForRule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new deviceComplianceActionItem object. - /// Find more info here + /// Create new navigation property to scheduledActionConfigurations for deviceManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new deviceComplianceActionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to scheduledActionConfigurations for deviceManagement"; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the deviceComplianceActionItem objects. - /// Find more info here + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the deviceComplianceActionItem objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-list?view=graph-rest-1.0"; + command.Description = "The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action."; var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") { }; deviceCompliancePolicyIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public ScheduledActionConfigurationsRequestBuilder(string rawUrl) : base("{+base { } /// - /// List properties and relationships of the deviceComplianceActionItem objects. + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new deviceComplianceActionItem object. + /// Create new navigation property to scheduledActionConfigurations for deviceManagement /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(DeviceComplianceActionItem bo return requestInfo; } /// - /// List properties and relationships of the deviceComplianceActionItem objects. + /// The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. /// public class ScheduledActionConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index 25866e14ae..1f908a6675 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule +{ /// /// Provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class ScheduledActionsForRuleRequestBuilder : BaseCliRequestBuilder + public class ScheduledActionsForRuleRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceCompliancePolicy entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs index bf76ff0d0f..ae0c5489e7 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatusOverview { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatusOverview +{ /// /// Provides operations to manage the userStatusOverview property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class UserStatusOverviewRequestBuilder : BaseCliRequestBuilder + public class UserStatusOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userStatusOverview for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs index 88ad4ea31b..1a870ff8f4 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs index 3c30b141f9..d30fb3d36a 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses.Item +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class DeviceComplianceUserStatusItemRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceUserStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceComplianceUserStatus. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs index 893cdb2902..7f700a337a 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicies.Item.UserStatuses +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceCompliancePolicy entity. /// - public class UserStatusesRequestBuilder : BaseCliRequestBuilder + public class UserStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceCompliancePolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs index 0169fbb617..cf7aad2aa9 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicyDeviceStateSummary { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicyDeviceStateSummary +{ /// /// Provides operations to manage the deviceCompliancePolicyDeviceStateSummary property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicyDeviceStateSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceCompliancePolicyDeviceStateSummary for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs index 50a2b074ba..c4080c84b3 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs index 3f2ae6e0a6..7a01faf37c 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries +{ /// /// Provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCompliancePolicySettingStateSummariesRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicySettingStateSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs index c319c66a14..f926a1cee8 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item +{ /// /// Provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.deviceManagement entity. /// - public class DeviceCompliancePolicySettingStateSummaryItemRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicySettingStateSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceCompliancePolicySettingStateSummary. diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs index c40d6c838d..870e598e2c 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates.Count { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs index 269a02f49a..ab2c1b88ba 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates +{ /// /// Provides operations to manage the deviceComplianceSettingStates property of the microsoft.graph.deviceCompliancePolicySettingStateSummary entity. /// - public class DeviceComplianceSettingStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceSettingStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceComplianceSettingStates property of the microsoft.graph.deviceCompliancePolicySettingStateSummary entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs index 3b6dffb13a..e357de3402 100644 --- a/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates.Item { +namespace ApiSdk.DeviceManagement.DeviceCompliancePolicySettingStateSummaries.Item.DeviceComplianceSettingStates.Item +{ /// /// Provides operations to manage the deviceComplianceSettingStates property of the microsoft.graph.deviceCompliancePolicySettingStateSummary entity. /// - public class DeviceComplianceSettingStateItemRequestBuilder : BaseCliRequestBuilder + public class DeviceComplianceSettingStateItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceComplianceSettingState. diff --git a/src/generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs index 4df763825f..b58cb2a134 100644 --- a/src/generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurationDeviceStateSummaries { +namespace ApiSdk.DeviceManagement.DeviceConfigurationDeviceStateSummaries +{ /// /// Provides operations to manage the deviceConfigurationDeviceStateSummaries property of the microsoft.graph.deviceManagement entity. /// - public class DeviceConfigurationDeviceStateSummariesRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationDeviceStateSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceConfigurationDeviceStateSummaries for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs index cb7e030106..ea982ef850 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Count { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index 99e78cbfe2..b3e23a71ba 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations { +namespace ApiSdk.DeviceManagement.DeviceConfigurations +{ /// /// Provides operations to manage the deviceConfigurations property of the microsoft.graph.deviceManagement entity. /// - public class DeviceConfigurationsRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceConfigurations property of the microsoft.graph.deviceManagement entity. @@ -62,14 +63,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new androidCustomConfiguration object. - /// Find more info here + /// Create a new windows10CustomConfiguration object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new androidCustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-create?view=graph-rest-1.0"; + command.Description = "Create a new windows10CustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-create?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -108,14 +109,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the androidCustomConfiguration objects. - /// Find more info here + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the androidCustomConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the macOSGeneralDeviceConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -191,7 +192,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -217,7 +220,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl) : base("{+baseurl}/devi { } /// - /// List properties and relationships of the androidCustomConfiguration objects. + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -236,7 +239,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new androidCustomConfiguration object. + /// Create a new windows10CustomConfiguration object. /// /// A /// The request body @@ -257,7 +260,7 @@ public RequestInformation ToPostRequestInformation(DeviceConfiguration body, Act return requestInfo; } /// - /// List properties and relationships of the androidCustomConfiguration objects. + /// List properties and relationships of the macOSGeneralDeviceConfiguration objects. /// public class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostRequestBody.cs index 848e7ac206..a0e8d96165 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostResponse.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostResponse.cs index c15109645e..c6e4096f29 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostResponse.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign { - public class AssignPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs index fc7cf61d49..3bc1b67d2e 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index e207d2b2bf..f5752886be 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index bdeee3db17..17ea4d806a 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs index ab01140bec..d5841078f9 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceConfigurationAssignment. diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index 579bbc0e72..fc28269cc5 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item +{ /// /// Provides operations to manage the deviceConfigurations property of the microsoft.graph.deviceManagement entity. /// - public class DeviceConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. @@ -73,14 +74,14 @@ public Command BuildAssignNavCommand() return command; } /// - /// Deletes a editionUpgradeConfiguration. - /// Find more info here + /// Deletes a iosDeviceFeaturesConfiguration. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a editionUpgradeConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-delete?view=graph-rest-1.0"; + command.Description = "Deletes a iosDeviceFeaturesConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0"; var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") { }; deviceConfigurationIdOption.IsRequired = true; @@ -182,14 +183,14 @@ public Command BuildDeviceStatusOverviewNavCommand() return command; } /// - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. - /// Find more info here + /// Read properties and relationships of the androidCustomConfiguration object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the androidCustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0"; var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") { }; deviceConfigurationIdOption.IsRequired = true; @@ -252,14 +253,14 @@ public Command BuildGetOmaSettingPlainTextValueWithSecretReferenceValueIdRbComma return command; } /// - /// Update the properties of a windowsPhone81CustomConfiguration object. - /// Find more info here + /// Update the properties of a androidWorkProfileCustomConfiguration object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a windowsPhone81CustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a androidWorkProfileCustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-update?view=graph-rest-1.0"; var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") { }; deviceConfigurationIdOption.IsRequired = true; @@ -364,7 +365,7 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes a editionUpgradeConfiguration. + /// Deletes a iosDeviceFeaturesConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -383,7 +384,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. + /// Read properties and relationships of the androidCustomConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -402,7 +403,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CustomConfiguration object. + /// Update the properties of a androidWorkProfileCustomConfiguration object. /// /// A /// The request body @@ -423,7 +424,7 @@ public RequestInformation ToPatchRequestInformation(DeviceConfiguration body, Ac return requestInfo; } /// - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. + /// Read properties and relationships of the androidCustomConfiguration object. /// public class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs index 866f1f60cb..5318ecd0a4 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries.Count { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs index 8c717f1dc3..62ae77192f 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries +{ /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceSettingStateSummariesRequestBuilder : BaseCliRequestBuilder + public class DeviceSettingStateSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs index ea2d6692a0..c62899e2ba 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries.Item { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceSettingStateSummaries.Item +{ /// /// Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity. /// - public class SettingStateDeviceSummaryItemRequestBuilder : BaseCliRequestBuilder + public class SettingStateDeviceSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a settingStateDeviceSummary. diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs index e2145c6511..d4c43a02e8 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatusOverview { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatusOverview +{ /// /// Provides operations to manage the deviceStatusOverview property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceStatusOverviewRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceStatusOverview for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs index d42295edd8..3f53333d41 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses.Count { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 816d911b44..e8714772bd 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder + public class DeviceStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs index 598e4d001a..2302eabc3a 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses.Item { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.DeviceStatuses.Item +{ /// /// Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceConfigurationDeviceStatusItemRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationDeviceStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceConfigurationDeviceStatus. diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse.cs index 304521b8a4..dbc3474943 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.GetOmaSettingPlainTextValueWithSecretReferenceValueId { - public class GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.GetOmaSettingPlainTextValueWithSecretReferenceValueId +{ + #pragma warning disable CS1591 + public class GetOmaSettingPlainTextValueWithSecretReferenceValueIdGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs index 30bb89bd39..2a612ca199 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.GetOmaSettingPlainTextValueWithSecretReferenceValueId { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.GetOmaSettingPlainTextValueWithSecretReferenceValueId +{ /// /// Provides operations to call the getOmaSettingPlainTextValue method. /// - public class GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder : BaseCliRequestBuilder + public class GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getOmaSettingPlainTextValue diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs index f64d6c2cc1..ea633592aa 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatusOverview { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatusOverview +{ /// /// Provides operations to manage the userStatusOverview property of the microsoft.graph.deviceConfiguration entity. /// - public class UserStatusOverviewRequestBuilder : BaseCliRequestBuilder + public class UserStatusOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userStatusOverview for deviceManagement diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs index 58126ab8ec..ad63bd894f 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses.Count { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs index 46fad805b8..ff791d6a6a 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses.Item { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses.Item +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity. /// - public class DeviceConfigurationUserStatusItemRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationUserStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceConfigurationUserStatus. diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs index 3c44c7405e..eb8bf1cb53 100644 --- a/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses { +namespace ApiSdk.DeviceManagement.DeviceConfigurations.Item.UserStatuses +{ /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity. /// - public class UserStatusesRequestBuilder : BaseCliRequestBuilder + public class UserStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs index 44218422cb..3a77aba025 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Count { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index c591d78653..7cdd09f53c 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations +{ /// /// Provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.deviceManagement entity. /// - public class DeviceEnrollmentConfigurationsRequestBuilder : BaseCliRequestBuilder + public class DeviceEnrollmentConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.deviceManagement entity. @@ -57,14 +58,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Create a new deviceEnrollmentLimitConfiguration object. + /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0"; + command.Description = "Create a new deviceEnrollmentLimitConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Create a new deviceEnrollmentLimitConfiguration object. /// /// A /// The request body diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignPostRequestBody.cs index 4a1149c772..71a1e7b62e 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"enrollmentConfigurationAssignments", n => { EnrollmentConfigurationAssignments = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "enrollmentConfigurationAssignments", n => { EnrollmentConfigurationAssignments = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs index 270db905f6..462621586e 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assign { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index c93e0d112c..cf0b1743f0 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index ec2739095e..9e9a34cdaf 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs index 0127b8a304..5c796b3f33 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. /// - public class EnrollmentConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class EnrollmentConfigurationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a enrollmentConfigurationAssignment. diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index aa3f304dc2..da1074a1d4 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item +{ /// /// Provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.deviceManagement entity. /// - public class DeviceEnrollmentConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class DeviceEnrollmentConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. @@ -68,14 +69,14 @@ public Command BuildAssignNavCommand() return command; } /// - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0"; + command.Description = "Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0"; var deviceEnrollmentConfigurationIdOption = new Option("--device-enrollment-configuration-id", description: "The unique identifier of deviceEnrollmentConfiguration") { }; deviceEnrollmentConfigurationIdOption.IsRequired = true; @@ -157,14 +158,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a deviceEnrollmentLimitConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0"; var deviceEnrollmentConfigurationIdOption = new Option("--device-enrollment-configuration-id", description: "The unique identifier of deviceEnrollmentConfiguration") { }; deviceEnrollmentConfigurationIdOption.IsRequired = true; @@ -240,7 +241,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl) : base("{+ { } /// - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -278,7 +279,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Update the properties of a deviceEnrollmentLimitConfiguration object. /// /// A /// The request body diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityPostRequestBody.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityPostRequestBody.cs index f266c1e571..8aecb41d14 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityPostRequestBody.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.SetPriority { - public class SetPriorityPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.SetPriority +{ + #pragma warning disable CS1591 + public class SetPriorityPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"priority", n => { Priority = n.GetIntValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs index a730389f94..266cf7ad36 100644 --- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.SetPriority { +namespace ApiSdk.DeviceManagement.DeviceEnrollmentConfigurations.Item.SetPriority +{ /// /// Provides operations to call the setPriority method. /// - public class SetPriorityRequestBuilder : BaseCliRequestBuilder + public class SetPriorityRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs index c1baee39d7..afb70ac897 100644 --- a/src/generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Count { +namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs index 897a713170..5693fdaa8d 100644 --- a/src/generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceManagementPartners { +namespace ApiSdk.DeviceManagement.DeviceManagementPartners +{ /// /// Provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class DeviceManagementPartnersRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementPartnersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs index 6637b39711..fc94addb28 100644 --- a/src/generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Item { +namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Item +{ /// /// Provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class DeviceManagementPartnerItemRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementPartnerItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceManagementPartner. diff --git a/src/generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs index 1afd318ebb..85f474175d 100644 --- a/src/generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Item.Terminate { +namespace ApiSdk.DeviceManagement.DeviceManagementPartners.Item.Terminate +{ /// /// Provides operations to call the terminate method. /// - public class TerminateRequestBuilder : BaseCliRequestBuilder + public class TerminateRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 4e536ca9d1..8f03686718 100644 --- a/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -75,11 +75,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement { +namespace ApiSdk.DeviceManagement +{ /// /// Provides operations to manage the deviceManagement singleton. /// - public class DeviceManagementRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the applePushNotificationCertificate property of the microsoft.graph.deviceManagement entity. @@ -437,13 +438,13 @@ public Command BuildExchangeConnectorsNavCommand() } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-wip-devicemanagement-get?view=graph-rest-1.0"; + command.Description = "Read properties and relationships of the deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-get?view=graph-rest-1.0"; var selectOption = new Option("--select", description: "Select properties to be returned") { Arity = ArgumentArity.ZeroOrMore }; @@ -681,13 +682,13 @@ public Command BuildNotificationMessageTemplatesNavCommand() } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mstunnel-devicemanagement-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-update?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; diff --git a/src/generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs index de9d4db150..7dd305fc79 100644 --- a/src/generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ExchangeConnectors.Count { +namespace ApiSdk.DeviceManagement.ExchangeConnectors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs b/src/generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs index 18fc4d8a2c..04280cd516 100644 --- a/src/generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs +++ b/src/generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ExchangeConnectors { +namespace ApiSdk.DeviceManagement.ExchangeConnectors +{ /// /// Provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. /// - public class ExchangeConnectorsRequestBuilder : BaseCliRequestBuilder + public class ExchangeConnectorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs b/src/generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs index 3e87950e26..d98cad45ea 100644 --- a/src/generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item { +namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item +{ /// /// Provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. /// - public class DeviceManagementExchangeConnectorItemRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementExchangeConnectorItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceManagementExchangeConnector. diff --git a/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncPostRequestBody.cs b/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncPostRequestBody.cs index 2c92e8c275..9e4a1322fb 100644 --- a/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncPostRequestBody.cs +++ b/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item.Sync { - public class SyncPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item.Sync +{ + #pragma warning disable CS1591 + public class SyncPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -37,7 +40,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"syncType", n => { SyncType = n.GetEnumValue(); } }, + { "syncType", n => { SyncType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs b/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs index 7eedfeecf1..abaaf64348 100644 --- a/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs +++ b/src/generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item.Sync { +namespace ApiSdk.DeviceManagement.ExchangeConnectors.Item.Sync +{ /// /// Provides operations to call the sync method. /// - public class SyncRequestBuilder : BaseCliRequestBuilder + public class SyncRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeGetResponse.cs b/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeGetResponse.cs index 83b46297b4..e94cd0ec1d 100644 --- a/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeGetResponse.cs +++ b/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.GetEffectivePermissionsWithScope { - public class GetEffectivePermissionsWithScopeGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.GetEffectivePermissionsWithScope +{ + #pragma warning disable CS1591 + public class GetEffectivePermissionsWithScopeGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(RolePermission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(RolePermission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs b/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs index da75581a81..2abaafb633 100644 --- a/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs +++ b/src/generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.GetEffectivePermissionsWithScope { +namespace ApiSdk.DeviceManagement.GetEffectivePermissionsWithScope +{ /// /// Provides operations to call the getEffectivePermissions method. /// - public class GetEffectivePermissionsWithScopeRequestBuilder : BaseCliRequestBuilder + public class GetEffectivePermissionsWithScopeRequestBuilder : BaseCliRequestBuilder { /// /// Retrieves the effective permissions of the currently authenticated user + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieves the effective permissions of the currently authenticated user"; + command.Description = "Retrieves the effective permissions of the currently authenticated user\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-geteffectivepermissions?view=graph-rest-1.0"; var scopeOption = new Option("--scope", description: "Usage: scope='{scope}'") { }; scopeOption.IsRequired = true; @@ -87,7 +89,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs index 4ed5bc8b19..0a28eff47e 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Count { +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostRequestBody.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostRequestBody.cs index b416907893..f801a75bdf 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostRequestBody.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import { - public class ImportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import +{ + #pragma warning disable CS1591 + public class ImportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"importedWindowsAutopilotDeviceIdentities", n => { ImportedWindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "importedWindowsAutopilotDeviceIdentities", n => { ImportedWindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostResponse.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostResponse.cs index 6e6a9ab19d..8f225c98ca 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostResponse.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import { - public class ImportPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import +{ + #pragma warning disable CS1591 + public class ImportPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs index a0999a55b0..10b2e2811a 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import { +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Import +{ /// /// Provides operations to call the import method. /// - public class ImportRequestBuilder : BaseCliRequestBuilder + public class ImportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs index aa5a99688a..79fb4a9e31 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities { +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities +{ /// /// Provides operations to manage the importedWindowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. /// - public class ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder : BaseCliRequestBuilder + public class ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the importedWindowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs index c7bfc06ad7..9a62586cbb 100644 --- a/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Item { +namespace ApiSdk.DeviceManagement.ImportedWindowsAutopilotDeviceIdentities.Item +{ /// /// Provides operations to manage the importedWindowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. /// - public class ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder : BaseCliRequestBuilder + public class ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a importedWindowsAutopilotDeviceIdentity. diff --git a/src/generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs index 73cf56b031..811bbcb458 100644 --- a/src/generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.IosUpdateStatuses.Count { +namespace ApiSdk.DeviceManagement.IosUpdateStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs b/src/generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs index 4d556346ff..57a2b915e9 100644 --- a/src/generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.IosUpdateStatuses { +namespace ApiSdk.DeviceManagement.IosUpdateStatuses +{ /// /// Provides operations to manage the iosUpdateStatuses property of the microsoft.graph.deviceManagement entity. /// - public class IosUpdateStatusesRequestBuilder : BaseCliRequestBuilder + public class IosUpdateStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the iosUpdateStatuses property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs index cdd5002153..a949594ad3 100644 --- a/src/generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.IosUpdateStatuses.Item { +namespace ApiSdk.DeviceManagement.IosUpdateStatuses.Item +{ /// /// Provides operations to manage the iosUpdateStatuses property of the microsoft.graph.deviceManagement entity. /// - public class IosUpdateDeviceStatusItemRequestBuilder : BaseCliRequestBuilder + public class IosUpdateDeviceStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a iosUpdateDeviceStatus. diff --git a/src/generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs index 05be1857e8..b442952abe 100644 --- a/src/generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDeviceOverview { +namespace ApiSdk.DeviceManagement.ManagedDeviceOverview +{ /// /// Provides operations to manage the managedDeviceOverview property of the microsoft.graph.deviceManagement entity. /// - public class ManagedDeviceOverviewRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceOverviewRequestBuilder : BaseCliRequestBuilder { /// - /// Read properties and relationships of the managedDeviceOverview object. - /// Find more info here + /// Device overview /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the managedDeviceOverview object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-manageddeviceoverview-get?view=graph-rest-1.0"; + command.Description = "Device overview"; var selectOption = new Option("--select", description: "Select properties to be returned") { Arity = ArgumentArity.ZeroOrMore }; @@ -82,7 +82,7 @@ public ManagedDeviceOverviewRequestBuilder(string rawUrl) : base("{+baseurl}/dev { } /// - /// Read properties and relationships of the managedDeviceOverview object. + /// Device overview /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,7 +101,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Read properties and relationships of the managedDeviceOverview object. + /// Device overview /// public class ManagedDeviceOverviewRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs index d6fbab1b68..08d3030c8b 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Count { +namespace ApiSdk.DeviceManagement.ManagedDevices.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs index b2e99a138b..39e5ac722b 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.BypassActivationLock { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.BypassActivationLock +{ /// /// Provides operations to call the bypassActivationLock method. /// - public class BypassActivationLockRequestBuilder : BaseCliRequestBuilder + public class BypassActivationLockRequestBuilder : BaseCliRequestBuilder { /// /// Bypass activation lock diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index 8702f4ed81..85faedce20 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.CleanWindowsDevice { - public class CleanWindowsDevicePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.CleanWindowsDevice +{ + #pragma warning disable CS1591 + public class CleanWindowsDevicePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, + { "keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs index 4e589d6fa9..372fd4517c 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.CleanWindowsDevice { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.CleanWindowsDevice +{ /// /// Provides operations to call the cleanWindowsDevice method. /// - public class CleanWindowsDeviceRequestBuilder : BaseCliRequestBuilder + public class CleanWindowsDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Clean Windows device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs index 6a5fbe4ebf..803756b1d0 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDevicePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeleteUserFromSharedAppleDevice { - public class DeleteUserFromSharedAppleDevicePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeleteUserFromSharedAppleDevice +{ + #pragma warning disable CS1591 + public class DeleteUserFromSharedAppleDevicePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs index 72669a658c..42790b0267 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeleteUserFromSharedAppleDevice { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeleteUserFromSharedAppleDevice +{ /// /// Provides operations to call the deleteUserFromSharedAppleDevice method. /// - public class DeleteUserFromSharedAppleDeviceRequestBuilder : BaseCliRequestBuilder + public class DeleteUserFromSharedAppleDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Delete user from shared Apple device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs index a3cdc5d706..8811646f9c 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCategory { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCategory +{ /// /// Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity. /// - public class DeviceCategoryRequestBuilder : BaseCliRequestBuilder + public class DeviceCategoryRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceCategory for deviceManagement @@ -56,14 +57,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the deviceCategory object. - /// Find more info here + /// Device category /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the deviceCategory object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-devicecategory-get?view=graph-rest-1.0"; + command.Description = "Device category"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -109,14 +109,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a deviceCategory object. - /// Find more info here + /// Update the navigation property deviceCategory in deviceManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a deviceCategory object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-devicecategory-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property deviceCategory in deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -194,7 +193,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceCategory object. + /// Device category /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +212,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceCategory object. + /// Update the navigation property deviceCategory in deviceManagement /// /// A /// The request body @@ -234,7 +233,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.DeviceCategory return requestInfo; } /// - /// Read properties and relationships of the deviceCategory object. + /// Device category /// public class DeviceCategoryRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs index 5bf23c65d3..c4a1fd62bf 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates.Count { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs index 34273c0272..ce066b50da 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates +{ /// /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. /// - public class DeviceCompliancePolicyStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicyStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs index d7f619b76c..57a45b162f 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates.Item { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceCompliancePolicyStates.Item +{ /// /// Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. /// - public class DeviceCompliancePolicyStateItemRequestBuilder : BaseCliRequestBuilder + public class DeviceCompliancePolicyStateItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceCompliancePolicyStates for deviceManagement diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs index ab3513f3d3..655d302ba1 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates.Count { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs index 0540e369ae..24d270fe06 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates +{ /// /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. /// - public class DeviceConfigurationStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs index 4d68a00be6..b7d46ece82 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates.Item { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates.Item +{ /// /// Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. /// - public class DeviceConfigurationStateItemRequestBuilder : BaseCliRequestBuilder + public class DeviceConfigurationStateItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceConfigurationStates for deviceManagement diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs index e76e30bf5f..6ea01fac08 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DisableLostMode { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.DisableLostMode +{ /// /// Provides operations to call the disableLostMode method. /// - public class DisableLostModeRequestBuilder : BaseCliRequestBuilder + public class DisableLostModeRequestBuilder : BaseCliRequestBuilder { /// /// Disable lost mode diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs index c45caa2339..65c86a8951 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LocateDevice { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LocateDevice +{ /// /// Provides operations to call the locateDevice method. /// - public class LocateDeviceRequestBuilder : BaseCliRequestBuilder + public class LocateDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Locate a device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs index 8a3c18c50e..eff1ba35ad 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Count { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs index c50c91baa9..4c5803c109 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl { - public class CreateDownloadUrlPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl +{ + #pragma warning disable CS1591 + public class CreateDownloadUrlPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index 1f0fe7c364..087c60d1f9 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl +{ /// /// Provides operations to call the createDownloadUrl method. /// - public class CreateDownloadUrlRequestBuilder : BaseCliRequestBuilder + public class CreateDownloadUrlRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action createDownloadUrl diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs index fb871eb0bd..bcb44f25df 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item +{ /// /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. /// - public class DeviceLogCollectionResponseItemRequestBuilder : BaseCliRequestBuilder + public class DeviceLogCollectionResponseItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the createDownloadUrl method. diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs index 786b0ed5de..35558b02cc 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogCollectionRequests +{ /// /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. /// - public class LogCollectionRequestsRequestBuilder : BaseCliRequestBuilder + public class LogCollectionRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs index a7fd04a8cc..6bde5e802e 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser +{ /// /// Provides operations to call the logoutSharedAppleDeviceActiveUser method. /// - public class LogoutSharedAppleDeviceActiveUserRequestBuilder : BaseCliRequestBuilder + public class LogoutSharedAppleDeviceActiveUserRequestBuilder : BaseCliRequestBuilder { /// /// Logout shared Apple device active user diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 06e3009076..a19668014d 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -38,11 +38,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item +{ /// /// Provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity. /// - public class ManagedDeviceItemRequestBuilder : BaseCliRequestBuilder + public class ManagedDeviceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the bypassActivationLock method. @@ -222,14 +223,13 @@ public Command BuildDisableLostModeNavCommand() return command; } /// - /// Read properties and relationships of the managedDevice object. - /// Find more info here + /// The list of managed devices. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the managedDevice object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-manageddevice-get?view=graph-rest-1.0"; + command.Description = "The list of managed devices."; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -336,14 +336,13 @@ public Command BuildLogoutSharedAppleDeviceActiveUserNavCommand() return command; } /// - /// Update the properties of a managedDevice object. - /// Find more info here + /// Update the navigation property managedDevices in deviceManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a managedDevice object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-manageddevice-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property managedDevices in deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -667,7 +666,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDevice object. + /// The list of managed devices. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -686,7 +685,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a managedDevice object. + /// Update the navigation property managedDevices in deviceManagement /// /// A /// The request body @@ -707,7 +706,7 @@ public RequestInformation ToPatchRequestInformation(ManagedDevice body, Action - /// Read properties and relationships of the managedDevice object. + /// The list of managed devices. /// public class ManagedDeviceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs index 13ece87b87..365330be8e 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RebootNow { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RebootNow +{ /// /// Provides operations to call the rebootNow method. /// - public class RebootNowRequestBuilder : BaseCliRequestBuilder + public class RebootNowRequestBuilder : BaseCliRequestBuilder { /// /// Reboot device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs index 5bcd8abfc7..1f887b4009 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RecoverPasscode { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RecoverPasscode +{ /// /// Provides operations to call the recoverPasscode method. /// - public class RecoverPasscodeRequestBuilder : BaseCliRequestBuilder + public class RecoverPasscodeRequestBuilder : BaseCliRequestBuilder { /// /// Recover passcode diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs index 175c054c04..5e5844ef76 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RemoteLock { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RemoteLock +{ /// /// Provides operations to call the remoteLock method. /// - public class RemoteLockRequestBuilder : BaseCliRequestBuilder + public class RemoteLockRequestBuilder : BaseCliRequestBuilder { /// /// Remote lock diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs index 21ac22d53c..bbc8c6bf73 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance +{ /// /// Provides operations to call the requestRemoteAssistance method. /// - public class RequestRemoteAssistanceRequestBuilder : BaseCliRequestBuilder + public class RequestRemoteAssistanceRequestBuilder : BaseCliRequestBuilder { /// /// Request remote assistance diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs index 443073b39d..236bbfda5b 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.ResetPasscode { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.ResetPasscode +{ /// /// Provides operations to call the resetPasscode method. /// - public class ResetPasscodeRequestBuilder : BaseCliRequestBuilder + public class ResetPasscodeRequestBuilder : BaseCliRequestBuilder { /// /// Reset passcode diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs index b259af7117..8e957c7946 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Retire { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Retire +{ /// /// Provides operations to call the retire method. /// - public class RetireRequestBuilder : BaseCliRequestBuilder + public class RetireRequestBuilder : BaseCliRequestBuilder { /// /// Retire a device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs index 75da7fcc72..2f648b9e70 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.ShutDown { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.ShutDown +{ /// /// Provides operations to call the shutDown method. /// - public class ShutDownRequestBuilder : BaseCliRequestBuilder + public class ShutDownRequestBuilder : BaseCliRequestBuilder { /// /// Shut down device diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs index 851c0eb107..d55fe169c1 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.SyncDevice { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.SyncDevice +{ /// /// Provides operations to call the syncDevice method. /// - public class SyncDeviceRequestBuilder : BaseCliRequestBuilder + public class SyncDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs b/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs index 1628e296fd..b047d2c4e5 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount { - public class UpdateWindowsDeviceAccountPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount +{ + #pragma warning disable CS1591 + public class UpdateWindowsDeviceAccountPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"updateWindowsDeviceAccountActionParameter", n => { UpdateWindowsDeviceAccountActionParameter = n.GetObjectValue(ApiSdk.Models.UpdateWindowsDeviceAccountActionParameter.CreateFromDiscriminatorValue); } }, + { "updateWindowsDeviceAccountActionParameter", n => { UpdateWindowsDeviceAccountActionParameter = n.GetObjectValue(ApiSdk.Models.UpdateWindowsDeviceAccountActionParameter.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs index 75a79418f2..d57889aa86 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount +{ /// /// Provides operations to call the updateWindowsDeviceAccount method. /// - public class UpdateWindowsDeviceAccountRequestBuilder : BaseCliRequestBuilder + public class UpdateWindowsDeviceAccountRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs index 0993f468da..202975092c 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Users { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Users +{ /// /// Provides operations to manage the users property of the microsoft.graph.managedDevice entity. /// - public class UsersRequestBuilder : BaseCliRequestBuilder + public class UsersRequestBuilder : BaseCliRequestBuilder { /// - /// List properties and relationships of the user objects. - /// Find more info here + /// The primary users associated with the managed device. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "List properties and relationships of the user objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-user-list?view=graph-rest-1.0"; + command.Description = "The primary users associated with the managed device."; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -110,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -136,7 +138,7 @@ public UsersRequestBuilder(string rawUrl) : base("{+baseurl}/deviceManagement/ma { } /// - /// List properties and relationships of the user objects. + /// The primary users associated with the managed device. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -155,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List properties and relationships of the user objects. + /// The primary users associated with the managed device. /// public class UsersRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index 24dfdd63af..cfcf9182c8 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan { - public class WindowsDefenderScanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan +{ + #pragma warning disable CS1591 + public class WindowsDefenderScanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"quickScan", n => { QuickScan = n.GetBoolValue(); } }, + { "quickScan", n => { QuickScan = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs index 819b266dce..4a0000ee96 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan +{ /// /// Provides operations to call the windowsDefenderScan method. /// - public class WindowsDefenderScanRequestBuilder : BaseCliRequestBuilder + public class WindowsDefenderScanRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs index 6b56557307..3f10e6c7f6 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderUpdateSignatures { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsDefenderUpdateSignatures +{ /// /// Provides operations to call the windowsDefenderUpdateSignatures method. /// - public class WindowsDefenderUpdateSignaturesRequestBuilder : BaseCliRequestBuilder + public class WindowsDefenderUpdateSignaturesRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs index 1f1f59aab8..f3bd09fe18 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs index c30bf62c6b..00b97658ca 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState +{ /// /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. /// - public class DetectedMalwareStateRequestBuilder : BaseCliRequestBuilder + public class DetectedMalwareStateRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new windowsDeviceMalwareState object. - /// Find more info here + /// Create new navigation property to detectedMalwareState for deviceManagement /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new windowsDeviceMalwareState object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsdevicemalwarestate-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to detectedMalwareState for deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the windowsDeviceMalwareState objects. - /// Find more info here + /// Device malware list /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the windowsDeviceMalwareState objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsdevicemalwarestate-list?view=graph-rest-1.0"; + command.Description = "Device malware list"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public DetectedMalwareStateRequestBuilder(string rawUrl) : base("{+baseurl}/devi { } /// - /// List properties and relationships of the windowsDeviceMalwareState objects. + /// Device malware list /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsDeviceMalwareState object. + /// Create new navigation property to detectedMalwareState for deviceManagement /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(WindowsDeviceMalwareState bod return requestInfo; } /// - /// List properties and relationships of the windowsDeviceMalwareState objects. + /// Device malware list /// public class DetectedMalwareStateRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs index 156a254994..e4d514fdd9 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item +{ /// /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. /// - public class WindowsDeviceMalwareStateItemRequestBuilder : BaseCliRequestBuilder + public class WindowsDeviceMalwareStateItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a windowsDeviceMalwareState. - /// Find more info here + /// Delete navigation property detectedMalwareState for deviceManagement /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a windowsDeviceMalwareState.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsdevicemalwarestate-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property detectedMalwareState for deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read properties and relationships of the windowsDeviceMalwareState object. - /// Find more info here + /// Device malware list /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the windowsDeviceMalwareState object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsdevicemalwarestate-get?view=graph-rest-1.0"; + command.Description = "Device malware list"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a windowsDeviceMalwareState object. - /// Find more info here + /// Update the navigation property detectedMalwareState in deviceManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a windowsDeviceMalwareState object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsdevicemalwarestate-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property detectedMalwareState in deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public WindowsDeviceMalwareStateItemRequestBuilder(string rawUrl) : base("{+base { } /// - /// Deletes a windowsDeviceMalwareState. + /// Delete navigation property detectedMalwareState for deviceManagement /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsDeviceMalwareState object. + /// Device malware list /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsDeviceMalwareState object. + /// Update the navigation property detectedMalwareState in deviceManagement /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(WindowsDeviceMalwareState bo return requestInfo; } /// - /// Read properties and relationships of the windowsDeviceMalwareState object. + /// Device malware list /// public class WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs index 91fed09ca5..c5062ff750 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.WindowsProtectionState +{ /// /// Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity. /// - public class WindowsProtectionStateRequestBuilder : BaseCliRequestBuilder + public class WindowsProtectionStateRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property windowsProtectionState for deviceManagement @@ -84,14 +85,13 @@ public Command BuildDetectedMalwareStateNavCommand() return command; } /// - /// Read properties and relationships of the windowsProtectionState object. - /// Find more info here + /// The device protection status. This property is read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read properties and relationships of the windowsProtectionState object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsprotectionstate-get?view=graph-rest-1.0"; + command.Description = "The device protection status. This property is read-only."; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -137,14 +137,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a windowsProtectionState object. - /// Find more info here + /// Update the navigation property windowsProtectionState in deviceManagement /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a windowsProtectionState object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-windowsprotectionstate-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property windowsProtectionState in deviceManagement"; var managedDeviceIdOption = new Option("--managed-device-id", description: "The unique identifier of managedDevice") { }; managedDeviceIdOption.IsRequired = true; @@ -222,7 +221,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsProtectionState object. + /// The device protection status. This property is read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsProtectionState object. + /// Update the navigation property windowsProtectionState in deviceManagement /// /// A /// The request body @@ -262,7 +261,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.WindowsProtect return requestInfo; } /// - /// Read properties and relationships of the windowsProtectionState object. + /// The device protection status. This property is read-only. /// public class WindowsProtectionStateRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index 609e40c77d..cafac7e952 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Wipe { - public class WipePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Wipe +{ + #pragma warning disable CS1591 + public class WipePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keepEnrollmentData", n => { KeepEnrollmentData = n.GetBoolValue(); } }, - {"keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, - {"macOsUnlockCode", n => { MacOsUnlockCode = n.GetStringValue(); } }, - {"persistEsimDataPlan", n => { PersistEsimDataPlan = n.GetBoolValue(); } }, + { "keepEnrollmentData", n => { KeepEnrollmentData = n.GetBoolValue(); } }, + { "keepUserData", n => { KeepUserData = n.GetBoolValue(); } }, + { "macOsUnlockCode", n => { MacOsUnlockCode = n.GetStringValue(); } }, + { "persistEsimDataPlan", n => { PersistEsimDataPlan = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs index 070a34820d..945590e381 100644 --- a/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Wipe { +namespace ApiSdk.DeviceManagement.ManagedDevices.Item.Wipe +{ /// /// Provides operations to call the wipe method. /// - public class WipeRequestBuilder : BaseCliRequestBuilder + public class WipeRequestBuilder : BaseCliRequestBuilder { /// /// Wipe a device diff --git a/src/generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs index 1cf571c323..a082a2f242 100644 --- a/src/generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ManagedDevices { +namespace ApiSdk.DeviceManagement.ManagedDevices +{ /// /// Provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity. /// - public class ManagedDevicesRequestBuilder : BaseCliRequestBuilder + public class ManagedDevicesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity. @@ -124,14 +125,13 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the managedDevice objects. - /// Find more info here + /// The list of managed devices. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the managedDevice objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0"; + command.Description = "The list of managed devices."; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -207,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,7 +235,7 @@ public ManagedDevicesRequestBuilder(string rawUrl) : base("{+baseurl}/deviceMana { } /// - /// List properties and relationships of the managedDevice objects. + /// The list of managed devices. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -273,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ManagedDevice body, Action - /// List properties and relationships of the managedDevice objects. + /// The list of managed devices. /// public class ManagedDevicesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs index 5767175380..de4bf13344 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Count { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 3cc496fb1e..9c6afe95f0 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests +{ /// /// Provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. /// - public class AppLogCollectionRequestsRequestBuilder : BaseCliRequestBuilder + public class AppLogCollectionRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs index 72b7720608..222c8fee6e 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Count { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index f8ce412515..177b209e63 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Item { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Item +{ /// /// Provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. /// - public class AppLogCollectionRequestItemRequestBuilder : BaseCliRequestBuilder + public class AppLogCollectionRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the createDownloadUrl method. diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index f1ae75ef8d..aa351d25ac 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Item.CreateDownloadUrl { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.Item.CreateDownloadUrl +{ /// /// Provides operations to call the createDownloadUrl method. /// - public class CreateDownloadUrlRequestBuilder : BaseCliRequestBuilder + public class CreateDownloadUrlRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs index 60e39f9594..36c6f17c65 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents.Item +{ /// /// Provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity. /// - public class MobileAppTroubleshootingEventItemRequestBuilder : BaseCliRequestBuilder + public class MobileAppTroubleshootingEventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. diff --git a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs index dfd59b95b6..884914095a 100644 --- a/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents { +namespace ApiSdk.DeviceManagement.MobileAppTroubleshootingEvents +{ /// /// Provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity. /// - public class MobileAppTroubleshootingEventsRequestBuilder : BaseCliRequestBuilder + public class MobileAppTroubleshootingEventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs index 6c29ca619f..42884d99cd 100644 --- a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors.Count { +namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs index 50a489d226..5de43aaab3 100644 --- a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors.Item { +namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors.Item +{ /// /// Provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity. /// - public class MobileThreatDefenseConnectorItemRequestBuilder : BaseCliRequestBuilder + public class MobileThreatDefenseConnectorItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a mobileThreatDefenseConnector. diff --git a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs index b47ee264f1..6ca7e4809d 100644 --- a/src/generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs +++ b/src/generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors { +namespace ApiSdk.DeviceManagement.MobileThreatDefenseConnectors +{ /// /// Provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity. /// - public class MobileThreatDefenseConnectorsRequestBuilder : BaseCliRequestBuilder + public class MobileThreatDefenseConnectorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs index 8011c32360..fd4945b961 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Count { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs index 5d9f3633f3..958d1306a6 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages.Count { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs index 13fbc1f561..1af65cacc0 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages.Item { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages.Item +{ /// /// Provides operations to manage the localizedNotificationMessages property of the microsoft.graph.notificationMessageTemplate entity. /// - public class LocalizedNotificationMessageItemRequestBuilder : BaseCliRequestBuilder + public class LocalizedNotificationMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a localizedNotificationMessage. diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs index cf86cd4e58..f82b6b1534 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.LocalizedNotificationMessages +{ /// /// Provides operations to manage the localizedNotificationMessages property of the microsoft.graph.notificationMessageTemplate entity. /// - public class LocalizedNotificationMessagesRequestBuilder : BaseCliRequestBuilder + public class LocalizedNotificationMessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the localizedNotificationMessages property of the microsoft.graph.notificationMessageTemplate entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs index 6ffc80bc25..66501f9a97 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item +{ /// /// Provides operations to manage the notificationMessageTemplates property of the microsoft.graph.deviceManagement entity. /// - public class NotificationMessageTemplateItemRequestBuilder : BaseCliRequestBuilder + public class NotificationMessageTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a notificationMessageTemplate. diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs index b9923ea393..892fe15690 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.SendTestMessage { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates.Item.SendTestMessage +{ /// /// Provides operations to call the sendTestMessage method. /// - public class SendTestMessageRequestBuilder : BaseCliRequestBuilder + public class SendTestMessageRequestBuilder : BaseCliRequestBuilder { /// /// Sends test message using the specified notificationMessageTemplate in the default locale diff --git a/src/generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs b/src/generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs index ad89b14042..ddfde133a6 100644 --- a/src/generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs +++ b/src/generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.NotificationMessageTemplates { +namespace ApiSdk.DeviceManagement.NotificationMessageTemplates +{ /// /// Provides operations to manage the notificationMessageTemplates property of the microsoft.graph.deviceManagement entity. /// - public class NotificationMessageTemplatesRequestBuilder : BaseCliRequestBuilder + public class NotificationMessageTemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the notificationMessageTemplates property of the microsoft.graph.deviceManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs index 6e7963c666..20c6c46e03 100644 --- a/src/generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Count { +namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs index a6cf7a5d5a..d0ce3f65d9 100644 --- a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs +++ b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item.BeginOnboarding { +namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item.BeginOnboarding +{ /// /// Provides operations to call the beginOnboarding method. /// - public class BeginOnboardingRequestBuilder : BaseCliRequestBuilder + public class BeginOnboardingRequestBuilder : BaseCliRequestBuilder { /// /// A request to start onboarding. Must be coupled with the appropriate TeamViewer account information diff --git a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs index 430dff959a..df0494112c 100644 --- a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs +++ b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item.Disconnect { +namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item.Disconnect +{ /// /// Provides operations to call the disconnect method. /// - public class DisconnectRequestBuilder : BaseCliRequestBuilder + public class DisconnectRequestBuilder : BaseCliRequestBuilder { /// /// A request to remove the active TeamViewer connector diff --git a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs index 339d4329d8..a119d5121a 100644 --- a/src/generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item { +namespace ApiSdk.DeviceManagement.RemoteAssistancePartners.Item +{ /// /// Provides operations to manage the remoteAssistancePartners property of the microsoft.graph.deviceManagement entity. /// - public class RemoteAssistancePartnerItemRequestBuilder : BaseCliRequestBuilder + public class RemoteAssistancePartnerItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the beginOnboarding method. diff --git a/src/generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs b/src/generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs index a3ac3155bb..3041400c3e 100644 --- a/src/generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs +++ b/src/generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RemoteAssistancePartners { +namespace ApiSdk.DeviceManagement.RemoteAssistancePartners +{ /// /// Provides operations to manage the remoteAssistancePartners property of the microsoft.graph.deviceManagement entity. /// - public class RemoteAssistancePartnersRequestBuilder : BaseCliRequestBuilder + public class RemoteAssistancePartnersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the remoteAssistancePartners property of the microsoft.graph.deviceManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs index bae4a565cd..4f5f44a1bc 100644 --- a/src/generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.ExportJobs.Count { +namespace ApiSdk.DeviceManagement.Reports.ExportJobs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs b/src/generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs index c54935dd71..b3161bf3a8 100644 --- a/src/generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.ExportJobs { +namespace ApiSdk.DeviceManagement.Reports.ExportJobs +{ /// /// Provides operations to manage the exportJobs property of the microsoft.graph.deviceManagementReports entity. /// - public class ExportJobsRequestBuilder : BaseCliRequestBuilder + public class ExportJobsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the exportJobs property of the microsoft.graph.deviceManagementReports entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs b/src/generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs index b5398dd73e..ee41bd49c9 100644 --- a/src/generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.ExportJobs.Item { +namespace ApiSdk.DeviceManagement.Reports.ExportJobs.Item +{ /// /// Provides operations to manage the exportJobs property of the microsoft.graph.deviceManagementReports entity. /// - public class DeviceManagementExportJobItemRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementExportJobItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceManagementExportJob. diff --git a/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportPostRequestBody.cs index 333365a9ab..658b54f528 100644 --- a/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCachedReport { - public class GetCachedReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetCachedReport +{ + #pragma warning disable CS1591 + public class GetCachedReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -78,13 +81,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs index 475f8ddc15..2c6b621546 100644 --- a/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCachedReport { +namespace ApiSdk.DeviceManagement.Reports.GetCachedReport +{ /// /// Provides operations to call the getCachedReport method. /// - public class GetCachedReportRequestBuilder : BaseCliRequestBuilder + public class GetCachedReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportPostRequestBody.cs index a34b26392c..68d23a10b4 100644 --- a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceReport { - public class GetCompliancePolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetCompliancePolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs index 18cd7668b9..8be8882124 100644 --- a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceReport +{ /// /// Provides operations to call the getCompliancePolicyNonComplianceReport method. /// - public class GetCompliancePolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetCompliancePolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportPostRequestBody.cs index 141e68d8fa..ccfa74a0ee 100644 --- a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceSummaryReport { - public class GetCompliancePolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceSummaryReport +{ + #pragma warning disable CS1591 + public class GetCompliancePolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs index c9f21b6dc4..7bb39c21c7 100644 --- a/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceSummaryReport { +namespace ApiSdk.DeviceManagement.Reports.GetCompliancePolicyNonComplianceSummaryReport +{ /// /// Provides operations to call the getCompliancePolicyNonComplianceSummaryReport method. /// - public class GetCompliancePolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder + public class GetCompliancePolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportPostRequestBody.cs index d18c0536b2..06b731f24b 100644 --- a/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetComplianceSettingNonComplianceReport { - public class GetComplianceSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetComplianceSettingNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetComplianceSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs index 46e20ac9cf..3ce63bbe73 100644 --- a/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetComplianceSettingNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetComplianceSettingNonComplianceReport +{ /// /// Provides operations to call the getComplianceSettingNonComplianceReport method. /// - public class GetComplianceSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetComplianceSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportPostRequestBody.cs index 52db986cd5..07d91486e6 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceReport { - public class GetConfigurationPolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetConfigurationPolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs index d33ca2ffa5..5b1bf6913c 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceReport +{ /// /// Provides operations to call the getConfigurationPolicyNonComplianceReport method. /// - public class GetConfigurationPolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetConfigurationPolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody.cs index b26ae8f5e6..b1d10822dc 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport { - public class GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport +{ + #pragma warning disable CS1591 + public class GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs index 876889ce4d..7f6379e862 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport { +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport +{ /// /// Provides operations to call the getConfigurationPolicyNonComplianceSummaryReport method. /// - public class GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder + public class GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportPostRequestBody.cs index e0918ed333..9823694903 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationSettingNonComplianceReport { - public class GetConfigurationSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationSettingNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetConfigurationSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs index f002153d4a..879989a4ad 100644 --- a/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetConfigurationSettingNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetConfigurationSettingNonComplianceReport +{ /// /// Provides operations to call the getConfigurationSettingNonComplianceReport method. /// - public class GetConfigurationSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetConfigurationSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.cs index 0ca05489d2..d473c1c718 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles { - public class GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles +{ + #pragma warning disable CS1591 + public class GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs index f340730bce..ea461c5738 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles { +namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles +{ /// /// Provides operations to call the getDeviceManagementIntentPerSettingContributingProfiles method. /// - public class GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder : BaseCliRequestBuilder + public class GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportPostRequestBody.cs index f5c23ce431..8f04d4550b 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentSettingsReport { - public class GetDeviceManagementIntentSettingsReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentSettingsReport +{ + #pragma warning disable CS1591 + public class GetDeviceManagementIntentSettingsReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs index e20640445f..17ad879fc5 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentSettingsReport { +namespace ApiSdk.DeviceManagement.Reports.GetDeviceManagementIntentSettingsReport +{ /// /// Provides operations to call the getDeviceManagementIntentSettingsReport method. /// - public class GetDeviceManagementIntentSettingsReportRequestBuilder : BaseCliRequestBuilder + public class GetDeviceManagementIntentSettingsReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportPostRequestBody.cs index 74050edaa5..d1880b4396 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceNonComplianceReport { - public class GetDeviceNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetDeviceNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetDeviceNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs index fe72b078fe..00a85fe9d1 100644 --- a/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDeviceNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetDeviceNonComplianceReport +{ /// /// Provides operations to call the getDeviceNonComplianceReport method. /// - public class GetDeviceNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetDeviceNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportPostRequestBody.cs index 903dae0f32..bad435845d 100644 --- a/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDevicesWithoutCompliancePolicyReport { - public class GetDevicesWithoutCompliancePolicyReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetDevicesWithoutCompliancePolicyReport +{ + #pragma warning disable CS1591 + public class GetDevicesWithoutCompliancePolicyReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs index 6f9be17962..5ae296f978 100644 --- a/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetDevicesWithoutCompliancePolicyReport { +namespace ApiSdk.DeviceManagement.Reports.GetDevicesWithoutCompliancePolicyReport +{ /// /// Provides operations to call the getDevicesWithoutCompliancePolicyReport method. /// - public class GetDevicesWithoutCompliancePolicyReportRequestBuilder : BaseCliRequestBuilder + public class GetDevicesWithoutCompliancePolicyReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportPostRequestBody.cs index 031b2ce205..7597b0ed90 100644 --- a/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetHistoricalReport { - public class GetHistoricalReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetHistoricalReport +{ + #pragma warning disable CS1591 + public class GetHistoricalReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -86,14 +89,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs index a8e79ce46d..7e364ac734 100644 --- a/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetHistoricalReport { +namespace ApiSdk.DeviceManagement.Reports.GetHistoricalReport +{ /// /// Provides operations to call the getHistoricalReport method. /// - public class GetHistoricalReportRequestBuilder : BaseCliRequestBuilder + public class GetHistoricalReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportPostRequestBody.cs index 5bc2a1e008..91eea99237 100644 --- a/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetNoncompliantDevicesAndSettingsReport { - public class GetNoncompliantDevicesAndSettingsReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetNoncompliantDevicesAndSettingsReport +{ + #pragma warning disable CS1591 + public class GetNoncompliantDevicesAndSettingsReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs index c46183fd1a..dd0ec83a0b 100644 --- a/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetNoncompliantDevicesAndSettingsReport { +namespace ApiSdk.DeviceManagement.Reports.GetNoncompliantDevicesAndSettingsReport +{ /// /// Provides operations to call the getNoncompliantDevicesAndSettingsReport method. /// - public class GetNoncompliantDevicesAndSettingsReportRequestBuilder : BaseCliRequestBuilder + public class GetNoncompliantDevicesAndSettingsReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataPostRequestBody.cs index 858e733a2d..19eb39502d 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceMetadata { - public class GetPolicyNonComplianceMetadataPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceMetadata +{ + #pragma warning disable CS1591 + public class GetPolicyNonComplianceMetadataPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs index dcba27002e..847fbbfd9b 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceMetadata { +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceMetadata +{ /// /// Provides operations to call the getPolicyNonComplianceMetadata method. /// - public class GetPolicyNonComplianceMetadataRequestBuilder : BaseCliRequestBuilder + public class GetPolicyNonComplianceMetadataRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportPostRequestBody.cs index b1c163ee37..fb46b98885 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceReport { - public class GetPolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetPolicyNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs index 6e385423f0..76df09ecc6 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceReport +{ /// /// Provides operations to call the getPolicyNonComplianceReport method. /// - public class GetPolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetPolicyNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportPostRequestBody.cs index be98290075..1e6ef05681 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceSummaryReport { - public class GetPolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceSummaryReport +{ + #pragma warning disable CS1591 + public class GetPolicyNonComplianceSummaryReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs index ffd3d01733..2d4654b331 100644 --- a/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceSummaryReport { +namespace ApiSdk.DeviceManagement.Reports.GetPolicyNonComplianceSummaryReport +{ /// /// Provides operations to call the getPolicyNonComplianceSummaryReport method. /// - public class GetPolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder + public class GetPolicyNonComplianceSummaryReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersPostRequestBody.cs index 6482146b05..0b4fbe943f 100644 --- a/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetReportFilters { - public class GetReportFiltersPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetReportFilters +{ + #pragma warning disable CS1591 + public class GetReportFiltersPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs index ba28ad9073..df221f4dd8 100644 --- a/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetReportFilters { +namespace ApiSdk.DeviceManagement.Reports.GetReportFilters +{ /// /// Provides operations to call the getReportFilters method. /// - public class GetReportFiltersRequestBuilder : BaseCliRequestBuilder + public class GetReportFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportPostRequestBody.cs b/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportPostRequestBody.cs index eb51fa24f8..6945285332 100644 --- a/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportPostRequestBody.cs +++ b/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.Reports.GetSettingNonComplianceReport { - public class GetSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.Reports.GetSettingNonComplianceReport +{ + #pragma warning disable CS1591 + public class GetSettingNonComplianceReportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"filter", n => { Filter = n.GetStringValue(); } }, - {"groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"search", n => { Search = n.GetStringValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"skip", n => { Skip = n.GetIntValue(); } }, - {"top", n => { Top = n.GetIntValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs b/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs index a3d6468d38..97721651fe 100644 --- a/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports.GetSettingNonComplianceReport { +namespace ApiSdk.DeviceManagement.Reports.GetSettingNonComplianceReport +{ /// /// Provides operations to call the getSettingNonComplianceReport method. /// - public class GetSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder + public class GetSettingNonComplianceReportRequestBuilder : BaseCliRequestBuilder { /// /// Not yet documented diff --git a/src/generated/DeviceManagement/Reports/ReportsRequestBuilder.cs b/src/generated/DeviceManagement/Reports/ReportsRequestBuilder.cs index 4cccd96fbe..163755ae3d 100644 --- a/src/generated/DeviceManagement/Reports/ReportsRequestBuilder.cs +++ b/src/generated/DeviceManagement/Reports/ReportsRequestBuilder.cs @@ -33,11 +33,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.Reports { +namespace ApiSdk.DeviceManagement.Reports +{ /// /// Provides operations to manage the reports property of the microsoft.graph.deviceManagement entity. /// - public class ReportsRequestBuilder : BaseCliRequestBuilder + public class ReportsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property reports for deviceManagement diff --git a/src/generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs index 590d4018d8..390266a7b7 100644 --- a/src/generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ResourceOperations.Count { +namespace ApiSdk.DeviceManagement.ResourceOperations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs b/src/generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs index 34b64f9944..d855c5a8f3 100644 --- a/src/generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ResourceOperations.Item { +namespace ApiSdk.DeviceManagement.ResourceOperations.Item +{ /// /// Provides operations to manage the resourceOperations property of the microsoft.graph.deviceManagement entity. /// - public class ResourceOperationItemRequestBuilder : BaseCliRequestBuilder + public class ResourceOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a resourceOperation. diff --git a/src/generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs b/src/generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs index f39b8aef58..961c321bc7 100644 --- a/src/generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs +++ b/src/generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.ResourceOperations { +namespace ApiSdk.DeviceManagement.ResourceOperations +{ /// /// Provides operations to manage the resourceOperations property of the microsoft.graph.deviceManagement entity. /// - public class ResourceOperationsRequestBuilder : BaseCliRequestBuilder + public class ResourceOperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceOperations property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs index 1da09d3012..ed7352edb8 100644 --- a/src/generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleAssignments.Count { +namespace ApiSdk.DeviceManagement.RoleAssignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs index 4337106dee..fe2dee1adc 100644 --- a/src/generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleAssignments.Item { +namespace ApiSdk.DeviceManagement.RoleAssignments.Item +{ /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. /// - public class DeviceAndAppManagementRoleAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class DeviceAndAppManagementRoleAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a deviceAndAppManagementRoleAssignment. diff --git a/src/generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index bd91c83195..eea33adbc1 100644 --- a/src/generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleAssignments.Item.RoleDefinition { +namespace ApiSdk.DeviceManagement.RoleAssignments.Item.RoleDefinition +{ /// /// Provides operations to manage the roleDefinition property of the microsoft.graph.roleAssignment entity. /// - public class RoleDefinitionRequestBuilder : BaseCliRequestBuilder + public class RoleDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// Role definition this assignment is part of. diff --git a/src/generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 8d1326ecfb..2d1a6995be 100644 --- a/src/generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleAssignments { +namespace ApiSdk.DeviceManagement.RoleAssignments +{ /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. /// - public class RoleAssignmentsRequestBuilder : BaseCliRequestBuilder + public class RoleAssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs index 6c072cc75c..60d80a4751 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Count { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs index bcb3943b1c..d64ad44a18 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Count { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs index fff1ec0451..e7528bd5e2 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Item { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Item +{ /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity. /// - public class RoleAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class RoleAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a roleAssignment. diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 9f2aeb37b4..99888670ea 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Item.RoleDefinition { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments.Item.RoleDefinition +{ /// /// Provides operations to manage the roleDefinition property of the microsoft.graph.roleAssignment entity. /// - public class RoleDefinitionRequestBuilder : BaseCliRequestBuilder + public class RoleDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// Role definition this assignment is part of. diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs index d9e361fcd1..a841a12b87 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Item.RoleAssignments +{ /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity. /// - public class RoleAssignmentsRequestBuilder : BaseCliRequestBuilder + public class RoleAssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 381d093a3c..2c36b547ac 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions.Item { +namespace ApiSdk.DeviceManagement.RoleDefinitions.Item +{ /// /// Provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity. /// - public class RoleDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class RoleDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a roleDefinition. diff --git a/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index ec52a7a43c..5259428952 100644 --- a/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.RoleDefinitions { +namespace ApiSdk.DeviceManagement.RoleDefinitions +{ /// /// Provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity. /// - public class RoleDefinitionsRequestBuilder : BaseCliRequestBuilder + public class RoleDefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity. @@ -101,14 +102,14 @@ public Command BuildCreateCommand() return command; } /// - /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. - /// Find more info here + /// List properties and relationships of the roleDefinition objects. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List properties and relationships of the deviceAndAppManagementRoleDefinition objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0"; + command.Description = "List properties and relationships of the roleDefinition objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -210,7 +213,7 @@ public RoleDefinitionsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceMan { } /// - /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + /// List properties and relationships of the roleDefinition objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -250,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.RoleDefinition return requestInfo; } /// - /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + /// List properties and relationships of the roleDefinition objects. /// public class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs b/src/generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs index 83c0cae3ba..f018c1df7f 100644 --- a/src/generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs +++ b/src/generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.SoftwareUpdateStatusSummary { +namespace ApiSdk.DeviceManagement.SoftwareUpdateStatusSummary +{ /// /// Provides operations to manage the softwareUpdateStatusSummary property of the microsoft.graph.deviceManagement entity. /// - public class SoftwareUpdateStatusSummaryRequestBuilder : BaseCliRequestBuilder + public class SoftwareUpdateStatusSummaryRequestBuilder : BaseCliRequestBuilder { /// /// Read properties and relationships of the softwareUpdateStatusSummary object. diff --git a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs index 099b1d516a..d40246056f 100644 --- a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners.Count { +namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs index 8161d97764..1ae2f95f09 100644 --- a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners.Item { +namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners.Item +{ /// /// Provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class TelecomExpenseManagementPartnerItemRequestBuilder : BaseCliRequestBuilder + public class TelecomExpenseManagementPartnerItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a telecomExpenseManagementPartner. diff --git a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs index bc85d25844..73489a596b 100644 --- a/src/generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs +++ b/src/generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners { +namespace ApiSdk.DeviceManagement.TelecomExpenseManagementPartners +{ /// /// Provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. /// - public class TelecomExpenseManagementPartnersRequestBuilder : BaseCliRequestBuilder + public class TelecomExpenseManagementPartnersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs index ca20e05710..b6d55ea54d 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Count { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs index 1ff920442e..cdd381e790 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses +{ /// /// Provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. /// - public class AcceptanceStatusesRequestBuilder : BaseCliRequestBuilder + public class AcceptanceStatusesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs index 884a1ab6ee..b164081ab4 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Count { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs index b67cf416d1..29f8053d2a 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Item.TermsAndConditions { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Item.TermsAndConditions +{ /// /// Provides operations to manage the termsAndConditions property of the microsoft.graph.termsAndConditionsAcceptanceStatus entity. /// - public class TermsAndConditionsRequestBuilder : BaseCliRequestBuilder + public class TermsAndConditionsRequestBuilder : BaseCliRequestBuilder { /// /// Navigation link to the terms and conditions that are assigned. diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs index 28ccf46f27..f34b4edcf5 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Item { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.AcceptanceStatuses.Item +{ /// /// Provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. /// - public class TermsAndConditionsAcceptanceStatusItemRequestBuilder : BaseCliRequestBuilder + public class TermsAndConditionsAcceptanceStatusItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a termsAndConditionsAcceptanceStatus. diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs index 437c0226b7..673c347d10 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs index 42ddf39a8e..3ec46d66a5 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs index 0ff2537a94..17cf45ac4d 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity. /// - public class TermsAndConditionsAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class TermsAndConditionsAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a termsAndConditionsAssignment. diff --git a/src/generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs index 40e694cfd4..d89f1017ad 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions.Item { +namespace ApiSdk.DeviceManagement.TermsAndConditions.Item +{ /// /// Provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. /// - public class TermsAndConditionsItemRequestBuilder : BaseCliRequestBuilder + public class TermsAndConditionsItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. diff --git a/src/generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs b/src/generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs index e4192cb967..3c6794401c 100644 --- a/src/generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs +++ b/src/generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TermsAndConditions { +namespace ApiSdk.DeviceManagement.TermsAndConditions +{ /// /// Provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. /// - public class TermsAndConditionsRequestBuilder : BaseCliRequestBuilder + public class TermsAndConditionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs index 246531090d..bae2bde54a 100644 --- a/src/generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TroubleshootingEvents.Count { +namespace ApiSdk.DeviceManagement.TroubleshootingEvents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs b/src/generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs index 967503149d..ad0b76abce 100644 --- a/src/generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TroubleshootingEvents.Item { +namespace ApiSdk.DeviceManagement.TroubleshootingEvents.Item +{ /// /// Provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity. /// - public class DeviceManagementTroubleshootingEventItemRequestBuilder : BaseCliRequestBuilder + public class DeviceManagementTroubleshootingEventItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property troubleshootingEvents for deviceManagement diff --git a/src/generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs b/src/generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs index cae1341105..844df1ecf0 100644 --- a/src/generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs +++ b/src/generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.TroubleshootingEvents { +namespace ApiSdk.DeviceManagement.TroubleshootingEvents +{ /// /// Provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity. /// - public class TroubleshootingEventsRequestBuilder : BaseCliRequestBuilder + public class TroubleshootingEventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs index 6cc5b2e826..dd98ac68bd 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs index f06ddc7073..d969b5265b 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs index ccb0e65a70..c9ca0aa131 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs index 740a8e37e8..00d07bb789 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs index 3c05d3d0f6..24d633ec27 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs index 156679dbf2..e9700291e2 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs index 33bfee7e70..aa86c8390c 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs index 84b49b8262..e9142393d7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs index 3e36a30d58..77c8d84062 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs index 1e16ea0172..dee37c4189 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs index 1b80cb7945..1fd159fbf4 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs index f8580ec2d8..22ae5ae713 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs index 5bc6d4e85a..5dcc93e9ee 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs index 3f2b692e0f..56c92e437c 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthDeviceModelPerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs index 47b11c64e9..1aab681e2b 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs index 3e24e3b2c1..553c330ad9 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs index c6706b421d..b9a3475385 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthDevicePerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs index 7d38ded68c..a4d34c18a7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs index 17cb742f0c..de39504d1b 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs index b6802a67c9..d6c53cc8bf 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthDevicePerformanceDetails for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs index d1f5400b3d..5d1a746b20 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs index a071764b57..017089358b 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs index b95c4e4839..49f175df99 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthOSVersionPerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs index a406da7fcc..57412c2852 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs index 31f5792e04..5421b209be 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs index 491cc012ba..0268c225b7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues.Item +{ /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. /// - public class UserExperienceAnalyticsMetricItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsMetricItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property metricValues for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs index e1036d238c..2cf7dd4dbe 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview.MetricValues +{ /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. /// - public class MetricValuesRequestBuilder : BaseCliRequestBuilder + public class MetricValuesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs index 6bb970a1c7..a92fe37bc7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsAppHealthOverview +{ /// /// Provides operations to manage the userExperienceAnalyticsAppHealthOverview property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsAppHealthOverviewRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsAppHealthOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsAppHealthOverview for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs index b54327c63f..3009df4b06 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs index 8c072538cf..9d6c5e1627 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.AppHealthMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.AppHealthMetrics +{ /// /// Provides operations to manage the appHealthMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class AppHealthMetricsRequestBuilder : BaseCliRequestBuilder + public class AppHealthMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the application health metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs index 56fc2c156d..e31284ca5a 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.BatteryHealthMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.BatteryHealthMetrics +{ /// /// Provides operations to manage the batteryHealthMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class BatteryHealthMetricsRequestBuilder : BaseCliRequestBuilder + public class BatteryHealthMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the battery health metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs index 64fee190ae..10ffc14cf1 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.BestPracticesMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.BestPracticesMetrics +{ /// /// Provides operations to manage the bestPracticesMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class BestPracticesMetricsRequestBuilder : BaseCliRequestBuilder + public class BestPracticesMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the best practices metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs index c5b1f3342e..d6530f1e47 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.DeviceBootPerformanceMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.DeviceBootPerformanceMetrics +{ /// /// Provides operations to manage the deviceBootPerformanceMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class DeviceBootPerformanceMetricsRequestBuilder : BaseCliRequestBuilder + public class DeviceBootPerformanceMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the device boot performance metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs index 9acc7ec3f4..c521e0a1cb 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.RebootAnalyticsMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.RebootAnalyticsMetrics +{ /// /// Provides operations to manage the rebootAnalyticsMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class RebootAnalyticsMetricsRequestBuilder : BaseCliRequestBuilder + public class RebootAnalyticsMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the reboot analytics metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs index 80456eefd5..20cf4b4dd1 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.ResourcePerformanceMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.ResourcePerformanceMetrics +{ /// /// Provides operations to manage the resourcePerformanceMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class ResourcePerformanceMetricsRequestBuilder : BaseCliRequestBuilder + public class ResourcePerformanceMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the resource performance metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs index 5434c93d9f..01d76f29b6 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsBaselineItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsBaselineItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appHealthMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs index 693f063205..670e5180f0 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.WorkFromAnywhereMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines.Item.WorkFromAnywhereMetrics +{ /// /// Provides operations to manage the workFromAnywhereMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. /// - public class WorkFromAnywhereMetricsRequestBuilder : BaseCliRequestBuilder + public class WorkFromAnywhereMetricsRequestBuilder : BaseCliRequestBuilder { /// /// The scores and insights for the work from anywhere metrics. diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs index 0c31c046be..acd55a5eb1 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsBaselines +{ /// /// Provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsBaselinesRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsBaselinesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity. @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs index bc5dd1bb1c..51573883bf 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs index bce9667b98..7fe4badf25 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs index 2135d7349b..54a1e3adc2 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues.Item +{ /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. /// - public class UserExperienceAnalyticsMetricItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsMetricItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property metricValues for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs index 66f3934425..9c96618120 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item.MetricValues +{ /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. /// - public class MetricValuesRequestBuilder : BaseCliRequestBuilder + public class MetricValuesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs index 9f9a1fd31b..637ebb4959 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsCategoryItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsCategories for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs index b9e22f8ad6..6ad2921459 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsCategories +{ /// /// Provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsCategoriesRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsCategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs index a29722cf81..a08a6146d9 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs index 3864c563d2..308143db93 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDevicePerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDevicePerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsDevicePerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse.cs index 28fe86c902..ef2a9af8da 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.SummarizeDevicePerformanceDevicesWithSummarizeBy { - public class SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.SummarizeDevicePerformanceDevicesWithSummarizeBy +{ + #pragma warning disable CS1591 + public class SummarizeDevicePerformanceDevicesWithSummarizeByGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs index 6d9979c94d..24b13d51ce 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.SummarizeDevicePerformanceDevicesWithSummarizeBy { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance.SummarizeDevicePerformanceDevicesWithSummarizeBy +{ /// /// Provides operations to call the summarizeDevicePerformanceDevices method. /// - public class SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder : BaseCliRequestBuilder + public class SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summarizeDevicePerformanceDevices @@ -108,7 +109,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs index 456333269d..dc64ca4185 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDevicePerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDevicePerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDevicePerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs index 13e2885b75..eddf70c433 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs index 0e547e02dc..bf012ef0d8 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceScoresItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceScoresItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsDeviceScores for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs index b7962321ff..87b4f4678f 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceScores +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceScoresRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceScoresRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs index 0a01c6835e..f43102e4e8 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs index b1a78e0f8c..0b2378cf5e 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsDeviceStartupHistory for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs index 09949b180d..3c49ab99a7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs index ca95368ea4..51df184858 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs index be68235095..388095aa3e 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs index 38be8b3c10..290a85ccce 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs index e8ee6b31ac..a362a4eb02 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs index a7c5562b41..fec8ae4a9a 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsDeviceStartupProcesses for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs index 5ebd5b5134..a5ffeaaf7a 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses +{ /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs index 5c472c5749..c4b12da26b 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs index cb7ff22ba2..a43f0ee7fa 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsMetricHistoryItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsMetricHistoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsMetricHistory for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs index 25cc103edb..1d48112021 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsMetricHistory +{ /// /// Provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsMetricHistoryRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsMetricHistoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs index c74044b265..1a2f51e805 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs index efdeacb7e5..945c7371bd 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsModelScoresItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsModelScoresItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsModelScores for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs index 60dd26b602..259a627aa2 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsModelScores +{ /// /// Provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsModelScoresRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsModelScoresRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs index a841a8cf95..469d76662f 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsOverview { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsOverview +{ /// /// Provides operations to manage the userExperienceAnalyticsOverview property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsOverviewRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsOverviewRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsOverview for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs index 8a69173767..0c53febb59 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs index bc95963425..4a72d516ac 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsScoreHistoryItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsScoreHistoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsScoreHistory for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs index e8d764cb30..907119d1d6 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsScoreHistory +{ /// /// Provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsScoreHistoryRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsScoreHistoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs index 48e6d776f2..3f42ed87a7 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices +{ /// /// Provides operations to call the userExperienceAnalyticsSummarizeWorkFromAnywhereDevices method. /// - public class UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function userExperienceAnalyticsSummarizeWorkFromAnywhereDevices diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs index ac0456fea2..0b2bd9e632 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric +{ /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs index 2c64b9c811..73e7c9dae5 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs index a15d07ad57..97f39ca825 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs index 1f43c6abe8..a36946c30a 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices.Item +{ /// /// Provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property metricDevices for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs index 5743066d7a..13abb0258d 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item.MetricDevices +{ /// /// Provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity. /// - public class MetricDevicesRequestBuilder : BaseCliRequestBuilder + public class MetricDevicesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs index a95118bf95..41f54b7c25 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereMetrics for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs index b61471c833..86b22aad61 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics +{ /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs index 375001ece4..bcc0dab4ec 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.Count { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs index b23b3d3291..84d99e5dfd 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.Item { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.Item +{ /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereModelPerformance for deviceManagement diff --git a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs index 5fbc34a3f7..7983f79b7d 100644 --- a/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs +++ b/src/generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance { +namespace ApiSdk.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance +{ /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity. /// - public class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder : BaseCliRequestBuilder + public class UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs b/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs index 153eaaf82c..9421d0acee 100644 --- a/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs +++ b/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VerifyWindowsEnrollmentAutoDiscoveryWithDomainName { - public class VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.VerifyWindowsEnrollmentAutoDiscoveryWithDomainName +{ + #pragma warning disable CS1591 + public class VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs b/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs index 3823454ebb..1c19ffc6d1 100644 --- a/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs +++ b/src/generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VerifyWindowsEnrollmentAutoDiscoveryWithDomainName { +namespace ApiSdk.DeviceManagement.VerifyWindowsEnrollmentAutoDiscoveryWithDomainName +{ /// /// Provides operations to call the verifyWindowsEnrollmentAutoDiscovery method. /// - public class VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder : BaseCliRequestBuilder + public class VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function verifyWindowsEnrollmentAutoDiscovery diff --git a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/AuditEventsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/AuditEventsRequestBuilder.cs index f950257aae..522f9895e2 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/AuditEventsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/AuditEventsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents +{ /// /// Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. /// - public class AuditEventsRequestBuilder : BaseCliRequestBuilder + public class AuditEventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. @@ -199,7 +200,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Count/CountRequestBuilder.cs index 797c7f7395..ab3329d840 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesGetResponse.cs b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesGetResponse.cs index 11ec1a69c6..40344945f3 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesGetResponse.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.GetAuditActivityTypes { - public class GetAuditActivityTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.GetAuditActivityTypes +{ + #pragma warning disable CS1591 + public class GetAuditActivityTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesRequestBuilder.cs index aa61e45b6c..391ba94c8d 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/GetAuditActivityTypes/GetAuditActivityTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.GetAuditActivityTypes { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.GetAuditActivityTypes +{ /// /// Provides operations to call the getAuditActivityTypes method. /// - public class GetAuditActivityTypesRequestBuilder : BaseCliRequestBuilder + public class GetAuditActivityTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getAuditActivityTypes + /// Get audit activity types by tenant ID. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getAuditActivityTypes"; + command.Description = "Get audit activity types by tenant ID.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/cloudpcauditevent-getauditactivitytypes?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public GetAuditActivityTypesRequestBuilder(string rawUrl) : base("{+baseurl}/dev { } /// - /// Invoke function getAuditActivityTypes + /// Get audit activity types by tenant ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAuditActivityTypes + /// Get audit activity types by tenant ID. /// public class GetAuditActivityTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Item/CloudPcAuditEventItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Item/CloudPcAuditEventItemRequestBuilder.cs index eb5a8574d1..e9f4599cc7 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Item/CloudPcAuditEventItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/AuditEvents/Item/CloudPcAuditEventItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.AuditEvents.Item +{ /// /// Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcAuditEventItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcAuditEventItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property auditEvents for deviceManagement diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/CloudPCsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/CloudPCsRequestBuilder.cs index c972c83878..cdb1ef7484 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/CloudPCsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/CloudPCsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs +{ /// /// Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPCsRequestBuilder : BaseCliRequestBuilder + public class CloudPCsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity. @@ -187,7 +188,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Count/CountRequestBuilder.cs index a9ea6e2dd0..bf14f52e89 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs index ed8abf0d25..e9bbb84fea 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item +{ /// /// Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPCItemRequestBuilder : BaseCliRequestBuilder + public class CloudPCItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property cloudPCs for deviceManagement diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs index 3cb5478564..09b9393268 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/EndGracePeriod/EndGracePeriodRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.EndGracePeriod { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.EndGracePeriod +{ /// /// Provides operations to call the endGracePeriod method. /// - public class EndGracePeriodRequestBuilder : BaseCliRequestBuilder + public class EndGracePeriodRequestBuilder : BaseCliRequestBuilder { /// /// End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reboot/RebootRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reboot/RebootRequestBuilder.cs index 15c55e8867..7b00d629d0 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reboot/RebootRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reboot/RebootRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Reboot +{ /// /// Provides operations to call the reboot method. /// - public class RebootRequestBuilder : BaseCliRequestBuilder + public class RebootRequestBuilder : BaseCliRequestBuilder { /// /// Reboot a specific cloudPC object. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenamePostRequestBody.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenamePostRequestBody.cs index affa26b39f..c6df1fb612 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenamePostRequestBody.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenamePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename { - public class RenamePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename +{ + #pragma warning disable CS1591 + public class RenamePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenameRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenameRequestBuilder.cs index 12816b2654..6e1d3b95fc 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenameRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Rename/RenameRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Rename +{ /// /// Provides operations to call the rename method. /// - public class RenameRequestBuilder : BaseCliRequestBuilder + public class RenameRequestBuilder : BaseCliRequestBuilder { /// /// Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestorePostRequestBody.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestorePostRequestBody.cs index ea41e24fe0..69f88ebc24 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestorePostRequestBody.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestorePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore { - public class RestorePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore +{ + #pragma warning disable CS1591 + public class RestorePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cloudPcSnapshotId", n => { CloudPcSnapshotId = n.GetStringValue(); } }, + { "cloudPcSnapshotId", n => { CloudPcSnapshotId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestoreRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestoreRequestBuilder.cs index 8a42ddcd97..548902f8ef 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Restore/RestoreRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs index 470b8ecb85..4e806d517f 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Troubleshoot/TroubleshootRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Troubleshoot +{ /// /// Provides operations to call the troubleshoot method. /// - public class TroubleshootRequestBuilder : BaseCliRequestBuilder + public class TroubleshootRequestBuilder : BaseCliRequestBuilder { /// /// Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Count/CountRequestBuilder.cs index cc899b2223..c83c641b19 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/DeviceImagesRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/DeviceImagesRequestBuilder.cs index d226713929..4ebd37ce2a 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/DeviceImagesRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/DeviceImagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages +{ /// /// Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity. /// - public class DeviceImagesRequestBuilder : BaseCliRequestBuilder + public class DeviceImagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesGetResponse.cs b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesGetResponse.cs index 4c46fa570c..753f86e05c 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesGetResponse.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.GetSourceImages { - public class GetSourceImagesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.GetSourceImages +{ + #pragma warning disable CS1591 + public class GetSourceImagesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcSourceDeviceImage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcSourceDeviceImage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesRequestBuilder.cs index 1cdddee6ca..567ef7d2a4 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/GetSourceImages/GetSourceImagesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.GetSourceImages { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.GetSourceImages +{ /// /// Provides operations to call the getSourceImages method. /// - public class GetSourceImagesRequestBuilder : BaseCliRequestBuilder + public class GetSourceImagesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getSourceImages + /// Get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getSourceImages"; + command.Description = "Get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/cloudpcdeviceimage-getsourceimages?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public GetSourceImagesRequestBuilder(string rawUrl) : base("{+baseurl}/deviceMan { } /// - /// Invoke function getSourceImages + /// Get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getSourceImages + /// Get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. /// public class GetSourceImagesRequestBuilderGetQueryParameters { diff --git a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs index c641d6b6ec..18726447a3 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/DeviceImages/Item/CloudPcDeviceImageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.DeviceImages.Item +{ /// /// Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcDeviceImageItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcDeviceImageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a cloudPcDeviceImage object. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Count/CountRequestBuilder.cs index d9291d1b4c..de92016050 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/GalleryImagesRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/GalleryImagesRequestBuilder.cs index fb2bebd124..d062274b4a 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/GalleryImagesRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/GalleryImagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages +{ /// /// Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity. /// - public class GalleryImagesRequestBuilder : BaseCliRequestBuilder + public class GalleryImagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Item/CloudPcGalleryImageItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Item/CloudPcGalleryImageItemRequestBuilder.cs index 2053d09ae4..a6cb630826 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Item/CloudPcGalleryImageItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/GalleryImages/Item/CloudPcGalleryImageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.GalleryImages.Item +{ /// /// Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcGalleryImageItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcGalleryImageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property galleryImages for deviceManagement diff --git a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Count/CountRequestBuilder.cs index 63fd1ef01c..50c812c985 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/CloudPcOnPremisesConnectionItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/CloudPcOnPremisesConnectionItemRequestBuilder.cs index d770b4ffb6..2ea95ada4f 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/CloudPcOnPremisesConnectionItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/CloudPcOnPremisesConnectionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item +{ /// /// Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcOnPremisesConnectionItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcOnPremisesConnectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/RunHealthChecks/RunHealthChecksRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/RunHealthChecks/RunHealthChecksRequestBuilder.cs index d63cea0fca..f835408d45 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/RunHealthChecks/RunHealthChecksRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/RunHealthChecks/RunHealthChecksRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.RunHealthChecks { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections.Item.RunHealthChecks +{ /// /// Provides operations to call the runHealthChecks method. /// - public class RunHealthChecksRequestBuilder : BaseCliRequestBuilder + public class RunHealthChecksRequestBuilder : BaseCliRequestBuilder { /// /// Run health checks on the cloudPcOnPremisesConnection object. It triggers a new health check for the cloudPcOnPremisesConnection (../resources/cloudpconpremisesconnection.md) object and changes the healthCheckStatus and [healthCheckStatusDetail properties when check finished. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/OnPremisesConnectionsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/OnPremisesConnectionsRequestBuilder.cs index 67d25c8d45..d37fc55f1a 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/OnPremisesConnectionsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/OnPremisesConnectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.OnPremisesConnections +{ /// /// Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity. /// - public class OnPremisesConnectionsRequestBuilder : BaseCliRequestBuilder + public class OnPremisesConnectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Count/CountRequestBuilder.cs index e15960892c..4cfd34585c 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignPostRequestBody.cs index d97ab84f4e..0a8982b22f 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignRequestBuilder.cs index d3510898db..0567ce8d7d 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assign { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Assign a cloudPcProvisioningPolicy to user groups. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/AssignmentsRequestBuilder.cs index 9b40b5e48d..a3f67c24a0 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Count/CountRequestBuilder.cs index 95d6629d00..c573b46aff 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/AssignedUsersRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/AssignedUsersRequestBuilder.cs index 53c9b65511..a52c12bc4d 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/AssignedUsersRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/AssignedUsersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers +{ /// /// Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. /// - public class AssignedUsersRequestBuilder : BaseCliRequestBuilder + public class AssignedUsersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. @@ -148,7 +149,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Count/CountRequestBuilder.cs index 1efd94750a..ced1c5eefe 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 2326bbaa4a..c3a08ce735 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.MailboxSettings { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.MailboxSettings +{ /// /// Builds and executes requests for operations under \deviceManagement\virtualEndpoint\provisioningPolicies\{cloudPcProvisioningPolicy-id}\assignments\{cloudPcProvisioningPolicyAssignment-id}\assignedUsers\{user-id}\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index ac968e9f26..00f1a83f60 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.ServiceProvisioningErrors.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 6bc3555e61..dac049cbe2 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.ServiceProvisioningErrors { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \deviceManagement\virtualEndpoint\provisioningPolicies\{cloudPcProvisioningPolicy-id}\assignments\{cloudPcProvisioningPolicyAssignment-id}\assignedUsers\{user-id}\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/UserItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/UserItemRequestBuilder.cs index 08de93cb2c..e9a3d52b58 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/UserItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/AssignedUsers/Item/UserItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.AssignedUsers.Item +{ /// /// Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. /// - public class UserItemRequestBuilder : BaseCliRequestBuilder + public class UserItemRequestBuilder : BaseCliRequestBuilder { /// /// The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. Read-only. Supports$expand. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.cs index b8a64e47ff..2199372dfa 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. /// - public class CloudPcProvisioningPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcProvisioningPolicyAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs index 84c32fb4d4..cbd16684a7 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item +{ /// /// Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcProvisioningPolicyItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcProvisioningPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/ProvisioningPoliciesRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/ProvisioningPoliciesRequestBuilder.cs index c337f1a114..f44403473e 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/ProvisioningPoliciesRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/ProvisioningPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.ProvisioningPolicies +{ /// /// Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. /// - public class ProvisioningPoliciesRequestBuilder : BaseCliRequestBuilder + public class ProvisioningPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Count/CountRequestBuilder.cs index 75406892dd..561bb0be45 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignPostRequestBody.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignPostRequestBody.cs index 6a8a4214fe..d7d3a6adf2 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignPostRequestBody.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assign { - public class AssignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assign +{ + #pragma warning disable CS1591 + public class AssignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignRequestBuilder.cs index 894963d356..a82a7d1e12 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assign/AssignRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assign { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assign +{ /// /// Provides operations to call the assign method. /// - public class AssignRequestBuilder : BaseCliRequestBuilder + public class AssignRequestBuilder : BaseCliRequestBuilder { /// /// Assign a cloudPcUserSetting to user groups. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/AssignmentsRequestBuilder.cs index bd48833c89..fe014955c8 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/AssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Count/CountRequestBuilder.cs index 93056c36c0..b8ec78d1f3 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments.Count { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Item/CloudPcUserSettingAssignmentItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Item/CloudPcUserSettingAssignmentItemRequestBuilder.cs index f7b71a1159..63deb8b3aa 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Item/CloudPcUserSettingAssignmentItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/Assignments/Item/CloudPcUserSettingAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. /// - public class CloudPcUserSettingAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcUserSettingAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignments for deviceManagement diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/CloudPcUserSettingItemRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/CloudPcUserSettingItemRequestBuilder.cs index 7b1ccfea46..a50e84e80d 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/CloudPcUserSettingItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/Item/CloudPcUserSettingItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings.Item +{ /// /// Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. /// - public class CloudPcUserSettingItemRequestBuilder : BaseCliRequestBuilder + public class CloudPcUserSettingItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. diff --git a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/UserSettingsRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/UserSettingsRequestBuilder.cs index bc4dbcc984..e5e3abb6d0 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/UserSettingsRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/UserSettings/UserSettingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings { +namespace ApiSdk.DeviceManagement.VirtualEndpoint.UserSettings +{ /// /// Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. /// - public class UserSettingsRequestBuilder : BaseCliRequestBuilder + public class UserSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs b/src/generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs index 43fdd2605c..3b934a21af 100644 --- a/src/generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs +++ b/src/generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.VirtualEndpoint { +namespace ApiSdk.DeviceManagement.VirtualEndpoint +{ /// /// Provides operations to manage the virtualEndpoint property of the microsoft.graph.deviceManagement entity. /// - public class VirtualEndpointRequestBuilder : BaseCliRequestBuilder + public class VirtualEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs index 37bf4aa89c..1b4c40f857 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Count { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDevicePostRequestBody.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDevicePostRequestBody.cs index 05b9fa5035..13ffa49f3b 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDevicePostRequestBody.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDevicePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.AssignUserToDevice { - public class AssignUserToDevicePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.AssignUserToDevice +{ + #pragma warning disable CS1591 + public class AssignUserToDevicePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"addressableUserName", n => { AddressableUserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "addressableUserName", n => { AddressableUserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs index 3130efb79a..1fbdc2ede4 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.AssignUserToDevice { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.AssignUserToDevice +{ /// /// Provides operations to call the assignUserToDevice method. /// - public class AssignUserToDeviceRequestBuilder : BaseCliRequestBuilder + public class AssignUserToDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Assigns user to Autopilot devices. diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs index f32c2b93eb..6d64b1df09 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UnassignUserFromDevice { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UnassignUserFromDevice +{ /// /// Provides operations to call the unassignUserFromDevice method. /// - public class UnassignUserFromDeviceRequestBuilder : BaseCliRequestBuilder + public class UnassignUserFromDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Unassigns the user from an Autopilot device. diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesPostRequestBody.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesPostRequestBody.cs index ddb541a2fd..d602f03941 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesPostRequestBody.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UpdateDeviceProperties { - public class UpdateDevicePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UpdateDeviceProperties +{ + #pragma warning disable CS1591 + public class UpdateDevicePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"addressableUserName", n => { AddressableUserName = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"groupTag", n => { GroupTag = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "addressableUserName", n => { AddressableUserName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "groupTag", n => { GroupTag = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs index 2efbb68e97..4fa3206005 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UpdateDeviceProperties { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item.UpdateDeviceProperties +{ /// /// Provides operations to call the updateDeviceProperties method. /// - public class UpdateDevicePropertiesRequestBuilder : BaseCliRequestBuilder + public class UpdateDevicePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Updates properties on Autopilot devices. diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs index af4c93709c..2dfb3e53cc 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities.Item +{ /// /// Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. /// - public class WindowsAutopilotDeviceIdentityItemRequestBuilder : BaseCliRequestBuilder + public class WindowsAutopilotDeviceIdentityItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the assignUserToDevice method. diff --git a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs index 743c2f757a..5b090a189c 100644 --- a/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities { +namespace ApiSdk.DeviceManagement.WindowsAutopilotDeviceIdentities +{ /// /// Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. /// - public class WindowsAutopilotDeviceIdentitiesRequestBuilder : BaseCliRequestBuilder + public class WindowsAutopilotDeviceIdentitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs index ee96e7d3d2..bab63db5cf 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries.Count { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs index 7237b6af8f..192a6bc931 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries.Item { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries.Item +{ /// /// Provides operations to manage the windowsInformationProtectionAppLearningSummaries property of the microsoft.graph.deviceManagement entity. /// - public class WindowsInformationProtectionAppLearningSummaryItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLearningSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a windowsInformationProtectionAppLearningSummary. diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs index 6a8bcb0bc2..88b2bf4a7e 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionAppLearningSummaries +{ /// /// Provides operations to manage the windowsInformationProtectionAppLearningSummaries property of the microsoft.graph.deviceManagement entity. /// - public class WindowsInformationProtectionAppLearningSummariesRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionAppLearningSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the windowsInformationProtectionAppLearningSummaries property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs index 0dbe1e80e0..ed5c51b4f1 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries.Count { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs index 35e91e6c3b..9bdee329af 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries.Item { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries.Item +{ /// /// Provides operations to manage the windowsInformationProtectionNetworkLearningSummaries property of the microsoft.graph.deviceManagement entity. /// - public class WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a windowsInformationProtectionNetworkLearningSummary. diff --git a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs index bd4194a6bf..b551bcf5d6 100644 --- a/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries { +namespace ApiSdk.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries +{ /// /// Provides operations to manage the windowsInformationProtectionNetworkLearningSummaries property of the microsoft.graph.deviceManagement entity. /// - public class WindowsInformationProtectionNetworkLearningSummariesRequestBuilder : BaseCliRequestBuilder + public class WindowsInformationProtectionNetworkLearningSummariesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the windowsInformationProtectionNetworkLearningSummaries property of the microsoft.graph.deviceManagement entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs index 19803985be..2461eba82f 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Count { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs index 399a7e1abe..4663a24a63 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates.Count { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs index 27e65a4d79..b342e597cc 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates +{ /// /// Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. /// - public class DeviceMalwareStatesRequestBuilder : BaseCliRequestBuilder + public class DeviceMalwareStatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs index 776a4bd44d..0b96cf5537 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates.Item { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item.DeviceMalwareStates.Item +{ /// /// Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. /// - public class MalwareStateForWindowsDeviceItemRequestBuilder : BaseCliRequestBuilder + public class MalwareStateForWindowsDeviceItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a malwareStateForWindowsDevice. diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs index 8a0c094cdc..fe8a7e5dea 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation.Item +{ /// /// Provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. /// - public class WindowsMalwareInformationItemRequestBuilder : BaseCliRequestBuilder + public class WindowsMalwareInformationItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes a windowsMalwareInformation. diff --git a/src/generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs b/src/generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs index 8c3321e07d..d015cb1c29 100644 --- a/src/generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs +++ b/src/generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DeviceManagement.WindowsMalwareInformation { +namespace ApiSdk.DeviceManagement.WindowsMalwareInformation +{ /// /// Provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. /// - public class WindowsMalwareInformationRequestBuilder : BaseCliRequestBuilder + public class WindowsMalwareInformationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Count/CountRequestBuilder.cs b/src/generated/Devices/Count/CountRequestBuilder.cs index 99f9297b92..ad33a0d0bd 100644 --- a/src/generated/Devices/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Count { +namespace ApiSdk.Devices.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Delta/DeltaGetResponse.cs b/src/generated/Devices/Delta/DeltaGetResponse.cs index 8765406112..2c153ac9b7 100644 --- a/src/generated/Devices/Delta/DeltaGetResponse.cs +++ b/src/generated/Devices/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Devices.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Device.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Device.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Delta/DeltaRequestBuilder.cs b/src/generated/Devices/Delta/DeltaRequestBuilder.cs index 3972f4de50..678bf4026e 100644 --- a/src/generated/Devices/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Devices/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Delta { +namespace ApiSdk.Devices.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/devices/delta(){?%2 { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/DevicesRequestBuilder.cs b/src/generated/Devices/DevicesRequestBuilder.cs index 72bc1a2ef5..f5259d50b4 100644 --- a/src/generated/Devices/DevicesRequestBuilder.cs +++ b/src/generated/Devices/DevicesRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices { +namespace ApiSdk.Devices +{ /// /// Provides operations to manage the collection of device entities. /// - public class DevicesRequestBuilder : BaseCliRequestBuilder + public class DevicesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of device entities. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index afc16a97d7..ffa4768866 100644 --- a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index ad5db9e975..9c3289b14f 100644 --- a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 01bd6cf534..2b5d4a9f4e 100644 --- a/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.GetAvailableExtensionProperties { +namespace ApiSdk.Devices.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/Devices/GetByIds/GetByIdsPostRequestBody.cs index fed67345de..e396604544 100644 --- a/src/generated/Devices/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/Devices/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/GetByIds/GetByIdsPostResponse.cs b/src/generated/Devices/GetByIds/GetByIdsPostResponse.cs index 900383b0fd..b0787584fe 100644 --- a/src/generated/Devices/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/Devices/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/Devices/GetByIds/GetByIdsRequestBuilder.cs index 803c33c2a0..2f4bc2d3ff 100644 --- a/src/generated/Devices/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/Devices/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.GetByIds { +namespace ApiSdk.Devices.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index c439e92dc9..a63313ef3f 100644 --- a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 88cd4f954c..8bb0ccfeec 100644 --- a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 88741e9c46..ce6e03f722 100644 --- a/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.CheckMemberGroups { +namespace ApiSdk.Devices.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index fea4aad431..ab07c57fb6 100644 --- a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 1b8041b03f..5120a514d3 100644 --- a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index aadc5f5f33..d3edb4d470 100644 --- a/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.CheckMemberObjects { +namespace ApiSdk.Devices.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/DeviceItemRequestBuilder.cs b/src/generated/Devices/Item/DeviceItemRequestBuilder.cs index 2e6aefa6d7..fff691ad23 100644 --- a/src/generated/Devices/Item/DeviceItemRequestBuilder.cs +++ b/src/generated/Devices/Item/DeviceItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item { +namespace ApiSdk.Devices.Item +{ /// /// Provides operations to manage the collection of device entities. /// - public class DeviceItemRequestBuilder : BaseCliRequestBuilder + public class DeviceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs index 520a11e627..92eddaac32 100644 --- a/src/generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.Extensions.Count { +namespace ApiSdk.Devices.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs index b7c53f8d90..e44370f48d 100644 --- a/src/generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.Extensions { +namespace ApiSdk.Devices.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.device entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.device entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 5475c64ffb..b5079429e4 100644 --- a/src/generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.Extensions.Item { +namespace ApiSdk.Devices.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.device entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for devices diff --git a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index ca838d54c5..02f9d7d074 100644 --- a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 5c5ff61c30..43433f68d4 100644 --- a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index aa1809a510..e9bdd8b00b 100644 --- a/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.GetMemberGroups { +namespace ApiSdk.Devices.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 3098c109df..38fe1b9d9a 100644 --- a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index 831d42e96a..6eb5599bd3 100644 --- a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Devices.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index e3c80d2cf6..0a88af18c3 100644 --- a/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.GetMemberObjects { +namespace ApiSdk.Devices.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs index d7647decec..438ce3fd0b 100644 --- a/src/generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.Count { +namespace ApiSdk.Devices.Item.MemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 4e4588c890..c4cae431b2 100644 --- a/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Devices.Item.MemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index f356b890c5..826e687cc6 100644 --- a/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Devices.Item.MemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 17914a5e13..e567ec756f 100644 --- a/src/generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.GraphGroup.Count { +namespace ApiSdk.Devices.Item.MemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index ae3be42984..89ab2ed33c 100644 --- a/src/generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.GraphGroup { +namespace ApiSdk.Devices.Item.MemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"; + command.Description = "Get groups and administrative units that this device is a direct member of. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{devic { } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 847ee2737a..6a1cf66973 100644 --- a/src/generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.Item { +namespace ApiSdk.Devices.Item.MemberOf.Item +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.device entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index a6846d2663..928773c65b 100644 --- a/src/generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Devices.Item.MemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 01a0b2307f..6f5bb5b6cf 100644 --- a/src/generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf.Item.GraphGroup { +namespace ApiSdk.Devices.Item.MemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"; + command.Description = "Get groups and administrative units that this device is a direct member of. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{devic { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs b/src/generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs index 9e388e07f9..98d2527c2e 100644 --- a/src/generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.MemberOf { +namespace ApiSdk.Devices.Item.MemberOf +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.device entity. /// - public class MemberOfRequestBuilder : BaseCliRequestBuilder + public class MemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the memberOf property of the microsoft.graph.device entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0"; + command.Description = "Get groups and administrative units that this device is a direct member of. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public MemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{device% { } /// - /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + /// Get groups and administrative units that this device is a direct member of. This operation is not transitive. /// public class MemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs index fd7a9bf8dd..a4ac626b33 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Count { +namespace ApiSdk.Devices.Item.RegisteredOwners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index ae4462243c..f5cdd372c0 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphAppRoleAssignment.Count { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphAppRoleAssignment.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index f6c84d39a8..a14baa32e1 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphAppRoleAssignment { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs index 63c3555900..789bceeab2 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphEndpoint.Count { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphEndpoint.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs index 13fdfc24df..42f13b2383 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphEndpoint { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs index 743b9aae41..8107d6fdc9 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphServicePrincipal.Count { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 63f3fb735a..086bc34998 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphServicePrincipal { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs index 7fbabc978d..548b1db99e 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphUser.Count { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs index d940c6452e..8b6a41de99 100644 --- a/src/generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.GraphUser { +namespace ApiSdk.Devices.Item.RegisteredOwners.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/DirectoryObjectItemRequestBuilder.cs index ddfc31b3f2..2f6ee8dd9d 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/DirectoryObjectItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item +{ /// /// Builds and executes requests for operations under \devices\{device-id}\registeredOwners\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to appRoleAssignment. diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index a5cb18217c..8a4b3d98f5 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphAppRoleAssignment { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 7823f77eee..76e0174fe2 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphEndpoint { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index a4a431615b..9f0d4e8329 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphServicePrincipal { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs index 2cc88d61c6..16894766ea 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphUser { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs index ea22ab463a..932c7ec21f 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Item.Ref { +namespace ApiSdk.Devices.Item.RegisteredOwners.Item.Ref +{ /// /// Provides operations to manage the collection of device entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user as a registered owner of the device. diff --git a/src/generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs index 435053c758..90861d568a 100644 --- a/src/generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners.Ref { +namespace ApiSdk.Devices.Item.RegisteredOwners.Ref +{ /// /// Provides operations to manage the collection of device entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user as a registered owner of the device. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs b/src/generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs index a63804230d..a2e03c06ba 100644 --- a/src/generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredOwners { +namespace ApiSdk.Devices.Item.RegisteredOwners +{ /// /// Provides operations to manage the registeredOwners property of the microsoft.graph.device entity. /// - public class RegisteredOwnersRequestBuilder : BaseCliRequestBuilder + public class RegisteredOwnersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.devices.item.registeredOwners.item collection @@ -152,14 +153,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -248,7 +249,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -293,7 +296,7 @@ public RegisteredOwnersRequestBuilder(string rawUrl) : base("{+baseurl}/devices/ { } /// - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -312,7 +315,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered owners of the device. A registered owner is the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. /// public class RegisteredOwnersRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs index 061212d6f6..dc4ecb9803 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Count { +namespace ApiSdk.Devices.Item.RegisteredUsers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 1b41f10a16..db4b56cab1 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphAppRoleAssignment.Count { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphAppRoleAssignment.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 32c6b4d7a8..629d447652 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphAppRoleAssignment { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs index d4780f97bf..a277203145 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphEndpoint.Count { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphEndpoint.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs index e077bf0de4..4e96fc013f 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphEndpoint { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs index 471150ba29..940bc1e59b 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphServicePrincipal.Count { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 969f158991..33ac852d8a 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphServicePrincipal { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs index 1e52e04f04..a20807affa 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphUser.Count { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs index ea3c1dc4d8..cdf1476881 100644 --- a/src/generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.GraphUser { +namespace ApiSdk.Devices.Item.RegisteredUsers.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/DirectoryObjectItemRequestBuilder.cs index 4b33828c06..314577a559 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/DirectoryObjectItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item +{ /// /// Builds and executes requests for operations under \devices\{device-id}\registeredUsers\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to appRoleAssignment. diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index f7e28bbad4..35e4f32197 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphAppRoleAssignment { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphAppRoleAssignment +{ /// /// Casts the previous resource to appRoleAssignment. /// - public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder + public class GraphAppRoleAssignmentRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index f9c4efd248..50d46ac856 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphEndpoint { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphEndpoint +{ /// /// Casts the previous resource to endpoint. /// - public class GraphEndpointRequestBuilder : BaseCliRequestBuilder + public class GraphEndpointRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index acf86207e5..8af510aff5 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphServicePrincipal { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs index e892d6ed06..192f488947 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphUser { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs index b189405551..727a04f3c2 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Item.Ref { +namespace ApiSdk.Devices.Item.RegisteredUsers.Item.Ref +{ /// /// Provides operations to manage the collection of device entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user as a registered user of the device. diff --git a/src/generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs index 0aba9159a4..072619cc70 100644 --- a/src/generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers.Ref { +namespace ApiSdk.Devices.Item.RegisteredUsers.Ref +{ /// /// Provides operations to manage the collection of device entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user as a registered user of the device. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0"; + command.Description = "Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs b/src/generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs index 334914bd47..88784ca75a 100644 --- a/src/generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs +++ b/src/generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.RegisteredUsers { +namespace ApiSdk.Devices.Item.RegisteredUsers +{ /// /// Provides operations to manage the registeredUsers property of the microsoft.graph.device entity. /// - public class RegisteredUsersRequestBuilder : BaseCliRequestBuilder + public class RegisteredUsersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.devices.item.registeredUsers.item collection @@ -152,14 +153,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0"; + command.Description = "Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -248,7 +249,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -293,7 +296,7 @@ public RegisteredUsersRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{ { } /// - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -312,7 +315,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + /// Retrieve a list of users that are registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. /// public class RegisteredUsersRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Devices/Item/Restore/RestoreRequestBuilder.cs index abd5810200..9b6911e0ae 100644 --- a/src/generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.Restore { +namespace ApiSdk.Devices.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index 0edbc66309..edab2472f7 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.Count { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 63666dbf37..52f0db27a9 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index b37131c94c..eb3ae0766c 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index c1580a7396..ef539a8513 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphGroup.Count { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 583f83613a..c581f48267 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphGroup { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"; + command.Description = "Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{devic { } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 3973fc8aa6..0a33b30a1d 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. diff --git a/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 0da6925961..078721a7f2 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 5f9693e1c0..3af4481955 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item.GraphGroup { +namespace ApiSdk.Devices.Item.TransitiveMemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"; + command.Description = "Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/devices/{devic { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 5556237806..721b6c5815 100644 --- a/src/generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.Item.TransitiveMemberOf { +namespace ApiSdk.Devices.Item.TransitiveMemberOf +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. /// - public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder + public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0"; + command.Description = "Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0"; var deviceIdOption = new Option("--device-id", description: "The unique identifier of device") { }; deviceIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/device { } /// - /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. + /// Get the groups and administrative units that the device is a member of. This API request is transitive, and will also return all groups and administrative units the device is a nested member of. /// public class TransitiveMemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Devices/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Devices/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 138a04a597..301fc90d45 100644 --- a/src/generated/Devices/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Devices/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Devices.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Devices.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 3cf13f19f6..1a39ec3dc1 100644 --- a/src/generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Devices.ValidateProperties { +namespace ApiSdk.Devices.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs b/src/generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs index 99f78a426a..5196e6d320 100644 --- a/src/generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs +++ b/src/generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DevicesWithDeviceId { +namespace ApiSdk.DevicesWithDeviceId +{ /// /// Provides operations to manage the collection of device entities. /// - public class DevicesWithDeviceIdRequestBuilder : BaseCliRequestBuilder + public class DevicesWithDeviceIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete a registered device. diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs index cfa6cb5ccc..cb17911c08 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits +{ /// /// Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. /// - public class AdministrativeUnitsRequestBuilder : BaseCliRequestBuilder + public class AdministrativeUnitsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs index 231691426b..ef5af30b37 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaGetResponse.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaGetResponse.cs index 08544d61ff..7bb342909a 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaGetResponse.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs index fe0bcde9ea..b1a5072e48 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Delta { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function delta @@ -102,7 +103,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs index 4f57096b54..f903b2a67b 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item +{ /// /// Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. /// - public class AdministrativeUnitItemRequestBuilder : BaseCliRequestBuilder + public class AdministrativeUnitItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an administrativeUnit. diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs index 9d3bfcca19..b1a58744ec 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs index fd1b09bdd7..7462fd44cd 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index d3d959cbd7..2992cc38ac 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions.Item { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for directory diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs index 7813e1aff8..816f346853 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index fc0847346d..999d00e786 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphApplication.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index 7176e80f5f..a72add9498 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphApplication { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index cba708696a..6b1c99c51f 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphDevice.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index 95b7eaf5a5..368d07b756 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphDevice { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index f851129ee7..cce5261005 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphGroup.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index 6f163c66fe..a9a8290076 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphGroup { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index e28c73c34c..d4acc87c55 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphOrgContact.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index bb3a45db22..8da9c6ceb0 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphOrgContact { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index 3af6abb0ee..28a2111ccf 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphServicePrincipal.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 533c86a94e..e0253a5dd2 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphServicePrincipal { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs index ee305b9d2e..ca86e619fc 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphUser.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs index 16eee6ecca..37f3a11e1d 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphUser { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs index f82b8650a7..32b1af430c 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item +{ /// /// Builds and executes requests for operations under \directory\administrativeUnits\{administrativeUnit-id}\members\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to application. diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 7fdac2cb1d..42684a7095 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphApplication { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 78094c7a80..f595d214c0 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphDevice { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index 126326ee73..f4b9d4dbe9 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphGroup { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index fc7492d0a0..b3079a154e 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphOrgContact { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index dcef8201bb..3d3d593b3b 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphServicePrincipal { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index 2255f057ea..70ac3f2003 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphUser { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs index 75ace9379b..c76504a6ff 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.Ref { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Item.Ref +{ /// /// Provides operations to manage the collection of directory entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Use this API to remove a member (user, group, or device) from an administrative unit. diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs index 1d2c5f44ec..4895ea8ab3 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.administrativeUnit entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.directory.administrativeUnits.item.members.item collection @@ -64,14 +65,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create new navigation property to members for directory + /// Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit. /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create new navigation property to members for directory\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0"; + command.Description = "Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0"; var administrativeUnitIdOption = new Option("--administrative-unit-id", description: "The unique identifier of administrativeUnit") { }; administrativeUnitIdOption.IsRequired = true; @@ -254,14 +255,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Users and groups that are members of this administrative unit. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-list-members?view=graph-rest-1.0"; + command.Description = "Use this API to get the members list (users, groups, or devices) in an administrative unit.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-list-members?view=graph-rest-1.0"; var administrativeUnitIdOption = new Option("--administrative-unit-id", description: "The unique identifier of administrativeUnit") { }; administrativeUnitIdOption.IsRequired = true; @@ -350,7 +351,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -395,7 +398,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/directory/adminis { } /// - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -414,7 +417,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to members for directory + /// Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit. /// /// A /// The request body @@ -435,7 +438,7 @@ public RequestInformation ToPostRequestInformation(DirectoryObject body, Action< return requestInfo; } /// - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs index eb6f170b45..fd3c283abb 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Ref { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.Members.Ref +{ /// /// Provides operations to manage the collection of directory entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Use this API to remove a member (user, group, or device) from an administrative unit. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Users and groups that are members of this administrative unit. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-list-members?view=graph-rest-1.0"; + command.Description = "Use this API to get the members list (users, groups, or devices) in an administrative unit.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-list-members?view=graph-rest-1.0"; var administrativeUnitIdOption = new Option("--administrative-unit-id", description: "The unique identifier of administrativeUnit") { }; administrativeUnitIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -157,14 +160,14 @@ public Command BuildGetCommand() return command; } /// - /// Create new navigation property ref to members for directory + /// Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create new navigation property ref to members for directory\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0"; + command.Description = "Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0"; var administrativeUnitIdOption = new Option("--administrative-unit-id", description: "The unique identifier of administrativeUnit") { }; administrativeUnitIdOption.IsRequired = true; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property ref to members for directory + /// Use this API to add a member (user, group, or device) to an administrative unit. Currently it's only possible to add one member at a time to an administrative unit. /// /// A /// The request body @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Users and groups that are members of this administrative unit. Supports $expand. + /// Use this API to get the members list (users, groups, or devices) in an administrative unit. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs index 65cd8c88fd..c4cfe8f446 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers.Count { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs index f04ed78bf4..09499b7331 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers.Item { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers.Item +{ /// /// Provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. /// - public class ScopedRoleMembershipItemRequestBuilder : BaseCliRequestBuilder + public class ScopedRoleMembershipItemRequestBuilder : BaseCliRequestBuilder { /// /// Remove a Microsoft Entra role assignment with administrative unit scope. diff --git a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs index 1f4af9448f..9d569c5139 100644 --- a/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers { +namespace ApiSdk.DirectoryNamespace.AdministrativeUnits.Item.ScopedRoleMembers +{ /// /// Provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. /// - public class ScopedRoleMembersRequestBuilder : BaseCliRequestBuilder + public class ScopedRoleMembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs b/src/generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs index 59f28c999e..35d7170b1f 100644 --- a/src/generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AttributeSets { +namespace ApiSdk.DirectoryNamespace.AttributeSets +{ /// /// Provides operations to manage the attributeSets property of the microsoft.graph.directory entity. /// - public class AttributeSetsRequestBuilder : BaseCliRequestBuilder + public class AttributeSetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attributeSets property of the microsoft.graph.directory entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs index b294b65849..a8d8a66334 100644 --- a/src/generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AttributeSets.Count { +namespace ApiSdk.DirectoryNamespace.AttributeSets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs b/src/generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs index 3f846860d8..b0f1ac3e13 100644 --- a/src/generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.AttributeSets.Item { +namespace ApiSdk.DirectoryNamespace.AttributeSets.Item +{ /// /// Provides operations to manage the attributeSets property of the microsoft.graph.directory entity. /// - public class AttributeSetItemRequestBuilder : BaseCliRequestBuilder + public class AttributeSetItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attributeSets for directory diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs index c2c1be1f4b..553b2cf3f0 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Count { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs index 09d0ffd543..636fecaab1 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions +{ /// /// Provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. /// - public class CustomSecurityAttributeDefinitionsRequestBuilder : BaseCliRequestBuilder + public class CustomSecurityAttributeDefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs index f538e25fb7..e57fda6c83 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues +{ /// /// Provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. /// - public class AllowedValuesRequestBuilder : BaseCliRequestBuilder + public class AllowedValuesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs index 9b86d58854..93a5e2ac8e 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues.Count { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs index 8205eaafe5..7a03ebe0d2 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues.Item { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item.AllowedValues.Item +{ /// /// Provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. /// - public class AllowedValueItemRequestBuilder : BaseCliRequestBuilder + public class AllowedValueItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property allowedValues for directory diff --git a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs index f17acba2ea..3f3276408d 100644 --- a/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item { +namespace ApiSdk.DirectoryNamespace.CustomSecurityAttributeDefinitions.Item +{ /// /// Provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. /// - public class CustomSecurityAttributeDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class CustomSecurityAttributeDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. diff --git a/src/generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs index 9bc4c1e819..8886100bee 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs index 28e0e7ba5e..c596f896d7 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems { +namespace ApiSdk.DirectoryNamespace.DeletedItems +{ /// /// Provides operations to manage the deletedItems property of the microsoft.graph.directory entity. /// - public class DeletedItemsRequestBuilder : BaseCliRequestBuilder + public class DeletedItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deletedItems property of the microsoft.graph.directory entity. @@ -327,7 +328,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 96a9be629b..a199548e73 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index c8b8a1a90f..22006a7956 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 3bd472e5bf..f1330e43e8 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostRequestBody.cs index 95939aea04..f8bb5c1c0c 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostResponse.cs index 575813959f..02441c1ce2 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs index 11a93258f5..8f5b931a8c 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index e1be3c5396..14f4d1c733 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphAdministrativeUnit.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index eb6c0969d6..786edfb863 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphAdministrativeUnit { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs index b29300dcd3..7531ecc56c 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphApplication.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs index 13e18f1fd3..44d89f0a3a 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphApplication { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs index 34625bcffe..92a436fb83 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphDevice.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs index e6ec0e9620..a38002bc57 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphDevice { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs index 8c2af1902f..cef6bf71a0 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphGroup.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index 4c65afd564..34b92ca2aa 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphGroup { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"; + command.Description = "Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directory-deleteditems-list?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -121,7 +123,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -147,7 +151,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/directory/dele { } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -166,7 +170,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs index 86e8371f70..4a0355f0fa 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphServicePrincipal.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 78c3a555ee..7351925d76 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphServicePrincipal { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs index ce8dc7ab1f..6e300e6315 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphUser.Count { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs index e12ce37b20..3083510803 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphUser { +namespace ApiSdk.DirectoryNamespace.DeletedItems.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 759d80a47b..722a478e96 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 505f530371..ba3befdf60 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index e5052e19fd..709844d0a5 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index ea95ca9536..5e219a5a92 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 32c0ea9237..cf3c416441 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 7dc5f0b1dd..9f3020baff 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs index 4bd368de62..2863d9fa7d 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item +{ /// /// Provides operations to manage the deletedItems property of the microsoft.graph.directory entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. @@ -66,14 +67,14 @@ public Command BuildCheckMemberObjectsNavCommand() return command; } /// - /// Delete navigation property deletedItems for directory + /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete navigation property deletedItems for directory\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directory-deleteditems-delete?view=graph-rest-1.0"; + command.Description = "Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directory-deleteditems-delete?view=graph-rest-1.0"; var directoryObjectIdOption = new Option("--directory-object-id", description: "The unique identifier of directoryObject") { }; directoryObjectIdOption.IsRequired = true; @@ -322,7 +323,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl) : base("{+baseurl}/direc { } /// - /// Delete navigation property deletedItems for directory + /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 650ce5e5e2..0cb16183f5 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 45aa1435db..a996af8ac4 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index e30d712d08..3dcab3e8d8 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 6397107804..79280d1340 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index a4a03b34c6..86ad891470 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 8cc6a4b8fd..5772b1bf71 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 4ef865e997..7e150e84cd 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphAdministrativeUnit { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs index cd08be809f..a811151d68 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphApplication { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 55fc864bc7..17c3e92d8c 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphDevice { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index e8efc8d27c..cc46a9bfd0 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphGroup { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"; + command.Description = "Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directory-deleteditems-list?view=graph-rest-1.0"; var directoryObjectIdOption = new Option("--directory-object-id", description: "The unique identifier of directoryObject") { }; directoryObjectIdOption.IsRequired = true; @@ -87,7 +89,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/directory/dele { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 82254c808d..f1f717c1ac 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphServicePrincipal { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs index c06a8df6e2..345575e440 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphUser { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 06910d38e8..fb33228cc5 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.Restore { +namespace ApiSdk.DirectoryNamespace.DeletedItems.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesPostRequestBody.cs index a47a00beaa..a00b07c7be 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryNamespace.DeletedItems.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 8e1b899929..a04f6592ee 100644 --- a/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeletedItems.ValidateProperties { +namespace ApiSdk.DirectoryNamespace.DeletedItems.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs index 2ecca91fed..2eae145666 100644 --- a/src/generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials.Count { +namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs b/src/generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs index 7d09ee8990..5e67e226af 100644 --- a/src/generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials { +namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials +{ /// /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. /// - public class DeviceLocalCredentialsRequestBuilder : BaseCliRequestBuilder + public class DeviceLocalCredentialsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. @@ -110,6 +111,10 @@ public Command BuildListCommand() }; topOption.IsRequired = false; command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); var searchOption = new Option("--search", description: "Search items by search phrases") { }; searchOption.IsRequired = false; @@ -140,6 +145,7 @@ public Command BuildListCommand() command.AddOption(allOption); command.SetHandler(async (invocationContext) => { var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); @@ -155,6 +161,7 @@ public Command BuildListCommand() var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; @@ -168,7 +175,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -183,14 +192,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public DeviceLocalCredentialsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24top}", pathParameters) + public DeviceLocalCredentialsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public DeviceLocalCredentialsRequestBuilder(string rawUrl) : base("{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24top}", rawUrl) + public DeviceLocalCredentialsRequestBuilder(string rawUrl) : base("{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -281,6 +290,9 @@ public class DeviceLocalCredentialsRequestBuilderGetQueryParameters [QueryParameter("%24select")] public string[] Select { get; set; } #endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } /// Show only the first n items [QueryParameter("%24top")] public int? Top { get; set; } diff --git a/src/generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs b/src/generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs index 4ccf2e9b0d..c28861fc01 100644 --- a/src/generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials.Item { +namespace ApiSdk.DirectoryNamespace.DeviceLocalCredentials.Item +{ /// /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. /// - public class DeviceLocalCredentialInfoItemRequestBuilder : BaseCliRequestBuilder + public class DeviceLocalCredentialInfoItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deviceLocalCredentials for directory diff --git a/src/generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/generated/DirectoryNamespace/DirectoryRequestBuilder.cs index 4507399e1e..8907322d4e 100644 --- a/src/generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -6,6 +6,8 @@ using ApiSdk.DirectoryNamespace.DeviceLocalCredentials; using ApiSdk.DirectoryNamespace.FederationConfigurations; using ApiSdk.DirectoryNamespace.OnPremisesSynchronization; +using ApiSdk.DirectoryNamespace.Subscriptions; +using ApiSdk.DirectoryNamespace.SubscriptionsWithCommerceSubscriptionId; using ApiSdk.Models.ODataErrors; using ApiSdk.Models; using Microsoft.Kiota.Abstractions.Serialization; @@ -21,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace { +namespace ApiSdk.DirectoryNamespace +{ /// /// Provides operations to manage the directory singleton. /// - public class DirectoryRequestBuilder : BaseCliRequestBuilder + public class DirectoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. @@ -318,6 +321,52 @@ public Command BuildPatchCommand() return command; } /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + /// A + public Command BuildSubscriptionsNavCommand() + { + var command = new Command("subscriptions"); + command.Description = "Provides operations to manage the subscriptions property of the microsoft.graph.directory entity."; + var builder = new SubscriptionsRequestBuilder(PathParameters); + var execCommands = new List(); + var nonExecCommands = new List(); + nonExecCommands.Add(builder.BuildCountNavCommand()); + execCommands.Add(builder.BuildCreateCommand()); + execCommands.Add(builder.BuildListCommand()); + var cmds = builder.BuildCommand(); + execCommands.AddRange(cmds.Item1); + nonExecCommands.AddRange(cmds.Item2); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + foreach (var cmd in nonExecCommands.OrderBy(static c => c.Name, StringComparer.Ordinal)) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + /// A + public Command BuildSubscriptionsWithCommerceSubscriptionIdRbCommand() + { + var command = new Command("subscriptions-with-commerce-subscription-id"); + command.Description = "Provides operations to manage the subscriptions property of the microsoft.graph.directory entity."; + var builder = new SubscriptionsWithCommerceSubscriptionIdRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); + execCommands.Add(builder.BuildGetCommand()); + execCommands.Add(builder.BuildPatchCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs b/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs index ad453bc41b..9b52d9764c 100644 --- a/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs +++ b/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryNamespace.FederationConfigurations.AvailableProviderTypes { - public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryNamespace.FederationConfigurations.AvailableProviderTypes +{ + #pragma warning disable CS1591 + public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index 451b2cb800..5ec4b62ef9 100644 --- a/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.FederationConfigurations.AvailableProviderTypes { +namespace ApiSdk.DirectoryNamespace.FederationConfigurations.AvailableProviderTypes +{ /// /// Provides operations to call the availableProviderTypes method. /// - public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder + public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function availableProviderTypes"; + command.Description = "Get all identity providers supported in a directory.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public AvailableProviderTypesRequestBuilder(string rawUrl) : base("{+baseurl}/di { } /// - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. /// public class AvailableProviderTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs index 136802e932..5241b60eb9 100644 --- a/src/generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.FederationConfigurations.Count { +namespace ApiSdk.DirectoryNamespace.FederationConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs b/src/generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs index 1843557cb2..e0c3a20b18 100644 --- a/src/generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.FederationConfigurations { +namespace ApiSdk.DirectoryNamespace.FederationConfigurations +{ /// /// Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. /// - public class FederationConfigurationsRequestBuilder : BaseCliRequestBuilder + public class FederationConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the availableProviderTypes method. @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs b/src/generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs index 4fd8ff69a0..c8e8e705f7 100644 --- a/src/generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.FederationConfigurations.Item { +namespace ApiSdk.DirectoryNamespace.FederationConfigurations.Item +{ /// /// Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. /// - public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder + public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a samlOrWsFedExternalDomainFederation object. diff --git a/src/generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs index 9ad10266d7..22c043d56c 100644 --- a/src/generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization.Count { +namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs b/src/generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs index 43c0646d40..2cadeab57c 100644 --- a/src/generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization.Item { +namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization.Item +{ /// /// Provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. /// - public class OnPremisesDirectorySynchronizationItemRequestBuilder : BaseCliRequestBuilder + public class OnPremisesDirectorySynchronizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property onPremisesSynchronization for directory diff --git a/src/generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs b/src/generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs index 921a6798f0..bc1ac06d44 100644 --- a/src/generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs +++ b/src/generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization { +namespace ApiSdk.DirectoryNamespace.OnPremisesSynchronization +{ /// /// Provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. /// - public class OnPremisesSynchronizationRequestBuilder : BaseCliRequestBuilder + public class OnPremisesSynchronizationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryNamespace/Subscriptions/Count/CountRequestBuilder.cs b/src/generated/DirectoryNamespace/Subscriptions/Count/CountRequestBuilder.cs new file mode 100644 index 0000000000..86cb9f7214 --- /dev/null +++ b/src/generated/DirectoryNamespace/Subscriptions/Count/CountRequestBuilder.cs @@ -0,0 +1,119 @@ +// +using ApiSdk.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.DirectoryNamespace.Subscriptions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseCliRequestBuilder + { + /// + /// Get the number of the resource + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Get the number of the resource"; + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + command.SetHandler(async (invocationContext) => { + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/subscriptions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/directory/subscriptions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Get the number of the resource + /// + public class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + } +} diff --git a/src/generated/DirectoryNamespace/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.cs b/src/generated/DirectoryNamespace/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.cs new file mode 100644 index 0000000000..859f38c3d5 --- /dev/null +++ b/src/generated/DirectoryNamespace/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.cs @@ -0,0 +1,262 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.DirectoryNamespace.Subscriptions.Item +{ + /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + public class CompanySubscriptionItemRequestBuilder : BaseCliRequestBuilder + { + /// + /// Delete navigation property subscriptions for directory + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "Delete navigation property subscriptions for directory"; + var companySubscriptionIdOption = new Option("--company-subscription-id", description: "The unique identifier of companySubscription") { + }; + companySubscriptionIdOption.IsRequired = true; + command.AddOption(companySubscriptionIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var companySubscriptionId = invocationContext.ParseResult.GetValueForOption(companySubscriptionIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (companySubscriptionId is not null) requestInfo.PathParameters.Add("companySubscription%2Did", companySubscriptionId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// Get subscriptions from directory + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Get subscriptions from directory"; + var companySubscriptionIdOption = new Option("--company-subscription-id", description: "The unique identifier of companySubscription") { + }; + companySubscriptionIdOption.IsRequired = true; + command.AddOption(companySubscriptionIdOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var companySubscriptionId = invocationContext.ParseResult.GetValueForOption(companySubscriptionIdOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + if (companySubscriptionId is not null) requestInfo.PathParameters.Add("companySubscription%2Did", companySubscriptionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Update the navigation property subscriptions in directory + /// + /// A + public Command BuildPatchCommand() + { + var command = new Command("patch"); + command.Description = "Update the navigation property subscriptions in directory"; + var companySubscriptionIdOption = new Option("--company-subscription-id", description: "The unique identifier of companySubscription") { + }; + companySubscriptionIdOption.IsRequired = true; + command.AddOption(companySubscriptionIdOption); + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var companySubscriptionId = invocationContext.ParseResult.GetValueForOption(companySubscriptionIdOption); + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(CompanySubscription.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPatchRequestInformation(model, q => { + }); + if (companySubscriptionId is not null) requestInfo.PathParameters.Add("companySubscription%2Did", companySubscriptionId); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CompanySubscriptionItemRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/subscriptions/{companySubscription%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CompanySubscriptionItemRequestBuilder(string rawUrl) : base("{+baseurl}/directory/subscriptions/{companySubscription%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subscriptions for directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subscriptions from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property subscriptions in directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(CompanySubscription body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(CompanySubscription body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subscriptions from directory + /// + public class CompanySubscriptionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + } +} diff --git a/src/generated/DirectoryNamespace/Subscriptions/SubscriptionsRequestBuilder.cs b/src/generated/DirectoryNamespace/Subscriptions/SubscriptionsRequestBuilder.cs new file mode 100644 index 0000000000..6e630062e4 --- /dev/null +++ b/src/generated/DirectoryNamespace/Subscriptions/SubscriptionsRequestBuilder.cs @@ -0,0 +1,317 @@ +// +using ApiSdk.DirectoryNamespace.Subscriptions.Count; +using ApiSdk.DirectoryNamespace.Subscriptions.Item; +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.DirectoryNamespace.Subscriptions +{ + /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + public class SubscriptionsRequestBuilder : BaseCliRequestBuilder + { + /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + /// A Tuple<List<Command>, List<Command>> + public Tuple, List> BuildCommand() + { + var executables = new List(); + var builder = new CompanySubscriptionItemRequestBuilder(PathParameters); + executables.Add(builder.BuildDeleteCommand()); + executables.Add(builder.BuildGetCommand()); + executables.Add(builder.BuildPatchCommand()); + return new(executables, new(0)); + } + /// + /// Provides operations to count the resources in the collection. + /// + /// A + public Command BuildCountNavCommand() + { + var command = new Command("count"); + command.Description = "Provides operations to count the resources in the collection."; + var builder = new CountRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildGetCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Create new navigation property to subscriptions for directory + /// + /// A + public Command BuildCreateCommand() + { + var command = new Command("create"); + command.Description = "Create new navigation property to subscriptions for directory"; + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(CompanySubscription.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPostRequestInformation(model, q => { + }); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Get subscriptions from directory + /// + /// A + public Command BuildListCommand() + { + var command = new Command("list"); + command.Description = "Get subscriptions from directory"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); + var orderbyOption = new Option("--orderby", description: "Order items by property values") { + Arity = ArgumentArity.ZeroOrMore + }; + orderbyOption.IsRequired = false; + command.AddOption(orderbyOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + var allOption = new Option("--all"); + command.AddOption(allOption); + command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); + var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + var all = invocationContext.ParseResult.GetValueForOption(allOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; + q.QueryParameters.Orderby = orderby; + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); + var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); + var response = pageResponse?.Response; +#nullable enable + IOutputFormatter? formatter = null; +#nullable restore + if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { + formatter = outputFormatterFactory.GetFormatter(output); + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + } else { + formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + } + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public SubscriptionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public SubscriptionsRequestBuilder(string rawUrl) : base("{+baseurl}/directory/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get subscriptions from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to subscriptions for directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(CompanySubscription body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(CompanySubscription body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subscriptions from directory + /// + public class SubscriptionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + } +} diff --git a/src/generated/DirectoryNamespace/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.cs b/src/generated/DirectoryNamespace/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.cs new file mode 100644 index 0000000000..9128c653c3 --- /dev/null +++ b/src/generated/DirectoryNamespace/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.cs @@ -0,0 +1,262 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.DirectoryNamespace.SubscriptionsWithCommerceSubscriptionId +{ + /// + /// Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. + /// + public class SubscriptionsWithCommerceSubscriptionIdRequestBuilder : BaseCliRequestBuilder + { + /// + /// Delete navigation property subscriptions for directory + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "Delete navigation property subscriptions for directory"; + var commerceSubscriptionIdOption = new Option("--commerce-subscription-id", description: "Alternate key of companySubscription") { + }; + commerceSubscriptionIdOption.IsRequired = true; + command.AddOption(commerceSubscriptionIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var commerceSubscriptionId = invocationContext.ParseResult.GetValueForOption(commerceSubscriptionIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (commerceSubscriptionId is not null) requestInfo.PathParameters.Add("commerceSubscriptionId", commerceSubscriptionId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// Get subscriptions from directory + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Get subscriptions from directory"; + var commerceSubscriptionIdOption = new Option("--commerce-subscription-id", description: "Alternate key of companySubscription") { + }; + commerceSubscriptionIdOption.IsRequired = true; + command.AddOption(commerceSubscriptionIdOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var commerceSubscriptionId = invocationContext.ParseResult.GetValueForOption(commerceSubscriptionIdOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + if (commerceSubscriptionId is not null) requestInfo.PathParameters.Add("commerceSubscriptionId", commerceSubscriptionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Update the navigation property subscriptions in directory + /// + /// A + public Command BuildPatchCommand() + { + var command = new Command("patch"); + command.Description = "Update the navigation property subscriptions in directory"; + var commerceSubscriptionIdOption = new Option("--commerce-subscription-id", description: "Alternate key of companySubscription") { + }; + commerceSubscriptionIdOption.IsRequired = true; + command.AddOption(commerceSubscriptionIdOption); + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var commerceSubscriptionId = invocationContext.ParseResult.GetValueForOption(commerceSubscriptionIdOption); + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(CompanySubscription.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPatchRequestInformation(model, q => { + }); + if (commerceSubscriptionId is not null) requestInfo.PathParameters.Add("commerceSubscriptionId", commerceSubscriptionId); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public SubscriptionsWithCommerceSubscriptionIdRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}'){?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public SubscriptionsWithCommerceSubscriptionIdRequestBuilder(string rawUrl) : base("{+baseurl}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subscriptions for directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subscriptions from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property subscriptions in directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(CompanySubscription body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(CompanySubscription body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get subscriptions from directory + /// + public class SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + } +} diff --git a/src/generated/DirectoryObjects/Count/CountRequestBuilder.cs b/src/generated/DirectoryObjects/Count/CountRequestBuilder.cs index b427ba6cd6..f3b3d8bf42 100644 --- a/src/generated/DirectoryObjects/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Count { +namespace ApiSdk.DirectoryObjects.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryObjects/Delta/DeltaGetResponse.cs b/src/generated/DirectoryObjects/Delta/DeltaGetResponse.cs index 3e95eb5ef5..38a7836403 100644 --- a/src/generated/DirectoryObjects/Delta/DeltaGetResponse.cs +++ b/src/generated/DirectoryObjects/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.DirectoryObjects.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs b/src/generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs index 6848e5b370..c6fcec5fcc 100644 --- a/src/generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Delta { +namespace ApiSdk.DirectoryObjects.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/directoryObjects/de { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs b/src/generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs index d178eddf1b..75b6903c2d 100644 --- a/src/generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects { +namespace ApiSdk.DirectoryObjects +{ /// /// Provides operations to manage the collection of directoryObject entities. /// - public class DirectoryObjectsRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of directoryObject entities. @@ -248,7 +249,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 0fbdbd38c7..16a4d7b83e 100644 --- a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index dd7d7c8c17..3986079b46 100644 --- a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index bd9dcbeda5..ae8db7f1be 100644 --- a/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties { +namespace ApiSdk.DirectoryObjects.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/DirectoryObjects/GetByIds/GetByIdsPostRequestBody.cs index bd130e89e4..89ea17ec57 100644 --- a/src/generated/DirectoryObjects/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/DirectoryObjects/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/GetByIds/GetByIdsPostResponse.cs b/src/generated/DirectoryObjects/GetByIds/GetByIdsPostResponse.cs index f77f72f8d2..a04dd1124d 100644 --- a/src/generated/DirectoryObjects/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/DirectoryObjects/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs index a5e3f581e4..487be0fbcb 100644 --- a/src/generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.GetByIds { +namespace ApiSdk.DirectoryObjects.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 315d1d7a82..b114dd1307 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 4f9e1cbcc8..8d05e2c692 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 85e6baed08..2573cff7ff 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups { +namespace ApiSdk.DirectoryObjects.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index 40e1da725d..4780fe367e 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 8badd50147..7636b5fc06 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index d0953e0efe..a5756c2098 100644 --- a/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects { +namespace ApiSdk.DirectoryObjects.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs index 4f882b3549..7dfb704aa1 100644 --- a/src/generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item { +namespace ApiSdk.DirectoryObjects.Item +{ /// /// Provides operations to manage the collection of directoryObject entities. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 7778003027..810e87d71b 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index d0ab068f7c..c675816401 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index fa13661f1f..8ee1d0ad39 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups { +namespace ApiSdk.DirectoryObjects.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index c57cfcbda4..dee54317fd 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index 8cc1a2f714..32c3968651 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index e6250b46c1..61ff07b454 100644 --- a/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects { +namespace ApiSdk.DirectoryObjects.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index c85ece0bb4..08414fba3a 100644 --- a/src/generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.Item.Restore { +namespace ApiSdk.DirectoryObjects.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 3fcc968a99..b6049d2ecb 100644 --- a/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryObjects.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryObjects.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs index bad2707bc1..4117b2c67c 100644 --- a/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryObjects.ValidateProperties { +namespace ApiSdk.DirectoryObjects.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs index ef03cb2c13..8ffac01760 100644 --- a/src/generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Count { +namespace ApiSdk.DirectoryRoleTemplates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoleTemplates/Delta/DeltaGetResponse.cs b/src/generated/DirectoryRoleTemplates/Delta/DeltaGetResponse.cs index 276ea03fc5..52174a2a2b 100644 --- a/src/generated/DirectoryRoleTemplates/Delta/DeltaGetResponse.cs +++ b/src/generated/DirectoryRoleTemplates/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs index f7d8c91c01..cbf46f577a 100644 --- a/src/generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Delta { +namespace ApiSdk.DirectoryRoleTemplates.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoleTempla { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs index 108557b994..ef6322907a 100644 --- a/src/generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates { +namespace ApiSdk.DirectoryRoleTemplates +{ /// /// Provides operations to manage the collection of directoryRoleTemplate entities. /// - public class DirectoryRoleTemplatesRequestBuilder : BaseCliRequestBuilder + public class DirectoryRoleTemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of directoryRoleTemplate entities. @@ -167,6 +168,10 @@ public Command BuildListCommand() { var command = new Command("list"); command.Description = "Retrieve a list of directoryRoleTemplate objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryroletemplate-list?view=graph-rest-1.0"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); var skipOption = new Option("--skip", description: "Skip the first n items") { }; skipOption.IsRequired = false; @@ -205,6 +210,7 @@ public Command BuildListCommand() var allOption = new Option("--all"); command.AddOption(allOption); command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); @@ -221,6 +227,7 @@ public Command BuildListCommand() var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; @@ -236,7 +243,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -268,14 +277,14 @@ public Command BuildValidatePropertiesNavCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public DirectoryRoleTemplatesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directoryRoleTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip}", pathParameters) + public DirectoryRoleTemplatesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directoryRoleTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public DirectoryRoleTemplatesRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoleTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip}", rawUrl) + public DirectoryRoleTemplatesRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoleTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -379,6 +388,9 @@ public class DirectoryRoleTemplatesRequestBuilderGetQueryParameters /// Skip the first n items [QueryParameter("%24skip")] public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } } } } diff --git a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 62d93d16ba..1c6f59a07e 100644 --- a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index 32354329dc..0d68b2d2d4 100644 --- a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 79547e9c0a..4b9afbb65c 100644 --- a/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties { +namespace ApiSdk.DirectoryRoleTemplates.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostRequestBody.cs index 3384ddf637..76215e2216 100644 --- a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostResponse.cs b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostResponse.cs index 4dc7d8b739..0f427b472a 100644 --- a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs index faf0234eb1..4e767a8c3c 100644 --- a/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.GetByIds { +namespace ApiSdk.DirectoryRoleTemplates.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 4b56c12f8e..831aefee52 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 935e0bfa3d..5803140865 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 408b7ae58d..1541f4246f 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups { +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index 70cdb0993e..74e1381a85 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 88b0744c95..738304aa82 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 56bb2381ed..1e7ee4cb76 100644 --- a/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects { +namespace ApiSdk.DirectoryRoleTemplates.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs index 39501daa4b..45a5bd640b 100644 --- a/src/generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item { +namespace ApiSdk.DirectoryRoleTemplates.Item +{ /// /// Provides operations to manage the collection of directoryRoleTemplate entities. /// - public class DirectoryRoleTemplateItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryRoleTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 249d90c584..af7ddf48b8 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 02ce09a69c..d18292a88a 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index cb45548683..902b065064 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups { +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 3ba7c4e5f0..b4a649b0ae 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index de3861f0cb..8bec789114 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index cef718d522..39ee535e52 100644 --- a/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects { +namespace ApiSdk.DirectoryRoleTemplates.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index 5f3744fa4e..7b9f09f814 100644 --- a/src/generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.Item.Restore { +namespace ApiSdk.DirectoryRoleTemplates.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 62f9019a1f..ba9c9696bc 100644 --- a/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoleTemplates.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoleTemplates.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 23ed4af91d..b01febad87 100644 --- a/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoleTemplates.ValidateProperties { +namespace ApiSdk.DirectoryRoleTemplates.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DirectoryRoles/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Count/CountRequestBuilder.cs index 3b3d390d4d..65ef447269 100644 --- a/src/generated/DirectoryRoles/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Count { +namespace ApiSdk.DirectoryRoles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Delta/DeltaGetResponse.cs b/src/generated/DirectoryRoles/Delta/DeltaGetResponse.cs index 86d7ee2851..e09f850a33 100644 --- a/src/generated/DirectoryRoles/Delta/DeltaGetResponse.cs +++ b/src/generated/DirectoryRoles/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.DirectoryRoles.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRole.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs b/src/generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs index 82332f8022..dbb4ef5fc6 100644 --- a/src/generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Delta { +namespace ApiSdk.DirectoryRoles.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoles/delt { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs b/src/generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs index 350b681e38..d543caa351 100644 --- a/src/generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs +++ b/src/generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles { +namespace ApiSdk.DirectoryRoles +{ /// /// Provides operations to manage the collection of directoryRole entities. /// - public class DirectoryRolesRequestBuilder : BaseCliRequestBuilder + public class DirectoryRolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of directoryRole entities. @@ -170,6 +171,10 @@ public Command BuildListCommand() { var command = new Command("list"); command.Description = "List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-list?view=graph-rest-1.0"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); var skipOption = new Option("--skip", description: "Skip the first n items") { }; skipOption.IsRequired = false; @@ -208,6 +213,7 @@ public Command BuildListCommand() var allOption = new Option("--all"); command.AddOption(allOption); command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); @@ -224,6 +230,7 @@ public Command BuildListCommand() var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; @@ -239,7 +246,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -271,14 +280,14 @@ public Command BuildValidatePropertiesNavCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public DirectoryRolesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directoryRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip}", pathParameters) + public DirectoryRolesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/directoryRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public DirectoryRolesRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip}", rawUrl) + public DirectoryRolesRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -382,6 +391,9 @@ public class DirectoryRolesRequestBuilderGetQueryParameters /// Skip the first n items [QueryParameter("%24skip")] public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } } } } diff --git a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 9d2654835d..e98b53ad1a 100644 --- a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index fd5c7d3dc6..094990ec1c 100644 --- a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index cb4a2fb0b2..c5cd7116da 100644 --- a/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties { +namespace ApiSdk.DirectoryRoles.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/DirectoryRoles/GetByIds/GetByIdsPostRequestBody.cs index 1bc1b1bbd2..12c2a995ce 100644 --- a/src/generated/DirectoryRoles/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/DirectoryRoles/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/GetByIds/GetByIdsPostResponse.cs b/src/generated/DirectoryRoles/GetByIds/GetByIdsPostResponse.cs index cdaba9f8c0..24cd63070a 100644 --- a/src/generated/DirectoryRoles/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/DirectoryRoles/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs index 275b5f84e2..314779d175 100644 --- a/src/generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.GetByIds { +namespace ApiSdk.DirectoryRoles.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 775faa37f4..c4a30d533a 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index fd21b4202c..a84dd7447e 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 04e382dfbd..22e629c498 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups { +namespace ApiSdk.DirectoryRoles.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index f79b91dbcc..1714bc2bdc 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 956ed695f2..1bdc517b33 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 96494f5388..c460964a5d 100644 --- a/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects { +namespace ApiSdk.DirectoryRoles.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs b/src/generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs index ac1a81712e..88ffab3c73 100644 --- a/src/generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item { +namespace ApiSdk.DirectoryRoles.Item +{ /// /// Provides operations to manage the collection of directoryRole entities. /// - public class DirectoryRoleItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 1f8ffa3c3f..e02b7ab622 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index eb16499195..f5359c5846 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 2f1c5af8ef..484147843f 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups { +namespace ApiSdk.DirectoryRoles.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 4e82ab7748..edf362b1aa 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index 5a4f1e3d81..67dca500a7 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 07603e3d5e..ea130e7651 100644 --- a/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects { +namespace ApiSdk.DirectoryRoles.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs index 78d3914f29..554ddddd33 100644 --- a/src/generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index 78b9ccd302..4e27caade4 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphApplication.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index 3a78a2b99b..05e2bac951 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphApplication { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index 778ddb370a..505ddd825c 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphDevice.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index 3c43209181..638f5b12a5 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphDevice { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index 0185f25e35..bbef69719f 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphGroup.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index b2e93262ce..c6244cfa8a 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphGroup { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index 9a216d263b..fcd2d7b7cf 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphOrgContact.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index fc9b7cfae8..cc3739d8ce 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphOrgContact { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index d382842866..0bdda5c4d5 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphServicePrincipal.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 2d66f0d9d1..c6c3f4f9f2 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphServicePrincipal { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs index 7d73feb541..0997dbd327 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphUser.Count { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs index 2f093961f1..3c5a5e56f2 100644 --- a/src/generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.GraphUser { +namespace ApiSdk.DirectoryRoles.Item.Members.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs index decd21c141..292ae07746 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item { +namespace ApiSdk.DirectoryRoles.Item.Members.Item +{ /// /// Builds and executes requests for operations under \directoryRoles\{directoryRole-id}\members\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to application. diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index fc7409bacb..e75d034672 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphApplication { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 34ba56e91c..7fb0b2aeab 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphDevice { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index e400c7c6b7..d12a07f3c1 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphGroup { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index cbabd2d7e3..097a9916ae 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphOrgContact { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index de4e7d2caa..af7fbd6603 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphServicePrincipal { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index 973c93dbab..ebe0437437 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphUser { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs index 1830bd11ae..b169dbcddd 100644 --- a/src/generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Item.Ref { +namespace ApiSdk.DirectoryRoles.Item.Members.Item.Ref +{ /// /// Provides operations to manage the collection of directoryRole entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. diff --git a/src/generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs index 8fc0cf401b..26db390178 100644 --- a/src/generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members { +namespace ApiSdk.DirectoryRoles.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.directoryRole entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.directoryRoles.item.members.item collection @@ -202,14 +203,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0"; + command.Description = "Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0"; var directoryRoleIdOption = new Option("--directory-role-id", description: "The unique identifier of directoryRole") { }; directoryRoleIdOption.IsRequired = true; @@ -298,7 +299,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -343,7 +346,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/directoryRoles/{d { } /// - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -362,7 +365,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs index 9ddf7aabd8..e041137db0 100644 --- a/src/generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Members.Ref { +namespace ApiSdk.DirectoryRoles.Item.Members.Ref +{ /// /// Provides operations to manage the collection of directoryRole entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0"; + command.Description = "Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0"; var directoryRoleIdOption = new Option("--directory-role-id", description: "The unique identifier of directoryRole") { }; directoryRoleIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + /// Retrieve the list of principals that are assigned to the directory role. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index f8e0fb1f2c..9e01d455b4 100644 --- a/src/generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.Restore { +namespace ApiSdk.DirectoryRoles.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs b/src/generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs index ead78d1772..8d3c940064 100644 --- a/src/generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.ScopedMembers.Count { +namespace ApiSdk.DirectoryRoles.Item.ScopedMembers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs index 24e3e2c6d2..4851387ce9 100644 --- a/src/generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.ScopedMembers.Item { +namespace ApiSdk.DirectoryRoles.Item.ScopedMembers.Item +{ /// /// Provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity. /// - public class ScopedRoleMembershipItemRequestBuilder : BaseCliRequestBuilder + public class ScopedRoleMembershipItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopedMembers for directoryRoles diff --git a/src/generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs b/src/generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs index 92e869f250..da0adf3de8 100644 --- a/src/generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs +++ b/src/generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.Item.ScopedMembers { +namespace ApiSdk.DirectoryRoles.Item.ScopedMembers +{ /// /// Provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity. /// - public class ScopedMembersRequestBuilder : BaseCliRequestBuilder + public class ScopedMembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 1b01b2b66b..c2637fc835 100644 --- a/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.DirectoryRoles.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.DirectoryRoles.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs index d8ee71b811..b3a2f11c71 100644 --- a/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRoles.ValidateProperties { +namespace ApiSdk.DirectoryRoles.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs b/src/generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs index 20c855e0f4..4f07a9dec2 100644 --- a/src/generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs +++ b/src/generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DirectoryRolesWithRoleTemplateId { +namespace ApiSdk.DirectoryRolesWithRoleTemplateId +{ /// /// Provides operations to manage the collection of directoryRole entities. /// - public class DirectoryRolesWithRoleTemplateIdRequestBuilder : BaseCliRequestBuilder + public class DirectoryRolesWithRoleTemplateIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from directoryRoles by roleTemplateId diff --git a/src/generated/DomainDnsRecords/Count/CountRequestBuilder.cs b/src/generated/DomainDnsRecords/Count/CountRequestBuilder.cs index 2749ea906f..7e85551ded 100644 --- a/src/generated/DomainDnsRecords/Count/CountRequestBuilder.cs +++ b/src/generated/DomainDnsRecords/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DomainDnsRecords.Count { +namespace ApiSdk.DomainDnsRecords.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs b/src/generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs index 3f8ce8fde3..c65e778613 100644 --- a/src/generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs +++ b/src/generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DomainDnsRecords { +namespace ApiSdk.DomainDnsRecords +{ /// /// Provides operations to manage the collection of domainDnsRecord entities. /// - public class DomainDnsRecordsRequestBuilder : BaseCliRequestBuilder + public class DomainDnsRecordsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of domainDnsRecord entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs index 13f0593a8a..30c044afd1 100644 --- a/src/generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.DomainDnsRecords.Item { +namespace ApiSdk.DomainDnsRecords.Item +{ /// /// Provides operations to manage the collection of domainDnsRecord entities. /// - public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder + public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from domainDnsRecords diff --git a/src/generated/Domains/Count/CountRequestBuilder.cs b/src/generated/Domains/Count/CountRequestBuilder.cs index 6065f6ad14..e7de92fd91 100644 --- a/src/generated/Domains/Count/CountRequestBuilder.cs +++ b/src/generated/Domains/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Count { +namespace ApiSdk.Domains.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Domains/DomainsRequestBuilder.cs b/src/generated/Domains/DomainsRequestBuilder.cs index 66caff833e..801d4fbfe1 100644 --- a/src/generated/Domains/DomainsRequestBuilder.cs +++ b/src/generated/Domains/DomainsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains { +namespace ApiSdk.Domains +{ /// /// Provides operations to manage the collection of domain entities. /// - public class DomainsRequestBuilder : BaseCliRequestBuilder + public class DomainsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of domain entities. @@ -190,7 +191,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Domains/Item/DomainItemRequestBuilder.cs b/src/generated/Domains/Item/DomainItemRequestBuilder.cs index 735e6c93ba..8f64f51672 100644 --- a/src/generated/Domains/Item/DomainItemRequestBuilder.cs +++ b/src/generated/Domains/Item/DomainItemRequestBuilder.cs @@ -21,21 +21,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item { +namespace ApiSdk.Domains.Item +{ /// /// Provides operations to manage the collection of domain entities. /// - public class DomainItemRequestBuilder : BaseCliRequestBuilder + public class DomainItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a domain from a tenant. + /// Delete a domain from a tenant. /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes a domain from a tenant.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-delete?view=graph-rest-1.0"; + command.Description = "Delete a domain from a tenant.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-delete?view=graph-rest-1.0"; var domainIdOption = new Option("--domain-id", description: "The unique identifier of domain") { }; domainIdOption.IsRequired = true; @@ -187,14 +188,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of domain object. + /// Update the properties of domain object. Only verified domains can be updated. /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of domain object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-update?view=graph-rest-1.0"; + command.Description = "Update the properties of domain object. Only verified domains can be updated.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-update?view=graph-rest-1.0"; var domainIdOption = new Option("--domain-id", description: "The unique identifier of domain") { }; domainIdOption.IsRequired = true; @@ -341,7 +342,7 @@ public DomainItemRequestBuilder(string rawUrl) : base("{+baseurl}/domains/{domai { } /// - /// Deletes a domain from a tenant. + /// Delete a domain from a tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -379,7 +380,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of domain object. + /// Update the properties of domain object. Only verified domains can be updated. /// /// A /// The request body diff --git a/src/generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs b/src/generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs index 4b8c75d7d0..3f9666d20c 100644 --- a/src/generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs +++ b/src/generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.DomainNameReferences.Count { +namespace ApiSdk.Domains.Item.DomainNameReferences.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs b/src/generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs index 3450c0e006..ae3e7094b8 100644 --- a/src/generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs +++ b/src/generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.DomainNameReferences { +namespace ApiSdk.Domains.Item.DomainNameReferences +{ /// /// Provides operations to manage the domainNameReferences property of the microsoft.graph.domain entity. /// - public class DomainNameReferencesRequestBuilder : BaseCliRequestBuilder + public class DomainNameReferencesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the domainNameReferences property of the microsoft.graph.domain entity. @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs index 151ba6d62b..2b30d062d7 100644 --- a/src/generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs @@ -14,20 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.DomainNameReferences.Item { +namespace ApiSdk.Domains.Item.DomainNameReferences.Item +{ /// /// Provides operations to manage the domainNameReferences property of the microsoft.graph.domain entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// - /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group."; + command.Description = "The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group."; var domainIdOption = new Option("--domain-id", description: "The unique identifier of domain") { }; domainIdOption.IsRequired = true; @@ -93,7 +94,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl) : base("{+baseurl}/domai { } /// - /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. /// public class DirectoryObjectItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs b/src/generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs index 25a2810a2f..3050fb4016 100644 --- a/src/generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs +++ b/src/generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.FederationConfiguration.Count { +namespace ApiSdk.Domains.Item.FederationConfiguration.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs b/src/generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs index 7a8bfc4796..0b52e4bf90 100644 --- a/src/generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs +++ b/src/generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.FederationConfiguration { +namespace ApiSdk.Domains.Item.FederationConfiguration +{ /// /// Provides operations to manage the federationConfiguration property of the microsoft.graph.domain entity. /// - public class FederationConfigurationRequestBuilder : BaseCliRequestBuilder + public class FederationConfigurationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the federationConfiguration property of the microsoft.graph.domain entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs b/src/generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs index acfe414c03..123a4c90b0 100644 --- a/src/generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs +++ b/src/generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.FederationConfiguration.Item { +namespace ApiSdk.Domains.Item.FederationConfiguration.Item +{ /// /// Provides operations to manage the federationConfiguration property of the microsoft.graph.domain entity. /// - public class InternalDomainFederationItemRequestBuilder : BaseCliRequestBuilder + public class InternalDomainFederationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an internalDomainFederation object. diff --git a/src/generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs b/src/generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs index 94edb5fbdf..a0354c89f9 100644 --- a/src/generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs +++ b/src/generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Domains.Item.ForceDelete { - public class ForceDeletePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Domains.Item.ForceDelete +{ + #pragma warning disable CS1591 + public class ForceDeletePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"disableUserAccounts", n => { DisableUserAccounts = n.GetBoolValue(); } }, + { "disableUserAccounts", n => { DisableUserAccounts = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs b/src/generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs index 51d1bcfc88..8ab2b96e5d 100644 --- a/src/generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs +++ b/src/generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.ForceDelete { +namespace ApiSdk.Domains.Item.ForceDelete +{ /// /// Provides operations to call the forceDelete method. /// - public class ForceDeleteRequestBuilder : BaseCliRequestBuilder + public class ForceDeleteRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. + /// Delete a domain using an asynchronous long-running operation. Before performing this operation, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-forcedelete?view=graph-rest-1.0"; + command.Description = "Delete a domain using an asynchronous long-running operation. Before performing this operation, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/domain-forcedelete?view=graph-rest-1.0"; var domainIdOption = new Option("--domain-id", description: "The unique identifier of domain") { }; domainIdOption.IsRequired = true; @@ -76,7 +77,7 @@ public ForceDeleteRequestBuilder(string rawUrl) : base("{+baseurl}/domains/{doma { } /// - /// Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. + /// Delete a domain using an asynchronous long-running operation. Before performing this operation, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. /// /// A /// The request body diff --git a/src/generated/Domains/Item/Promote/PromotePostResponse.cs b/src/generated/Domains/Item/Promote/PromotePostResponse.cs index 2d2bc7b593..1a0b010f5a 100644 --- a/src/generated/Domains/Item/Promote/PromotePostResponse.cs +++ b/src/generated/Domains/Item/Promote/PromotePostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Domains.Item.Promote { - public class PromotePostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Domains.Item.Promote +{ + #pragma warning disable CS1591 + public class PromotePostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Domains/Item/Promote/PromoteRequestBuilder.cs b/src/generated/Domains/Item/Promote/PromoteRequestBuilder.cs index 8fbdb05473..bde361e6dd 100644 --- a/src/generated/Domains/Item/Promote/PromoteRequestBuilder.cs +++ b/src/generated/Domains/Item/Promote/PromoteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.Promote { +namespace ApiSdk.Domains.Item.Promote +{ /// /// Provides operations to call the promote method. /// - public class PromoteRequestBuilder : BaseCliRequestBuilder + public class PromoteRequestBuilder : BaseCliRequestBuilder { /// /// Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. diff --git a/src/generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs b/src/generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs index 14d2a676cd..1c62faddad 100644 --- a/src/generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs +++ b/src/generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.ServiceConfigurationRecords.Count { +namespace ApiSdk.Domains.Item.ServiceConfigurationRecords.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs index 8f4bd21a20..1ef102ad06 100644 --- a/src/generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.ServiceConfigurationRecords.Item { +namespace ApiSdk.Domains.Item.ServiceConfigurationRecords.Item +{ /// /// Provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. /// - public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder + public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property serviceConfigurationRecords for domains diff --git a/src/generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs b/src/generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs index 82782d7c62..66d7904e1c 100644 --- a/src/generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs +++ b/src/generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.ServiceConfigurationRecords { +namespace ApiSdk.Domains.Item.ServiceConfigurationRecords +{ /// /// Provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. /// - public class ServiceConfigurationRecordsRequestBuilder : BaseCliRequestBuilder + public class ServiceConfigurationRecordsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs b/src/generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs index af3049e996..97352b1c0f 100644 --- a/src/generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs +++ b/src/generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.VerificationDnsRecords.Count { +namespace ApiSdk.Domains.Item.VerificationDnsRecords.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs index fc71106729..f325720c4c 100644 --- a/src/generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.VerificationDnsRecords.Item { +namespace ApiSdk.Domains.Item.VerificationDnsRecords.Item +{ /// /// Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity. /// - public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder + public class DomainDnsRecordItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property verificationDnsRecords for domains diff --git a/src/generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs b/src/generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs index fe837506df..218f8b9f78 100644 --- a/src/generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs +++ b/src/generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.VerificationDnsRecords { +namespace ApiSdk.Domains.Item.VerificationDnsRecords +{ /// /// Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity. /// - public class VerificationDnsRecordsRequestBuilder : BaseCliRequestBuilder + public class VerificationDnsRecordsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Domains/Item/Verify/VerifyRequestBuilder.cs b/src/generated/Domains/Item/Verify/VerifyRequestBuilder.cs index 2404fdc16c..22710c55a2 100644 --- a/src/generated/Domains/Item/Verify/VerifyRequestBuilder.cs +++ b/src/generated/Domains/Item/Verify/VerifyRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Domains.Item.Verify { +namespace ApiSdk.Domains.Item.Verify +{ /// /// Provides operations to call the verify method. /// - public class VerifyRequestBuilder : BaseCliRequestBuilder + public class VerifyRequestBuilder : BaseCliRequestBuilder { /// /// Validates the ownership of the domain. diff --git a/src/generated/Drives/DrivesRequestBuilder.cs b/src/generated/Drives/DrivesRequestBuilder.cs index 7058d7f9d0..3ef7486638 100644 --- a/src/generated/Drives/DrivesRequestBuilder.cs +++ b/src/generated/Drives/DrivesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives { +namespace ApiSdk.Drives +{ /// /// Provides operations to manage the collection of drive entities. /// - public class DrivesRequestBuilder : BaseCliRequestBuilder + public class DrivesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of drive entities. @@ -168,7 +169,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Bundles/BundlesRequestBuilder.cs b/src/generated/Drives/Item/Bundles/BundlesRequestBuilder.cs index 5a544f051e..88d8ead0bf 100644 --- a/src/generated/Drives/Item/Bundles/BundlesRequestBuilder.cs +++ b/src/generated/Drives/Item/Bundles/BundlesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Bundles { +namespace ApiSdk.Drives.Item.Bundles +{ /// /// Provides operations to manage the bundles property of the microsoft.graph.drive entity. /// - public class BundlesRequestBuilder : BaseCliRequestBuilder + public class BundlesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the bundles property of the microsoft.graph.drive entity. @@ -104,13 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive."; + command.Description = "Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +221,7 @@ public BundlesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +261,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.DriveItem body, return requestInfo; } /// - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// public class BundlesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs index fb084c44ae..8f30250a3a 100644 --- a/src/generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Bundles.Count { +namespace ApiSdk.Drives.Item.Bundles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs index d163ba6f78..804328b45f 100644 --- a/src/generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Bundles.Item.Content { +namespace ApiSdk.Drives.Item.Bundles.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -146,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs b/src/generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs index 6b1549e7b9..058ac375b1 100644 --- a/src/generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Bundles.Item { +namespace ApiSdk.Drives.Item.Bundles.Item +{ /// /// Provides operations to manage the bundles property of the microsoft.graph.drive entity. /// - public class DriveItemItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,13 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive."; + command.Description = "Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -112,7 +114,7 @@ public DriveItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{dri { } /// - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +133,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. /// public class DriveItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index e0d757644f..b3262260ca 100644 --- a/src/generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.CreatedByUser { +namespace ApiSdk.Drives.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index a157d56e8a..9760b4d3d3 100644 --- a/src/generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index f5a2a63e8f..d591eb159a 100644 --- a/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 155c864eed..64d8bba684 100644 --- a/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/DriveItemRequestBuilder.cs b/src/generated/Drives/Item/DriveItemRequestBuilder.cs index 98a94189e0..4f2fb88b1a 100644 --- a/src/generated/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/generated/Drives/Item/DriveItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item { +namespace ApiSdk.Drives.Item +{ /// /// Provides operations to manage the collection of drive entities. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the bundles property of the microsoft.graph.drive entity. diff --git a/src/generated/Drives/Item/Following/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Following/Count/CountRequestBuilder.cs index 293df669f9..a48895c787 100644 --- a/src/generated/Drives/Item/Following/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Following/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Following.Count { +namespace ApiSdk.Drives.Item.Following.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Following/FollowingRequestBuilder.cs b/src/generated/Drives/Item/Following/FollowingRequestBuilder.cs index 147b6075f3..93aa73ac82 100644 --- a/src/generated/Drives/Item/Following/FollowingRequestBuilder.cs +++ b/src/generated/Drives/Item/Following/FollowingRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Following { +namespace ApiSdk.Drives.Item.Following +{ /// /// Provides operations to manage the following property of the microsoft.graph.drive entity. /// - public class FollowingRequestBuilder : BaseCliRequestBuilder + public class FollowingRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the following property of the microsoft.graph.drive entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. - /// Find more info here + /// The list of items the user is following. Only in OneDrive for Business. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-list-following?view=graph-rest-1.0"; + command.Description = "The list of items the user is following. Only in OneDrive for Business."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -142,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -168,7 +170,7 @@ public FollowingRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2 { } /// - /// List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. + /// The list of items the user is following. Only in OneDrive for Business. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +189,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. + /// The list of items the user is following. Only in OneDrive for Business. /// public class FollowingRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs index 374fa4eeb2..0f967a323e 100644 --- a/src/generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Following.Item.Content { +namespace ApiSdk.Drives.Item.Following.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream, if the item represents a file. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream, if the item represents a file. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream, if the item represents a file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-list-following?view=graph-rest-1.0"; + command.Description = "The content stream, if the item represents a file."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -147,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs b/src/generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs index 3b1e1b0a24..ed658fd9fc 100644 --- a/src/generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Following.Item { +namespace ApiSdk.Drives.Item.Following.Item +{ /// /// Provides operations to manage the following property of the microsoft.graph.drive entity. /// - public class DriveItemItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Drives/Item/Items/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Count/CountRequestBuilder.cs index d50d84b3ed..3b37650be3 100644 --- a/src/generated/Drives/Item/Items/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Count { +namespace ApiSdk.Drives.Item.Items.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs index 036924217c..a86314b0a3 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.AllTime { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.AllTime +{ /// /// Provides operations to manage the allTime property of the microsoft.graph.itemAnalytics entity. /// - public class AllTimeRequestBuilder : BaseCliRequestBuilder + public class AllTimeRequestBuilder : BaseCliRequestBuilder { /// - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. - /// Find more info here + /// Get allTime from drives /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0"; + command.Description = "Get allTime from drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -94,7 +94,7 @@ public AllTimeRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. + /// Get allTime from drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. + /// Get allTime from drives /// public class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs index 21ce3e9dd8..dc367cb953 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics { +namespace ApiSdk.Drives.Item.Items.Item.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.driveItem entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allTime property of the microsoft.graph.itemAnalytics entity. diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs index d93a29af43..7d9da2c32b 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Count { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs index 8d0a2ced12..07df87135a 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities +{ /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. /// - public class ActivitiesRequestBuilder : BaseCliRequestBuilder + public class ActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs index 67485f1c77..658d83eff2 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Count { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs index 4e42c16f88..9940623f3f 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -14,12 +14,66 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem.Content { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var itemActivityStatIdOption = new Option("--item-activity-stat-id", description: "The unique identifier of itemActivityStat") { + }; + itemActivityStatIdOption.IsRequired = true; + command.AddOption(itemActivityStatIdOption); + var itemActivityIdOption = new Option("--item-activity-id", description: "The unique identifier of itemActivity") { + }; + itemActivityIdOption.IsRequired = true; + command.AddOption(itemActivityIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var itemActivityStatId = invocationContext.ParseResult.GetValueForOption(itemActivityStatIdOption); + var itemActivityId = invocationContext.ParseResult.GetValueForOption(itemActivityIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (itemActivityStatId is not null) requestInfo.PathParameters.Add("itemActivityStat%2Did", itemActivityStatId); + if (itemActivityId is not null) requestInfo.PathParameters.Add("itemActivity%2Did", itemActivityId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -170,6 +224,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs index 1dba224455..8fe4cd7651 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem +{ /// /// Provides operations to manage the driveItem property of the microsoft.graph.itemActivity entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs index cba26aa1e8..0920b548ee 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item.Activities.Item +{ /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. /// - public class ItemActivityItemRequestBuilder : BaseCliRequestBuilder + public class ItemActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property activities for drives diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs index a1260c9520..b4a57ef5d4 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats.Item +{ /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. /// - public class ItemActivityStatItemRequestBuilder : BaseCliRequestBuilder + public class ItemActivityStatItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. diff --git a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs index 4d24948193..bdb388dca9 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.ItemActivityStats +{ /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. /// - public class ItemActivityStatsRequestBuilder : BaseCliRequestBuilder + public class ItemActivityStatsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs index 8364888162..fd5633d7fa 100644 --- a/src/generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Analytics.LastSevenDays { +namespace ApiSdk.Drives.Item.Items.Item.Analytics.LastSevenDays +{ /// /// Provides operations to manage the lastSevenDays property of the microsoft.graph.itemAnalytics entity. /// - public class LastSevenDaysRequestBuilder : BaseCliRequestBuilder + public class LastSevenDaysRequestBuilder : BaseCliRequestBuilder { /// /// Get lastSevenDays from drives diff --git a/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.cs index 381318766e..13fcf66f34 100644 --- a/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.AssignSensitivityLabel { - public class AssignSensitivityLabelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.AssignSensitivityLabel +{ + #pragma warning disable CS1591 + public class AssignSensitivityLabelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignmentMethod", n => { AssignmentMethod = n.GetEnumValue(); } }, - {"justificationText", n => { JustificationText = n.GetStringValue(); } }, - {"sensitivityLabelId", n => { SensitivityLabelId = n.GetStringValue(); } }, + { "assignmentMethod", n => { AssignmentMethod = n.GetEnumValue(); } }, + { "justificationText", n => { JustificationText = n.GetStringValue(); } }, + { "sensitivityLabelId", n => { SensitivityLabelId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs index beaafc78ca..aeb2bd4754 100644 --- a/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.AssignSensitivityLabel { +namespace ApiSdk.Drives.Item.Items.Item.AssignSensitivityLabel +{ /// /// Provides operations to call the assignSensitivityLabel method. /// - public class AssignSensitivityLabelRequestBuilder : BaseCliRequestBuilder + public class AssignSensitivityLabelRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action assignSensitivityLabel diff --git a/src/generated/Drives/Item/Items/Item/Checkin/CheckinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Checkin/CheckinPostRequestBody.cs index 340e090ae3..0178562f7f 100644 --- a/src/generated/Drives/Item/Items/Item/Checkin/CheckinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Checkin/CheckinPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Checkin { - public class CheckinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Checkin +{ + #pragma warning disable CS1591 + public class CheckinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"checkInAs", n => { CheckInAs = n.GetStringValue(); } }, - {"comment", n => { Comment = n.GetStringValue(); } }, + { "checkInAs", n => { CheckInAs = n.GetStringValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs index 2bc5137fe6..7cf7ff6e21 100644 --- a/src/generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Checkin { +namespace ApiSdk.Drives.Item.Items.Item.Checkin +{ /// /// Provides operations to call the checkin method. /// - public class CheckinRequestBuilder : BaseCliRequestBuilder + public class CheckinRequestBuilder : BaseCliRequestBuilder { /// /// Check in a checked out driveItem resource, which makes the version of the document available to others. diff --git a/src/generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs index 18f88e63c7..7c0a9a565e 100644 --- a/src/generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Checkout { +namespace ApiSdk.Drives.Item.Items.Item.Checkout +{ /// /// Provides operations to call the checkout method. /// - public class CheckoutRequestBuilder : BaseCliRequestBuilder + public class CheckoutRequestBuilder : BaseCliRequestBuilder { /// /// Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. diff --git a/src/generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs index 94a985ac1b..a792a5732d 100644 --- a/src/generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Children { +namespace ApiSdk.Drives.Item.Items.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.driveItem entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.driveItem entity. @@ -54,13 +55,12 @@ public Command BuildCountNavCommand() } /// /// Create new navigation property to children for drives - /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create new navigation property to children for drives\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-post-children?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -206,7 +206,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs index fd3309d0bf..ee9db411da 100644 --- a/src/generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Children.Count { +namespace ApiSdk.Drives.Item.Items.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs index d38670eb93..921e6ea759 100644 --- a/src/generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Children.Item.Content { +namespace ApiSdk.Drives.Item.Items.Item.Children.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream, if the item represents a file. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var driveItemId1Option = new Option("--drive-item-id1", description: "The unique identifier of driveItem") { + }; + driveItemId1Option.IsRequired = true; + command.AddOption(driveItemId1Option); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var driveItemId1 = invocationContext.ParseResult.GetValueForOption(driveItemId1Option); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (driveItemId1 is not null) requestInfo.PathParameters.Add("driveItem%2Did1", driveItemId1); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream, if the item represents a file. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream, if the item represents a file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-list-children?view=graph-rest-1.0"; + command.Description = "The content stream, if the item represents a file."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -159,6 +206,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs index 82ceb86ba0..99f4421d33 100644 --- a/src/generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Children.Item { +namespace ApiSdk.Drives.Item.Items.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.driveItem entity. /// - public class DriveItemItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs index 6e7d97d50c..235fc8b037 100644 --- a/src/generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Content { +namespace ApiSdk.Drives.Item.Items.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -146,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs index edcd2e0f7f..5f37c397e2 100644 --- a/src/generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Copy { - public class CopyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Copy +{ + #pragma warning disable CS1591 + public class CopyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, - {"parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs index de6e79f500..609de09ff0 100644 --- a/src/generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Copy { +namespace ApiSdk.Drives.Item.Items.Item.Copy +{ /// /// Provides operations to call the copy method. /// - public class CopyRequestBuilder : BaseCliRequestBuilder + public class CopyRequestBuilder : BaseCliRequestBuilder { /// - /// Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. + /// Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-copy?view=graph-rest-1.0"; + command.Description = "Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-copy?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -93,7 +94,7 @@ public CopyRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. + /// Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index c18c350ab7..53755dbe9a 100644 --- a/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreateLink { - public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.CreateLink +{ + #pragma warning disable CS1591 + public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -81,14 +84,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"message", n => { Message = n.GetStringValue(); } }, - {"password", n => { Password = n.GetStringValue(); } }, - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, - {"scope", n => { Scope = n.GetStringValue(); } }, - {"sendNotification", n => { SendNotification = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + { "sendNotification", n => { SendNotification = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs index 2f4cd6134b..27fbefcf8d 100644 --- a/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreateLink { +namespace ApiSdk.Drives.Item.Items.Item.CreateLink +{ /// /// Provides operations to call the createLink method. /// - public class CreateLinkRequestBuilder : BaseCliRequestBuilder + public class CreateLinkRequestBuilder : BaseCliRequestBuilder { /// /// You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. diff --git a/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ef2eddb660..817f69e7c2 100644 --- a/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"item", n => { Item = n.GetObjectValue(DriveItemUploadableProperties.CreateFromDiscriminatorValue); } }, + { "item", n => { Item = n.GetObjectValue(DriveItemUploadableProperties.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index da89d92443..5a6c169e9d 100644 --- a/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreateUploadSession { +namespace ApiSdk.Drives.Item.Items.Item.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action createUploadSession diff --git a/src/generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 39624a31d8..93797b727f 100644 --- a/src/generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser { +namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 6e6729dac8..de3c548c83 100644 --- a/src/generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\items\{driveItem-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 571107894c..259ae1a2eb 100644 --- a/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 946abef5ef..d07366b8e0 100644 --- a/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\items\{driveItem-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Delta/DeltaGetResponse.cs b/src/generated/Drives/Item/Items/Item/Delta/DeltaGetResponse.cs index 3de93fcd2f..285eb9f119 100644 --- a/src/generated/Drives/Item/Items/Item/Delta/DeltaGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs index 5c685af791..de0d4d3e32 100644 --- a/src/generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Delta { +namespace ApiSdk.Drives.Item.Items.Item.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-delta?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// Invoke function delta + /// Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.cs b/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.cs index 75337fc6f2..5f7ecb41c0 100644 --- a/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.DeltaWithToken { - public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.DeltaWithToken +{ + #pragma warning disable CS1591 + public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs index 0fc7de7ee9..e8f0a59e5e 100644 --- a/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.DeltaWithToken { +namespace ApiSdk.Drives.Item.Items.Item.DeltaWithToken +{ /// /// Provides operations to call the delta method. /// - public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder + public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function delta @@ -120,7 +121,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 197ae389e3..d958f23a60 100644 --- a/src/generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -45,11 +45,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item { +namespace ApiSdk.Drives.Item.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.drive entity. /// - public class DriveItemItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.driveItem entity. @@ -166,6 +167,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -250,14 +252,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. - /// Find more info here + /// Delete navigation property items for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property items for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -510,14 +511,13 @@ public Command BuildListItemNavCommand() return command; } /// - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. - /// Find more info here + /// Update the navigation property items in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property items in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -847,7 +847,7 @@ public DriveItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{dri { } /// - /// Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. + /// Delete navigation property items for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -885,7 +885,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. + /// Update the navigation property items in drives /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs index 507ae15be2..004e42d68f 100644 --- a/src/generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.ExtractSensitivityLabels { +namespace ApiSdk.Drives.Item.Items.Item.ExtractSensitivityLabels +{ /// /// Provides operations to call the extractSensitivityLabels method. /// - public class ExtractSensitivityLabelsRequestBuilder : BaseCliRequestBuilder + public class ExtractSensitivityLabelsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action extractSensitivityLabels diff --git a/src/generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs index 853ef5fadf..41d318874a 100644 --- a/src/generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Follow { +namespace ApiSdk.Drives.Item.Items.Item.Follow +{ /// /// Provides operations to call the follow method. /// - public class FollowRequestBuilder : BaseCliRequestBuilder + public class FollowRequestBuilder : BaseCliRequestBuilder { /// /// Follow a driveItem. diff --git a/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs b/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs index c4b7c0eb1c..e201bbb7b6 100644 --- a/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByInterval { - public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index e9a29a2f7e..2b3317dc94 100644 --- a/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByInterval { +namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getActivitiesByInterval + /// Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getActivitiesByInterval"; + command.Description = "Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/itemactivitystat-getactivitybyinterval?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public GetActivitiesByIntervalRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Invoke function getActivitiesByInterval + /// Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActivitiesByInterval + /// Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types. /// public class GetActivitiesByIntervalRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs b/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs index d7bd3dff35..239adcaa86 100644 --- a/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index e4c8ba789f..f443a126bb 100644 --- a/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { +namespace ApiSdk.Drives.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -132,7 +133,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs index ac259fee59..fa9d83b4ae 100644 --- a/src/generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Invite { - public class InvitePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Invite +{ + #pragma warning disable CS1591 + public class InvitePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -81,14 +84,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expirationDateTime", n => { ExpirationDateTime = n.GetStringValue(); } }, - {"message", n => { Message = n.GetStringValue(); } }, - {"password", n => { Password = n.GetStringValue(); } }, - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requireSignIn", n => { RequireSignIn = n.GetBoolValue(); } }, - {"retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"sendInvitation", n => { SendInvitation = n.GetBoolValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetStringValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requireSignIn", n => { RequireSignIn = n.GetBoolValue(); } }, + { "retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "sendInvitation", n => { SendInvitation = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Invite/InvitePostResponse.cs b/src/generated/Drives/Item/Items/Item/Invite/InvitePostResponse.cs index cb8c86da67..5347537d27 100644 --- a/src/generated/Drives/Item/Items/Item/Invite/InvitePostResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Invite/InvitePostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Invite { - public class InvitePostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Invite +{ + #pragma warning disable CS1591 + public class InvitePostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs index 6ad8e5edbf..3a07bc64e3 100644 --- a/src/generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Invite { +namespace ApiSdk.Drives.Item.Items.Item.Invite +{ /// /// Provides operations to call the invite method. /// - public class InviteRequestBuilder : BaseCliRequestBuilder + public class InviteRequestBuilder : BaseCliRequestBuilder { /// - /// Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][]. + /// Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-invite?view=graph-rest-1.0"; + command.Description = "Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-invite?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -77,7 +78,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -103,7 +106,7 @@ public InviteRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][]. + /// Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 8db58e6e72..5a3ab4ea00 100644 --- a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser { +namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index e363ec1030..f6ff398175 100644 --- a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\items\{driveItem-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 26b0cf91af..41a499af31 100644 --- a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index b3788c7aaa..3d8487bc03 100644 --- a/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\items\{driveItem-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs index 0895e40274..33997ea1c7 100644 --- a/src/generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.ListItem { +namespace ApiSdk.Drives.Item.Items.Item.ListItem +{ /// /// Provides operations to manage the listItem property of the microsoft.graph.driveItem entity. /// - public class ListItemRequestBuilder : BaseCliRequestBuilder + public class ListItemRequestBuilder : BaseCliRequestBuilder { /// /// For drives in SharePoint, the associated document library list item. Read-only. Nullable. diff --git a/src/generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 1bdda2fa20..09a4234cfc 100644 --- a/src/generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.PermanentDelete { +namespace ApiSdk.Drives.Item.Items.Item.PermanentDelete +{ /// /// Provides operations to call the permanentDelete method. /// - public class PermanentDeleteRequestBuilder : BaseCliRequestBuilder + public class PermanentDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action permanentDelete diff --git a/src/generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs index f4181bb7b8..95341b71d2 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions.Count { +namespace ApiSdk.Drives.Item.Items.Item.Permissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.cs index 4c618384d3..397d54bd51 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant { - public class GrantPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant +{ + #pragma warning disable CS1591 + public class GrantPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostResponse.cs b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostResponse.cs index 69b8fb6ed3..4f95df4438 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant { - public class GrantPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant +{ + #pragma warning disable CS1591 + public class GrantPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs index f8191b73ff..4b287d16b6 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant { +namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item.Grant +{ /// /// Provides operations to call the grant method. /// - public class GrantRequestBuilder : BaseCliRequestBuilder + public class GrantRequestBuilder : BaseCliRequestBuilder { /// - /// Grant users access to a link represented by a [permission][]. + /// Grant users access to a link represented by a permission. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Grant users access to a link represented by a [permission][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0"; + command.Description = "Grant users access to a link represented by a permission.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -83,7 +84,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -109,7 +112,7 @@ public GrantRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// Grant users access to a link represented by a [permission][]. + /// Grant users access to a link represented by a permission. /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index fe6e06ee2a..cd886535ee 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item { +namespace ApiSdk.Drives.Item.Items.Item.Permissions.Item +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.driveItem entity. /// - public class PermissionItemRequestBuilder : BaseCliRequestBuilder + public class PermissionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. - /// Find more info here + /// Delete navigation property permissions for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property permissions for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -70,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. - /// Find more info here + /// The set of permissions for the item. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-get?view=graph-rest-1.0"; + command.Description = "The set of permissions for the item. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -152,14 +151,13 @@ public Command BuildGrantNavCommand() return command; } /// - /// Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. - /// Find more info here + /// Update the navigation property permissions in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property permissions in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -230,7 +228,7 @@ public PermissionItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{dr { } /// - /// Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. + /// Delete navigation property permissions for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. + /// The set of permissions for the item. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. + /// Update the navigation property permissions in drives /// /// A /// The request body @@ -289,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Permission bod return requestInfo; } /// - /// Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. + /// The set of permissions for the item. Read-only. Nullable. /// public class PermissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs index 9a436bc1b4..5e4935456e 100644 --- a/src/generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Permissions { +namespace ApiSdk.Drives.Item.Items.Item.Permissions +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.driveItem entity. /// - public class PermissionsRequestBuilder : BaseCliRequestBuilder + public class PermissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the permissions property of the microsoft.graph.driveItem entity. @@ -112,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the effective sharing permissions on a driveItem. - /// Find more info here + /// The set of permissions for the item. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the effective sharing permissions on a driveItem.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-list-permissions?view=graph-rest-1.0"; + command.Description = "The set of permissions for the item. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -207,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,7 +235,7 @@ public PermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive { } /// - /// List the effective sharing permissions on a driveItem. + /// The set of permissions for the item. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -273,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.Permission body return requestInfo; } /// - /// List the effective sharing permissions on a driveItem. + /// The set of permissions for the item. Read-only. Nullable. /// public class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.cs index d30b035c98..cbe14572fd 100644 --- a/src/generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Preview { - public class PreviewPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Preview +{ + #pragma warning disable CS1591 + public class PreviewPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"page", n => { Page = n.GetStringValue(); } }, - {"zoom", n => { Zoom = n.GetDoubleValue(); } }, + { "page", n => { Page = n.GetStringValue(); } }, + { "zoom", n => { Zoom = n.GetDoubleValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs index 23d42c5925..09043b3670 100644 --- a/src/generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Preview { +namespace ApiSdk.Drives.Item.Items.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action preview diff --git a/src/generated/Drives/Item/Items/Item/Restore/RestorePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Restore/RestorePostRequestBody.cs index 06fef28ece..8b536ea4d9 100644 --- a/src/generated/Drives/Item/Items/Item/Restore/RestorePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Restore/RestorePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Restore { - public class RestorePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Restore +{ + #pragma warning disable CS1591 + public class RestorePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, - {"parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs index 90337bf918..857bb8a8a5 100644 --- a/src/generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Restore { +namespace ApiSdk.Drives.Item.Items.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. diff --git a/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index ad1cb6e3fe..a78e50ea55 100644 --- a/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.RetentionLabel { +namespace ApiSdk.Drives.Item.Items.Item.RetentionLabel +{ /// /// Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. /// - public class RetentionLabelRequestBuilder : BaseCliRequestBuilder + public class RetentionLabelRequestBuilder : BaseCliRequestBuilder { /// /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. diff --git a/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQGetResponse.cs b/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQGetResponse.cs index b872bc68d4..91e6935bde 100644 --- a/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.SearchWithQ { - public class SearchWithQGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Items.Item.SearchWithQ +{ + #pragma warning disable CS1591 + public class SearchWithQGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs index ec27d087a6..b76d425a74 100644 --- a/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.SearchWithQ { +namespace ApiSdk.Drives.Item.Items.Item.SearchWithQ +{ /// /// Provides operations to call the search method. /// - public class SearchWithQRequestBuilder : BaseCliRequestBuilder + public class SearchWithQRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function search"; + command.Description = "Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-search?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public SearchWithQRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive { } /// - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. /// public class SearchWithQRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs index 8371127f15..15271ca77b 100644 --- a/src/generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Count { +namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index b706d6656a..e41f07d459 100644 --- a/src/generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Item.Reauthorize { +namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Item.Reauthorize +{ /// /// Provides operations to call the reauthorize method. /// - public class ReauthorizeRequestBuilder : BaseCliRequestBuilder + public class ReauthorizeRequestBuilder : BaseCliRequestBuilder { /// /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index b3b86e0178..43061c4462 100644 --- a/src/generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Item { +namespace ApiSdk.Drives.Item.Items.Item.Subscriptions.Item +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. /// - public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder + public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property subscriptions for drives diff --git a/src/generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs index 50c06adac6..80285e127d 100644 --- a/src/generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Subscriptions { +namespace ApiSdk.Drives.Item.Items.Item.Subscriptions +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. /// - public class SubscriptionsRequestBuilder : BaseCliRequestBuilder + public class SubscriptionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs index 6bfea8e1a1..751eb7fea6 100644 --- a/src/generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Thumbnails.Count { +namespace ApiSdk.Drives.Item.Items.Item.Thumbnails.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs index a37c2a206a..c3543f609a 100644 --- a/src/generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Thumbnails.Item { +namespace ApiSdk.Drives.Item.Items.Item.Thumbnails.Item +{ /// /// Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. /// - public class ThumbnailSetItemRequestBuilder : BaseCliRequestBuilder + public class ThumbnailSetItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property thumbnails for drives @@ -68,13 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable."; + command.Description = "Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -228,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(ThumbnailSet body, Action - /// Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// public class ThumbnailSetItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs index cab3a3c7dd..b1fd4fb6b1 100644 --- a/src/generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Thumbnails { +namespace ApiSdk.Drives.Item.Items.Item.Thumbnails +{ /// /// Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. /// - public class ThumbnailsRequestBuilder : BaseCliRequestBuilder + public class ThumbnailsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: - /// Find more info here + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones:\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-list-thumbnails?view=graph-rest-1.0"; + command.Description = "Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public ThumbnailsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive% { } /// - /// Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(ThumbnailSet body, Action - /// Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. /// public class ThumbnailsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs index cbb4767705..1e7401e6be 100644 --- a/src/generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Unfollow { +namespace ApiSdk.Drives.Item.Items.Item.Unfollow +{ /// /// Provides operations to call the unfollow method. /// - public class UnfollowRequestBuilder : BaseCliRequestBuilder + public class UnfollowRequestBuilder : BaseCliRequestBuilder { /// /// Unfollow a driveItem. diff --git a/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.cs index 051314bdc1..726d37b6fc 100644 --- a/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.ValidatePermission { - public class ValidatePermissionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.ValidatePermission +{ + #pragma warning disable CS1591 + public class ValidatePermissionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"challengeToken", n => { ChallengeToken = n.GetStringValue(); } }, - {"password", n => { Password = n.GetStringValue(); } }, + { "challengeToken", n => { ChallengeToken = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs index 14dc3a91d1..74357e0d7e 100644 --- a/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.ValidatePermission { +namespace ApiSdk.Drives.Item.Items.Item.ValidatePermission +{ /// /// Provides operations to call the validatePermission method. /// - public class ValidatePermissionRequestBuilder : BaseCliRequestBuilder + public class ValidatePermissionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action validatePermission diff --git a/src/generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs index f1029b9f68..456f26daa4 100644 --- a/src/generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Versions.Count { +namespace ApiSdk.Drives.Item.Items.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs index d61b168ada..9d0796541b 100644 --- a/src/generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Versions.Item.Content { +namespace ApiSdk.Drives.Item.Items.Item.Versions.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream for this version of the item. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream for this version of the item."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var driveItemVersionIdOption = new Option("--drive-item-version-id", description: "The unique identifier of driveItemVersion") { + }; + driveItemVersionIdOption.IsRequired = true; + command.AddOption(driveItemVersionIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var driveItemVersionId = invocationContext.ParseResult.GetValueForOption(driveItemVersionIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (driveItemVersionId is not null) requestInfo.PathParameters.Add("driveItemVersion%2Did", driveItemVersionId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream for this version of the item. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream for this version of the item.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-list-versions?view=graph-rest-1.0"; + command.Description = "The content stream for this version of the item."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -153,6 +200,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream for this version of the item. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs index 90984ad69a..f0a58ebac4 100644 --- a/src/generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Versions.Item { +namespace ApiSdk.Drives.Item.Items.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.driveItem entity. /// - public class DriveItemVersionItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -32,6 +33,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -88,14 +90,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the metadata for a specific version of a DriveItem. - /// Find more info here + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a specific version of a DriveItem.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitemversion-get?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a specific version of a DriveItem. + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(DriveItemVersion body, Actio return requestInfo; } /// - /// Retrieve the metadata for a specific version of a DriveItem. + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// public class DriveItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index 9a5172846b..9a67dfea7f 100644 --- a/src/generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Versions.Item.RestoreVersion { +namespace ApiSdk.Drives.Item.Items.Item.Versions.Item.RestoreVersion +{ /// /// Provides operations to call the restoreVersion method. /// - public class RestoreVersionRequestBuilder : BaseCliRequestBuilder + public class RestoreVersionRequestBuilder : BaseCliRequestBuilder { /// /// Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. diff --git a/src/generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs index a76e69ba75..c4452911c7 100644 --- a/src/generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Versions { +namespace ApiSdk.Drives.Item.Items.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.driveItem entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.driveItem entity. @@ -113,14 +114,13 @@ public Command BuildCreateCommand() return command; } /// - /// OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. - /// Find more info here + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-list-versions?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -208,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +236,7 @@ public VersionsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2D { } /// - /// OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +276,7 @@ public RequestInformation ToPostRequestInformation(DriveItemVersion body, Action return requestInfo; } /// - /// OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. /// public class VersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs index 0465082614..57b4f9d077 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application +{ /// /// Provides operations to manage the application property of the microsoft.graph.workbook entity. /// - public class ApplicationRequestBuilder : BaseCliRequestBuilder + public class ApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the calculate method. @@ -80,14 +81,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a workbookApplication object. - /// Find more info here + /// Get application from drives /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a workbookApplication object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbookapplication-get?view=graph-rest-1.0"; + command.Description = "Get application from drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a workbookApplication object. + /// Get application from drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookApplication body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of a workbookApplication object. + /// Get application from drives /// public class ApplicationRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.cs index 70733670ef..73474bcdca 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application.Calculate { - public class CalculatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application.Calculate +{ + #pragma warning disable CS1591 + public class CalculatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"calculationType", n => { CalculationType = n.GetStringValue(); } }, + { "calculationType", n => { CalculationType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs index c23ca6d416..dd9d8f10b0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application.Calculate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Application.Calculate +{ /// /// Provides operations to call the calculate method. /// - public class CalculateRequestBuilder : BaseCliRequestBuilder + public class CalculateRequestBuilder : BaseCliRequestBuilder { /// /// Recalculate all currently opened workbooks in Excel. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs index 1e9cd7ad5a..e196bfc721 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.CloseSession { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.CloseSession +{ /// /// Provides operations to call the closeSession method. /// - public class CloseSessionRequestBuilder : BaseCliRequestBuilder + public class CloseSessionRequestBuilder : BaseCliRequestBuilder { /// /// Use this API to close an existing workbook session. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs index 4b8947c38d..fea9d09cc3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments +{ /// /// Provides operations to manage the comments property of the microsoft.graph.workbook entity. /// - public class CommentsRequestBuilder : BaseCliRequestBuilder + public class CommentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the comments property of the microsoft.graph.workbook entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs index c990017b67..8316b84d95 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs index 8b3f626958..2554267d9e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs index d85d827537..4a6ac57b37 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies.Item +{ /// /// Provides operations to manage the replies property of the microsoft.graph.workbookComment entity. /// - public class WorkbookCommentReplyItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookCommentReplyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property replies for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of workbookCommentReply object. - /// Find more info here + /// Get replies from drives /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of workbookCommentReply object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbookcommentreply-get?view=graph-rest-1.0"; + command.Description = "Get replies from drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of workbookCommentReply object. + /// Get replies from drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookCommentReply body, A return requestInfo; } /// - /// Retrieve the properties and relationships of workbookCommentReply object. + /// Get replies from drives /// public class WorkbookCommentReplyItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs index c25a8c5b7e..0de7976262 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item.Replies +{ /// /// Provides operations to manage the replies property of the microsoft.graph.workbookComment entity. /// - public class RepliesRequestBuilder : BaseCliRequestBuilder + public class RepliesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the replies property of the microsoft.graph.workbookComment entity. @@ -116,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the properties and relationships of workbookCommentReply object. + /// Get replies from drives /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the properties and relationships of workbookCommentReply object."; + command.Description = "Get replies from drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -242,7 +245,7 @@ public RepliesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Retrieve the properties and relationships of workbookCommentReply object. + /// Get replies from drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -282,7 +285,7 @@ public RequestInformation ToPostRequestInformation(WorkbookCommentReply body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of workbookCommentReply object. + /// Get replies from drives /// public class RepliesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs index 26fdeca224..25f533fe99 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Comments.Item +{ /// /// Provides operations to manage the comments property of the microsoft.graph.workbook entity. /// - public class WorkbookCommentItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookCommentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property comments for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs index 6d54ededd2..7aff4d5afb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.CreateSession { - public class CreateSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.CreateSession +{ + #pragma warning disable CS1591 + public class CreateSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"persistChanges", n => { PersistChanges = n.GetBoolValue(); } }, + { "persistChanges", n => { PersistChanges = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs index 3ce8ec3735..16a1bd41ed 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.CreateSession { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.CreateSession +{ /// /// Provides operations to call the createSession method. /// - public class CreateSessionRequestBuilder : BaseCliRequestBuilder + public class CreateSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.cs index 7515c81a3c..16b9be6cd1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Abs { - public class AbsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Abs +{ + #pragma warning disable CS1591 + public class AbsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs index f52b7829c1..e8f3b009fc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Abs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Abs +{ /// /// Provides operations to call the abs method. /// - public class AbsRequestBuilder : BaseCliRequestBuilder + public class AbsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action abs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.cs index 5078523cd5..a3c332ba43 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrInt { - public class AccrIntPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrInt +{ + #pragma warning disable CS1591 + public class AccrIntPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -99,14 +102,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"calcMethod", n => { CalcMethod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"firstInterest", n => { FirstInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"par", n => { Par = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "calcMethod", n => { CalcMethod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "firstInterest", n => { FirstInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "par", n => { Par = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs index f7f2437dc7..618f23894c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrInt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrInt +{ /// /// Provides operations to call the accrInt method. /// - public class AccrIntRequestBuilder : BaseCliRequestBuilder + public class AccrIntRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action accrInt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.cs index 546c510a86..b7736a68aa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrIntM { - public class AccrIntMPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrIntM +{ + #pragma warning disable CS1591 + public class AccrIntMPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"par", n => { Par = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "par", n => { Par = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs index cf7aa323d9..417538f9cf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrIntM { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AccrIntM +{ /// /// Provides operations to call the accrIntM method. /// - public class AccrIntMRequestBuilder : BaseCliRequestBuilder + public class AccrIntMRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action accrIntM diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.cs index 2d6a74af9f..877e2786ac 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acos { - public class AcosPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acos +{ + #pragma warning disable CS1591 + public class AcosPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs index fb27eb82f1..d4fdbf0143 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acos { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acos +{ /// /// Provides operations to call the acos method. /// - public class AcosRequestBuilder : BaseCliRequestBuilder + public class AcosRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action acos diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.cs index 49765cf278..e611caeacd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acosh { - public class AcoshPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acosh +{ + #pragma warning disable CS1591 + public class AcoshPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs index 7c848bac2b..da08548c0a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acosh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acosh +{ /// /// Provides operations to call the acosh method. /// - public class AcoshRequestBuilder : BaseCliRequestBuilder + public class AcoshRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action acosh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.cs index 944448b3fb..a9fd4c4813 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acot { - public class AcotPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acot +{ + #pragma warning disable CS1591 + public class AcotPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs index 9d0e155345..e7fb0e44a1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acot { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acot +{ /// /// Provides operations to call the acot method. /// - public class AcotRequestBuilder : BaseCliRequestBuilder + public class AcotRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action acot diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.cs index d2ba02162e..481ceb494f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acoth { - public class AcothPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acoth +{ + #pragma warning disable CS1591 + public class AcothPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs index 1e246ec1ce..311706b0ba 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acoth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Acoth +{ /// /// Provides operations to call the acoth method. /// - public class AcothRequestBuilder : BaseCliRequestBuilder + public class AcothRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action acoth diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.cs index 7ffd0ea344..89c5ccf265 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorDegrc { - public class AmorDegrcPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorDegrc +{ + #pragma warning disable CS1591 + public class AmorDegrcPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -91,13 +94,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"datePurchased", n => { DatePurchased = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"firstPeriod", n => { FirstPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "datePurchased", n => { DatePurchased = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "firstPeriod", n => { FirstPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs index 84f4009980..dc0e3e77be 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorDegrc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorDegrc +{ /// /// Provides operations to call the amorDegrc method. /// - public class AmorDegrcRequestBuilder : BaseCliRequestBuilder + public class AmorDegrcRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action amorDegrc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.cs index b17d9d45e2..b74b2befff 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorLinc { - public class AmorLincPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorLinc +{ + #pragma warning disable CS1591 + public class AmorLincPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -91,13 +94,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"datePurchased", n => { DatePurchased = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"firstPeriod", n => { FirstPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "datePurchased", n => { DatePurchased = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "firstPeriod", n => { FirstPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs index 2c22fadc18..cb64508cdd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorLinc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AmorLinc +{ /// /// Provides operations to call the amorLinc method. /// - public class AmorLincRequestBuilder : BaseCliRequestBuilder + public class AmorLincRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action amorLinc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndPostRequestBody.cs index 1cd49f11c7..201bc6ee53 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.And { - public class AndPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.And +{ + #pragma warning disable CS1591 + public class AndPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs index 8d48e1c1ea..ed379e33c1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.And { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.And +{ /// /// Provides operations to call the and method. /// - public class AndRequestBuilder : BaseCliRequestBuilder + public class AndRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action and diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.cs index de5d24904f..41cd084dbd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Arabic { - public class ArabicPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Arabic +{ + #pragma warning disable CS1591 + public class ArabicPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs index a4ba2893fe..a8175a04cd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Arabic { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Arabic +{ /// /// Provides operations to call the arabic method. /// - public class ArabicRequestBuilder : BaseCliRequestBuilder + public class ArabicRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action arabic diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.cs index 664269619f..706f437071 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Areas { - public class AreasPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Areas +{ + #pragma warning disable CS1591 + public class AreasPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs index d7f5664619..1bfe7952a2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Areas { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Areas +{ /// /// Provides operations to call the areas method. /// - public class AreasRequestBuilder : BaseCliRequestBuilder + public class AreasRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action areas diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.cs index 647581036d..77f7a22631 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asc { - public class AscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asc +{ + #pragma warning disable CS1591 + public class AscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs index d989b3fb7c..9299b69c92 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asc +{ /// /// Provides operations to call the asc method. /// - public class AscRequestBuilder : BaseCliRequestBuilder + public class AscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action asc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.cs index 3aeaa8e1af..f7c006addb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asin { - public class AsinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asin +{ + #pragma warning disable CS1591 + public class AsinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs index ce0ca33c7c..007c134f7d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asin +{ /// /// Provides operations to call the asin method. /// - public class AsinRequestBuilder : BaseCliRequestBuilder + public class AsinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action asin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.cs index a392f4a075..3801d665e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asinh { - public class AsinhPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asinh +{ + #pragma warning disable CS1591 + public class AsinhPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs index f8927e9d08..4211b03298 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asinh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Asinh +{ /// /// Provides operations to call the asinh method. /// - public class AsinhRequestBuilder : BaseCliRequestBuilder + public class AsinhRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action asinh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.cs index 4f93224561..ecd385ed57 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan { - public class AtanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan +{ + #pragma warning disable CS1591 + public class AtanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs index b7245c3065..0f6ac40cc6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan +{ /// /// Provides operations to call the atan method. /// - public class AtanRequestBuilder : BaseCliRequestBuilder + public class AtanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action atan diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.cs index e7f9504b4e..f5935b53ee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan2 { - public class Atan2PostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan2 +{ + #pragma warning disable CS1591 + public class Atan2PostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"xNum", n => { XNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yNum", n => { YNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "xNum", n => { XNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yNum", n => { YNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs index 3ccb615ead..586acb9847 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan2 { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atan2 +{ /// /// Provides operations to call the atan2 method. /// - public class Atan2RequestBuilder : BaseCliRequestBuilder + public class Atan2RequestBuilder : BaseCliRequestBuilder { /// /// Invoke action atan2 diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.cs index c9ec3194a8..166442da04 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atanh { - public class AtanhPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atanh +{ + #pragma warning disable CS1591 + public class AtanhPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs index 848a43e32e..09f8a3cc7f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atanh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Atanh +{ /// /// Provides operations to call the atanh method. /// - public class AtanhRequestBuilder : BaseCliRequestBuilder + public class AtanhRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action atanh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.cs index 2c65045b96..97b9ae1f5d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AveDev { - public class AveDevPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AveDev +{ + #pragma warning disable CS1591 + public class AveDevPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs index 539648c7c1..6c864b3b54 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AveDev { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AveDev +{ /// /// Provides operations to call the aveDev method. /// - public class AveDevRequestBuilder : BaseCliRequestBuilder + public class AveDevRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action aveDev diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.cs index 5afb9ba5fe..52ca5db11e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Average { - public class AveragePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Average +{ + #pragma warning disable CS1591 + public class AveragePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs index b74168d4c3..8a97796c76 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Average { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Average +{ /// /// Provides operations to call the average method. /// - public class AverageRequestBuilder : BaseCliRequestBuilder + public class AverageRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action average diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.cs index de6294c7e0..92a6c311ed 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageA { - public class AverageAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageA +{ + #pragma warning disable CS1591 + public class AverageAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs index 5d93ce60cd..b32b1b5f56 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageA +{ /// /// Provides operations to call the averageA method. /// - public class AverageARequestBuilder : BaseCliRequestBuilder + public class AverageARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action averageA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.cs index 10852cbf71..36bfbf7241 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIf { - public class AverageIfPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIf +{ + #pragma warning disable CS1591 + public class AverageIfPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"averageRange", n => { AverageRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "averageRange", n => { AverageRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs index 95fdcdabb3..5b4c860632 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIf { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIf +{ /// /// Provides operations to call the averageIf method. /// - public class AverageIfRequestBuilder : BaseCliRequestBuilder + public class AverageIfRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action averageIf diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.cs index 8b3ba953ec..621ccb9c0f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIfs { - public class AverageIfsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIfs +{ + #pragma warning disable CS1591 + public class AverageIfsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"averageRange", n => { AverageRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "averageRange", n => { AverageRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs index 5b4cfe750c..d6cacf47c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIfs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.AverageIfs +{ /// /// Provides operations to call the averageIfs method. /// - public class AverageIfsRequestBuilder : BaseCliRequestBuilder + public class AverageIfsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action averageIfs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.cs index 2c780e77f8..705637213f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BahtText { - public class BahtTextPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BahtText +{ + #pragma warning disable CS1591 + public class BahtTextPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs index c270c4db9e..24996c7010 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BahtText { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BahtText +{ /// /// Provides operations to call the bahtText method. /// - public class BahtTextRequestBuilder : BaseCliRequestBuilder + public class BahtTextRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bahtText diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.cs index 73423c04f3..18b3100a1b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Base { - public class BasePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Base +{ + #pragma warning disable CS1591 + public class BasePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"minLength", n => { MinLength = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"radix", n => { Radix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "minLength", n => { MinLength = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "radix", n => { Radix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs index b5b2fc4a98..384613d70d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Base { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Base +{ /// /// Provides operations to call the base method. /// - public class BaseRequestBuilderEscaped : BaseCliRequestBuilder + public class BaseRequestBuilderEscaped : BaseCliRequestBuilder { /// /// Invoke action base diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.cs index efd3f9df09..95b3c74bc5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselI { - public class BesselIPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselI +{ + #pragma warning disable CS1591 + public class BesselIPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs index 01689ccb4d..b4b46d806b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselI { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselI +{ /// /// Provides operations to call the besselI method. /// - public class BesselIRequestBuilder : BaseCliRequestBuilder + public class BesselIRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action besselI diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.cs index 8c8c8daf35..3305965ee2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselJ { - public class BesselJPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselJ +{ + #pragma warning disable CS1591 + public class BesselJPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs index 95d3be5570..3a0f2e79cc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselJ { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselJ +{ /// /// Provides operations to call the besselJ method. /// - public class BesselJRequestBuilder : BaseCliRequestBuilder + public class BesselJRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action besselJ diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.cs index fd6bd382bf..ad686850a9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselK { - public class BesselKPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselK +{ + #pragma warning disable CS1591 + public class BesselKPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs index 6d5a7eefa0..b929edac7f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselK { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselK +{ /// /// Provides operations to call the besselK method. /// - public class BesselKRequestBuilder : BaseCliRequestBuilder + public class BesselKRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action besselK diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.cs index 6a685dd8b5..ebc6c21c9e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselY { - public class BesselYPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselY +{ + #pragma warning disable CS1591 + public class BesselYPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs index f4323d020c..51cf306ad8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselY { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.BesselY +{ /// /// Provides operations to call the besselY method. /// - public class BesselYRequestBuilder : BaseCliRequestBuilder + public class BesselYRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action besselY diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs index 21aace2239..fdb402a3b0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Dist { - public class Beta_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Dist +{ + #pragma warning disable CS1591 + public class Beta_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The A property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs index bc304bc88a..976c17a3c8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Dist +{ /// /// Provides operations to call the beta_Dist method. /// - public class Beta_DistRequestBuilder : BaseCliRequestBuilder + public class Beta_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action beta_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs index 6f5aef0560..bdb85c160c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Inv { - public class Beta_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Inv +{ + #pragma warning disable CS1591 + public class Beta_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The A property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs index 98595b1e57..f8a3ed98c1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Beta_Inv +{ /// /// Provides operations to call the beta_Inv method. /// - public class Beta_InvRequestBuilder : BaseCliRequestBuilder + public class Beta_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action beta_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.cs index 7b864817d5..338264754d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Dec { - public class Bin2DecPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Dec +{ + #pragma warning disable CS1591 + public class Bin2DecPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs index deaa15d002..60c46b534d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Dec { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Dec +{ /// /// Provides operations to call the bin2Dec method. /// - public class Bin2DecRequestBuilder : BaseCliRequestBuilder + public class Bin2DecRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bin2Dec diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.cs index f063d9be4d..989fac93cd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Hex { - public class Bin2HexPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Hex +{ + #pragma warning disable CS1591 + public class Bin2HexPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs index 71f0728424..c30acddb17 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Hex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Hex +{ /// /// Provides operations to call the bin2Hex method. /// - public class Bin2HexRequestBuilder : BaseCliRequestBuilder + public class Bin2HexRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bin2Hex diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.cs index 29345df2ad..5727ceab1d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Oct { - public class Bin2OctPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Oct +{ + #pragma warning disable CS1591 + public class Bin2OctPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs index 5b9f028ef7..887b95c9be 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Oct { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bin2Oct +{ /// /// Provides operations to call the bin2Oct method. /// - public class Bin2OctRequestBuilder : BaseCliRequestBuilder + public class Bin2OctRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bin2Oct diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.cs index 146ffd12e3..a51a9c3a6d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist { - public class Binom_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist +{ + #pragma warning disable CS1591 + public class Binom_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs index 6fd546f16a..8b2e600c04 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist +{ /// /// Provides operations to call the binom_Dist method. /// - public class Binom_DistRequestBuilder : BaseCliRequestBuilder + public class Binom_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action binom_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.cs index 171f345630..8945b45209 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist_Range { - public class Binom_Dist_RangePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist_Range +{ + #pragma warning disable CS1591 + public class Binom_Dist_RangePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberS2", n => { NumberS2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberS2", n => { NumberS2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs index 5fb0f2b47e..f369460473 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist_Range { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Dist_Range +{ /// /// Provides operations to call the binom_Dist_Range method. /// - public class Binom_Dist_RangeRequestBuilder : BaseCliRequestBuilder + public class Binom_Dist_RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action binom_Dist_Range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.cs index a2783e7945..2ea415fe2e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Inv { - public class Binom_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Inv +{ + #pragma warning disable CS1591 + public class Binom_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "trials", n => { Trials = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs index 70f0c05e89..ffcc816eb0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Binom_Inv +{ /// /// Provides operations to call the binom_Inv method. /// - public class Binom_InvRequestBuilder : BaseCliRequestBuilder + public class Binom_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action binom_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.cs index c6e10114bd..2cd64be26e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitand { - public class BitandPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitand +{ + #pragma warning disable CS1591 + public class BitandPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs index 45054fefb3..11ce617238 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitand { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitand +{ /// /// Provides operations to call the bitand method. /// - public class BitandRequestBuilder : BaseCliRequestBuilder + public class BitandRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bitand diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.cs index 1319d96e70..b5eaefc1e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitlshift { - public class BitlshiftPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitlshift +{ + #pragma warning disable CS1591 + public class BitlshiftPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"shiftAmount", n => { ShiftAmount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "shiftAmount", n => { ShiftAmount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs index 796a092f12..9f9790a8dc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitlshift { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitlshift +{ /// /// Provides operations to call the bitlshift method. /// - public class BitlshiftRequestBuilder : BaseCliRequestBuilder + public class BitlshiftRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bitlshift diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.cs index 50dc01d7bd..0113c275d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitor { - public class BitorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitor +{ + #pragma warning disable CS1591 + public class BitorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs index 9f440b1d38..116e42b94a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitor +{ /// /// Provides operations to call the bitor method. /// - public class BitorRequestBuilder : BaseCliRequestBuilder + public class BitorRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bitor diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.cs index 597cbd8d34..905c8235a2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitrshift { - public class BitrshiftPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitrshift +{ + #pragma warning disable CS1591 + public class BitrshiftPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"shiftAmount", n => { ShiftAmount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "shiftAmount", n => { ShiftAmount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs index 6a87a29fe8..7cea47117d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitrshift { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitrshift +{ /// /// Provides operations to call the bitrshift method. /// - public class BitrshiftRequestBuilder : BaseCliRequestBuilder + public class BitrshiftRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bitrshift diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.cs index 4e4cbbc874..c6612347d4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitxor { - public class BitxorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitxor +{ + #pragma warning disable CS1591 + public class BitxorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs index 3b58c8357e..7c9ddda075 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitxor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Bitxor +{ /// /// Provides operations to call the bitxor method. /// - public class BitxorRequestBuilder : BaseCliRequestBuilder + public class BitxorRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action bitxor diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.cs index dccfb41c65..6739ca3b76 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Math { - public class Ceiling_MathPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Math +{ + #pragma warning disable CS1591 + public class Ceiling_MathPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mode", n => { Mode = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mode", n => { Mode = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs index 7d4d4d2c78..8ae7c3c42d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Math { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Math +{ /// /// Provides operations to call the ceiling_Math method. /// - public class Ceiling_MathRequestBuilder : BaseCliRequestBuilder + public class Ceiling_MathRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ceiling_Math diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.cs index cb6d9de0ff..ed0b85a8f7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Precise { - public class Ceiling_PrecisePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Precise +{ + #pragma warning disable CS1591 + public class Ceiling_PrecisePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs index cc51c66201..29dae2d46e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Precise { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ceiling_Precise +{ /// /// Provides operations to call the ceiling_Precise method. /// - public class Ceiling_PreciseRequestBuilder : BaseCliRequestBuilder + public class Ceiling_PreciseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ceiling_Precise diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharPostRequestBody.cs index 716a786d43..e4f8a0086d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CharNamespace { - public class CharPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CharNamespace +{ + #pragma warning disable CS1591 + public class CharPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs index 08e2d42eeb..bc7b81f3ae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CharNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CharNamespace +{ /// /// Provides operations to call the char method. /// - public class CharRequestBuilder : BaseCliRequestBuilder + public class CharRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action char diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.cs index c8ef83171f..8347d64729 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist { - public class ChiSq_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist +{ + #pragma warning disable CS1591 + public class ChiSq_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs index 5288a72796..dcee556c54 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist +{ /// /// Provides operations to call the chiSq_Dist method. /// - public class ChiSq_DistRequestBuilder : BaseCliRequestBuilder + public class ChiSq_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action chiSq_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.cs index 8f1b45e4d7..f4e8cbf0d9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist_RT { - public class ChiSq_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist_RT +{ + #pragma warning disable CS1591 + public class ChiSq_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs index 745d71d888..5e7cd960a3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist_RT { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Dist_RT +{ /// /// Provides operations to call the chiSq_Dist_RT method. /// - public class ChiSq_Dist_RTRequestBuilder : BaseCliRequestBuilder + public class ChiSq_Dist_RTRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action chiSq_Dist_RT diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.cs index ca0426fd87..19639d2ccf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv { - public class ChiSq_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv +{ + #pragma warning disable CS1591 + public class ChiSq_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs index f1681f9e19..df086f9349 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv +{ /// /// Provides operations to call the chiSq_Inv method. /// - public class ChiSq_InvRequestBuilder : BaseCliRequestBuilder + public class ChiSq_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action chiSq_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.cs index ae2887b465..30f4d9e8d5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv_RT { - public class ChiSq_Inv_RTPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv_RT +{ + #pragma warning disable CS1591 + public class ChiSq_Inv_RTPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs index 4f4c067bca..7f62f16cfa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv_RT { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ChiSq_Inv_RT +{ /// /// Provides operations to call the chiSq_Inv_RT method. /// - public class ChiSq_Inv_RTRequestBuilder : BaseCliRequestBuilder + public class ChiSq_Inv_RTRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action chiSq_Inv_RT diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.cs index d8f92ed06f..3c4d11ffee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Choose { - public class ChoosePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Choose +{ + #pragma warning disable CS1591 + public class ChoosePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"indexNum", n => { IndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "indexNum", n => { IndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs index f1e6c9132e..77804393e3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Choose { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Choose +{ /// /// Provides operations to call the choose method. /// - public class ChooseRequestBuilder : BaseCliRequestBuilder + public class ChooseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action choose diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.cs index b2c2dd047a..2c49dbb285 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Clean { - public class CleanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Clean +{ + #pragma warning disable CS1591 + public class CleanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs index c3b5edf6a4..c7c535be91 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Clean { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Clean +{ /// /// Provides operations to call the clean method. /// - public class CleanRequestBuilder : BaseCliRequestBuilder + public class CleanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action clean diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.cs index 75d373ee31..de6ba78648 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Code { - public class CodePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Code +{ + #pragma warning disable CS1591 + public class CodePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs index 5b3a997f31..5c7cfce916 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Code { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Code +{ /// /// Provides operations to call the code method. /// - public class CodeRequestBuilder : BaseCliRequestBuilder + public class CodeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action code diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.cs index d8d906b8d7..9702241bd7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Columns { - public class ColumnsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Columns +{ + #pragma warning disable CS1591 + public class ColumnsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs index 38c76c9854..64f8acab8a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Columns { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Columns +{ /// /// Provides operations to call the columns method. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action columns diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.cs index 9042e1988c..9676780fd5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combin { - public class CombinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combin +{ + #pragma warning disable CS1591 + public class CombinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs index 23a3f79b38..2a37a9269b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combin +{ /// /// Provides operations to call the combin method. /// - public class CombinRequestBuilder : BaseCliRequestBuilder + public class CombinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action combin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.cs index cdf2580e9e..7f522a533d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combina { - public class CombinaPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combina +{ + #pragma warning disable CS1591 + public class CombinaPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs index dbd2c5e890..75ef331f78 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combina { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Combina +{ /// /// Provides operations to call the combina method. /// - public class CombinaRequestBuilder : BaseCliRequestBuilder + public class CombinaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action combina diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.cs index 31fd5a100c..95eec6eddc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Complex { - public class ComplexPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Complex +{ + #pragma warning disable CS1591 + public class ComplexPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"iNum", n => { INum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"realNum", n => { RealNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"suffix", n => { Suffix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "iNum", n => { INum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "realNum", n => { RealNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "suffix", n => { Suffix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs index 51c7b5c990..5e3bfca8ca 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Complex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Complex +{ /// /// Provides operations to call the complex method. /// - public class ComplexRequestBuilder : BaseCliRequestBuilder + public class ComplexRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action complex diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.cs index 2d02fb57c2..1a6517ae1d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Concatenate { - public class ConcatenatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Concatenate +{ + #pragma warning disable CS1591 + public class ConcatenatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs index d0e4350b39..57bfb76a70 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Concatenate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Concatenate +{ /// /// Provides operations to call the concatenate method. /// - public class ConcatenateRequestBuilder : BaseCliRequestBuilder + public class ConcatenateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action concatenate diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.cs index 4c142a1967..4304e6fcb9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_Norm { - public class Confidence_NormPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_Norm +{ + #pragma warning disable CS1591 + public class Confidence_NormPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"size", n => { Size = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "size", n => { Size = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs index e255b70050..96ea25b1c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_Norm { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_Norm +{ /// /// Provides operations to call the confidence_Norm method. /// - public class Confidence_NormRequestBuilder : BaseCliRequestBuilder + public class Confidence_NormRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action confidence_Norm diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.cs index e2bdc7835b..b27e5aa160 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_T { - public class Confidence_TPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_T +{ + #pragma warning disable CS1591 + public class Confidence_TPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"size", n => { Size = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "size", n => { Size = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs index 28089cbd88..57c1313034 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_T { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Confidence_T +{ /// /// Provides operations to call the confidence_T method. /// - public class Confidence_TRequestBuilder : BaseCliRequestBuilder + public class Confidence_TRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action confidence_T diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertPostRequestBody.cs index 97e1e62a05..ede620034a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ConvertNamespace { - public class ConvertPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ConvertNamespace +{ + #pragma warning disable CS1591 + public class ConvertPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fromUnit", n => { FromUnit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"toUnit", n => { ToUnit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fromUnit", n => { FromUnit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "toUnit", n => { ToUnit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs index 89f99e2b1b..ceac0b8057 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ConvertNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ConvertNamespace +{ /// /// Provides operations to call the convert method. /// - public class ConvertRequestBuilder : BaseCliRequestBuilder + public class ConvertRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action convert diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.cs index a0df151453..1af9bf7db9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cos { - public class CosPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cos +{ + #pragma warning disable CS1591 + public class CosPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs index 9f07823b56..1770d86324 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cos { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cos +{ /// /// Provides operations to call the cos method. /// - public class CosRequestBuilder : BaseCliRequestBuilder + public class CosRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action cos diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.cs index 3780d8db90..2fb4b9c63b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cosh { - public class CoshPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cosh +{ + #pragma warning disable CS1591 + public class CoshPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs index 1990156a07..cacac901d1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cosh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cosh +{ /// /// Provides operations to call the cosh method. /// - public class CoshRequestBuilder : BaseCliRequestBuilder + public class CoshRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action cosh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.cs index b6192a82ae..2211634043 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cot { - public class CotPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cot +{ + #pragma warning disable CS1591 + public class CotPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs index 72dbac5f73..57e5d2c3ce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cot { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Cot +{ /// /// Provides operations to call the cot method. /// - public class CotRequestBuilder : BaseCliRequestBuilder + public class CotRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action cot diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.cs index fa722ee0f4..5331c53702 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Coth { - public class CothPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Coth +{ + #pragma warning disable CS1591 + public class CothPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs index 6878d912c2..0abcbb60a4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Coth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Coth +{ /// /// Provides operations to call the coth method. /// - public class CothRequestBuilder : BaseCliRequestBuilder + public class CothRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coth diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.cs index b32ee78635..586b49bd02 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Count { - public class CountPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Count +{ + #pragma warning disable CS1591 + public class CountPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs index 3212e3d812..c331135efb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.cs index 79ac59c89a..b531aa5294 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountA { - public class CountAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountA +{ + #pragma warning disable CS1591 + public class CountAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs index 2627dd73b7..c0e3e61d5c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountA +{ /// /// Provides operations to call the countA method. /// - public class CountARequestBuilder : BaseCliRequestBuilder + public class CountARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action countA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.cs index 25e9ea677f..36eced3283 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountBlank { - public class CountBlankPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountBlank +{ + #pragma warning disable CS1591 + public class CountBlankPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs index b704b2048f..1ccde23181 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountBlank { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountBlank +{ /// /// Provides operations to call the countBlank method. /// - public class CountBlankRequestBuilder : BaseCliRequestBuilder + public class CountBlankRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action countBlank diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.cs index 88c04dbcf1..ad23b0549e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIf { - public class CountIfPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIf +{ + #pragma warning disable CS1591 + public class CountIfPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs index 6e302da407..593968d2d9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIf { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIf +{ /// /// Provides operations to call the countIf method. /// - public class CountIfRequestBuilder : BaseCliRequestBuilder + public class CountIfRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action countIf diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.cs index 8f22200575..1ac64ec36f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIfs { - public class CountIfsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIfs +{ + #pragma warning disable CS1591 + public class CountIfsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs index e358cab184..6ec52f8239 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIfs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CountIfs +{ /// /// Provides operations to call the countIfs method. /// - public class CountIfsRequestBuilder : BaseCliRequestBuilder + public class CountIfsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action countIfs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.cs index bd19beae85..3743770281 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDayBs { - public class CoupDayBsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDayBs +{ + #pragma warning disable CS1591 + public class CoupDayBsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs index 1337ef1de5..2611c8af59 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDayBs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDayBs +{ /// /// Provides operations to call the coupDayBs method. /// - public class CoupDayBsRequestBuilder : BaseCliRequestBuilder + public class CoupDayBsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupDayBs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.cs index d48c829991..0ac45a4d86 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDays { - public class CoupDaysPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDays +{ + #pragma warning disable CS1591 + public class CoupDaysPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs index c79667b610..4003d5fad0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDays { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDays +{ /// /// Provides operations to call the coupDays method. /// - public class CoupDaysRequestBuilder : BaseCliRequestBuilder + public class CoupDaysRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupDays diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.cs index af8e634189..259485114d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDaysNc { - public class CoupDaysNcPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDaysNc +{ + #pragma warning disable CS1591 + public class CoupDaysNcPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs index 8c28a0b44e..926c0f36af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDaysNc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupDaysNc +{ /// /// Provides operations to call the coupDaysNc method. /// - public class CoupDaysNcRequestBuilder : BaseCliRequestBuilder + public class CoupDaysNcRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupDaysNc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.cs index f0f56aad97..e974984c61 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNcd { - public class CoupNcdPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNcd +{ + #pragma warning disable CS1591 + public class CoupNcdPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs index 4ad57f946d..0eed3b0a3c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNcd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNcd +{ /// /// Provides operations to call the coupNcd method. /// - public class CoupNcdRequestBuilder : BaseCliRequestBuilder + public class CoupNcdRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupNcd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.cs index a6c0ea5cf0..fc6a149465 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNum { - public class CoupNumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNum +{ + #pragma warning disable CS1591 + public class CoupNumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs index 980d8223f6..5596022ffb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupNum +{ /// /// Provides operations to call the coupNum method. /// - public class CoupNumRequestBuilder : BaseCliRequestBuilder + public class CoupNumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupNum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.cs index 6e5db6fcef..c2dcb6e6b6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupPcd { - public class CoupPcdPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupPcd +{ + #pragma warning disable CS1591 + public class CoupPcdPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs index 0cc6023564..c296c9b769 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupPcd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CoupPcd +{ /// /// Provides operations to call the coupPcd method. /// - public class CoupPcdRequestBuilder : BaseCliRequestBuilder + public class CoupPcdRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action coupPcd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.cs index 7c0c3eb06b..78877e91ce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csc { - public class CscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csc +{ + #pragma warning disable CS1591 + public class CscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs index 1d6f23e162..259cfa5f5c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csc +{ /// /// Provides operations to call the csc method. /// - public class CscRequestBuilder : BaseCliRequestBuilder + public class CscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action csc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.cs index d572dcdb4e..5ce3c9b4ff 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csch { - public class CschPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csch +{ + #pragma warning disable CS1591 + public class CschPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs index c1a13346d5..4945c2647f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csch { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Csch +{ /// /// Provides operations to call the csch method. /// - public class CschRequestBuilder : BaseCliRequestBuilder + public class CschRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action csch diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.cs index 628ddc107d..cdf72fc016 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumIPmt { - public class CumIPmtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumIPmt +{ + #pragma warning disable CS1591 + public class CumIPmtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs index d9080b448e..3edfb6f887 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumIPmt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumIPmt +{ /// /// Provides operations to call the cumIPmt method. /// - public class CumIPmtRequestBuilder : BaseCliRequestBuilder + public class CumIPmtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action cumIPmt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.cs index f07f3e715a..3442b7cb9c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumPrinc { - public class CumPrincPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumPrinc +{ + #pragma warning disable CS1591 + public class CumPrincPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs index 54cfafe775..79b87c051a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumPrinc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.CumPrinc +{ /// /// Provides operations to call the cumPrinc method. /// - public class CumPrincRequestBuilder : BaseCliRequestBuilder + public class CumPrincRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action cumPrinc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs index 6ec2ac3cfb..5a5e71fae6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DateNamespace { - public class DatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DateNamespace +{ + #pragma warning disable CS1591 + public class DatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"day", n => { Day = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"month", n => { Month = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"year", n => { Year = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "day", n => { Day = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "month", n => { Month = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "year", n => { Year = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs index c2b575f587..1f0baf9287 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DateNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DateNamespace +{ /// /// Provides operations to call the date method. /// - public class DateRequestBuilder : BaseCliRequestBuilder + public class DateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action date diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.cs index 02b1440d6a..f186adf082 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Datevalue { - public class DatevaluePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Datevalue +{ + #pragma warning disable CS1591 + public class DatevaluePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"dateText", n => { DateText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "dateText", n => { DateText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs index c2a1d3fd35..cb121e2ef6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Datevalue { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Datevalue +{ /// /// Provides operations to call the datevalue method. /// - public class DatevalueRequestBuilder : BaseCliRequestBuilder + public class DatevalueRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action datevalue diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.cs index 50e240661c..327d641303 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Daverage { - public class DaveragePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Daverage +{ + #pragma warning disable CS1591 + public class DaveragePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs index 0a6045ec13..33c4421f2b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Daverage { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Daverage +{ /// /// Provides operations to call the daverage method. /// - public class DaverageRequestBuilder : BaseCliRequestBuilder + public class DaverageRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action daverage diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.cs index bdd86a3a47..1052afeace 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Day { - public class DayPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Day +{ + #pragma warning disable CS1591 + public class DayPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs index 29366e4d51..a0b95cfd62 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Day { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Day +{ /// /// Provides operations to call the day method. /// - public class DayRequestBuilder : BaseCliRequestBuilder + public class DayRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action day diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.cs index d014dd3884..faf3287742 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days { - public class DaysPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days +{ + #pragma warning disable CS1591 + public class DaysPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs index 29fc471c53..015c1b3e87 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days +{ /// /// Provides operations to call the days method. /// - public class DaysRequestBuilder : BaseCliRequestBuilder + public class DaysRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action days diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.cs index 6faa78218d..3b09145778 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days360 { - public class Days360PostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days360 +{ + #pragma warning disable CS1591 + public class Days360PostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"method", n => { Method = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "method", n => { Method = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs index 2bc34de04a..9a50afbb5e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days360 { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Days360 +{ /// /// Provides operations to call the days360 method. /// - public class Days360RequestBuilder : BaseCliRequestBuilder + public class Days360RequestBuilder : BaseCliRequestBuilder { /// /// Invoke action days360 diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.cs index 1c8894f944..3290d5a812 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Db { - public class DbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Db +{ + #pragma warning disable CS1591 + public class DbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"month", n => { Month = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "month", n => { Month = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs index a13bd24abd..08eaead3a5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Db { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Db +{ /// /// Provides operations to call the db method. /// - public class DbRequestBuilder : BaseCliRequestBuilder + public class DbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action db diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.cs index e1abcd7e3a..c0d14f16c8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dbcs { - public class DbcsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dbcs +{ + #pragma warning disable CS1591 + public class DbcsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs index 72bb5ef0f2..35f444b09f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dbcs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dbcs +{ /// /// Provides operations to call the dbcs method. /// - public class DbcsRequestBuilder : BaseCliRequestBuilder + public class DbcsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dbcs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.cs index fba82dbfdd..bcd6811169 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dcount { - public class DcountPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dcount +{ + #pragma warning disable CS1591 + public class DcountPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs index 77face1628..fe924edac0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dcount { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dcount +{ /// /// Provides operations to call the dcount method. /// - public class DcountRequestBuilder : BaseCliRequestBuilder + public class DcountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dcount diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.cs index d86c5156aa..554c2cccca 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DcountA { - public class DcountAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DcountA +{ + #pragma warning disable CS1591 + public class DcountAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs index 79e2eef94d..412353720a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DcountA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DcountA +{ /// /// Provides operations to call the dcountA method. /// - public class DcountARequestBuilder : BaseCliRequestBuilder + public class DcountARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dcountA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.cs index a90099ed59..ec43b2a02f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ddb { - public class DdbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ddb +{ + #pragma warning disable CS1591 + public class DdbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"factor", n => { Factor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "factor", n => { Factor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "period", n => { Period = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs index f346b00fbe..29de26b5e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ddb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ddb +{ /// /// Provides operations to call the ddb method. /// - public class DdbRequestBuilder : BaseCliRequestBuilder + public class DdbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ddb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.cs index da4b54f711..661848b5fd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Bin { - public class Dec2BinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Bin +{ + #pragma warning disable CS1591 + public class Dec2BinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs index d2063f65a9..9ddfe5ef44 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Bin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Bin +{ /// /// Provides operations to call the dec2Bin method. /// - public class Dec2BinRequestBuilder : BaseCliRequestBuilder + public class Dec2BinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dec2Bin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.cs index fc5264b1eb..221bb3968d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Hex { - public class Dec2HexPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Hex +{ + #pragma warning disable CS1591 + public class Dec2HexPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs index 0d15bd30bb..9c8aa081a1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Hex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Hex +{ /// /// Provides operations to call the dec2Hex method. /// - public class Dec2HexRequestBuilder : BaseCliRequestBuilder + public class Dec2HexRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dec2Hex diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.cs index 7b16dc2095..7624003f2e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Oct { - public class Dec2OctPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Oct +{ + #pragma warning disable CS1591 + public class Dec2OctPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs index 939b12b931..20215fd62c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Oct { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dec2Oct +{ /// /// Provides operations to call the dec2Oct method. /// - public class Dec2OctRequestBuilder : BaseCliRequestBuilder + public class Dec2OctRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dec2Oct diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalPostRequestBody.cs index 8e01324997..4258a5e65c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DecimalNamespace { - public class DecimalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DecimalNamespace +{ + #pragma warning disable CS1591 + public class DecimalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"radix", n => { Radix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "radix", n => { Radix = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs index 7785c67daf..15c7f111e8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DecimalNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DecimalNamespace +{ /// /// Provides operations to call the decimal method. /// - public class DecimalRequestBuilder : BaseCliRequestBuilder + public class DecimalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action decimal diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.cs index 4f764fbe81..3cb2bd56f9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Degrees { - public class DegreesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Degrees +{ + #pragma warning disable CS1591 + public class DegreesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"angle", n => { Angle = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "angle", n => { Angle = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs index fd9cf249db..b53958eece 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Degrees { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Degrees +{ /// /// Provides operations to call the degrees method. /// - public class DegreesRequestBuilder : BaseCliRequestBuilder + public class DegreesRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action degrees diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.cs index 0a38674517..0af8c5918b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Delta { - public class DeltaPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Delta +{ + #pragma warning disable CS1591 + public class DeltaPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number1", n => { Number1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number2", n => { Number2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs index ada3a8b920..e2af1fefc8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Delta { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action delta diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.cs index ab2874090d..9dc474f8e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DevSq { - public class DevSqPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DevSq +{ + #pragma warning disable CS1591 + public class DevSqPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs index 4255d0a54a..f634b1a23f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DevSq { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DevSq +{ /// /// Provides operations to call the devSq method. /// - public class DevSqRequestBuilder : BaseCliRequestBuilder + public class DevSqRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action devSq diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.cs index 850ebcbb96..a168a2068b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dget { - public class DgetPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dget +{ + #pragma warning disable CS1591 + public class DgetPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs index 42a5bb78a5..b2c85f01fd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dget { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dget +{ /// /// Provides operations to call the dget method. /// - public class DgetRequestBuilder : BaseCliRequestBuilder + public class DgetRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dget diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.cs index a4723f0c67..c417c70bed 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Disc { - public class DiscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Disc +{ + #pragma warning disable CS1591 + public class DiscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs index a98f2d74d3..51473fe136 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Disc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Disc +{ /// /// Provides operations to call the disc method. /// - public class DiscRequestBuilder : BaseCliRequestBuilder + public class DiscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action disc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.cs index a5a0d3994a..b5432fb8e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmax { - public class DmaxPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmax +{ + #pragma warning disable CS1591 + public class DmaxPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs index cf6ad055ba..263fe856f5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmax { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmax +{ /// /// Provides operations to call the dmax method. /// - public class DmaxRequestBuilder : BaseCliRequestBuilder + public class DmaxRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dmax diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.cs index 5e0632020e..6e0335fe1c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmin { - public class DminPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmin +{ + #pragma warning disable CS1591 + public class DminPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs index ccf31a9239..629500bbcb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dmin +{ /// /// Provides operations to call the dmin method. /// - public class DminRequestBuilder : BaseCliRequestBuilder + public class DminRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dmin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.cs index c5891a1a15..d83408bfe9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dollar { - public class DollarPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dollar +{ + #pragma warning disable CS1591 + public class DollarPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs index 5eb1b3e9cb..e8433dfba9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dollar { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dollar +{ /// /// Provides operations to call the dollar method. /// - public class DollarRequestBuilder : BaseCliRequestBuilder + public class DollarRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dollar diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.cs index 0f5b2aa488..b74540e50f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarDe { - public class DollarDePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarDe +{ + #pragma warning disable CS1591 + public class DollarDePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fraction", n => { Fraction = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"fractionalDollar", n => { FractionalDollar = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fraction", n => { Fraction = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fractionalDollar", n => { FractionalDollar = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs index e66ec7bce7..c3c32c372b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarDe { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarDe +{ /// /// Provides operations to call the dollarDe method. /// - public class DollarDeRequestBuilder : BaseCliRequestBuilder + public class DollarDeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dollarDe diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.cs index 1fc9aff178..03dd7130af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarFr { - public class DollarFrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarFr +{ + #pragma warning disable CS1591 + public class DollarFrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decimalDollar", n => { DecimalDollar = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"fraction", n => { Fraction = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "decimalDollar", n => { DecimalDollar = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fraction", n => { Fraction = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs index b39b6e1bef..3bfe8a794c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarFr { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DollarFr +{ /// /// Provides operations to call the dollarFr method. /// - public class DollarFrRequestBuilder : BaseCliRequestBuilder + public class DollarFrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dollarFr diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.cs index a81fda63a9..2b19efd8f8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dproduct { - public class DproductPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dproduct +{ + #pragma warning disable CS1591 + public class DproductPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs index b3e06be454..dd78b1216d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dproduct { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dproduct +{ /// /// Provides operations to call the dproduct method. /// - public class DproductRequestBuilder : BaseCliRequestBuilder + public class DproductRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dproduct diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.cs index 40a7d01330..1a17d1fea2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDev { - public class DstDevPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDev +{ + #pragma warning disable CS1591 + public class DstDevPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs index b227caec32..ace8c3fb6f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDev { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDev +{ /// /// Provides operations to call the dstDev method. /// - public class DstDevRequestBuilder : BaseCliRequestBuilder + public class DstDevRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dstDev diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.cs index e963b54422..90910afdaf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDevP { - public class DstDevPPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDevP +{ + #pragma warning disable CS1591 + public class DstDevPPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs index 2e632594bc..5af0cd46d3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDevP { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DstDevP +{ /// /// Provides operations to call the dstDevP method. /// - public class DstDevPRequestBuilder : BaseCliRequestBuilder + public class DstDevPRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dstDevP diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.cs index cab5c5fcb3..f1f616a26b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dsum { - public class DsumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dsum +{ + #pragma warning disable CS1591 + public class DsumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs index 7979c0cc05..e44284400f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dsum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dsum +{ /// /// Provides operations to call the dsum method. /// - public class DsumRequestBuilder : BaseCliRequestBuilder + public class DsumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dsum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.cs index 4aca98b2f4..5d65001a89 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Duration { - public class DurationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Duration +{ + #pragma warning disable CS1591 + public class DurationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"coupon", n => { Coupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "coupon", n => { Coupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs index 988779a90a..febb80efae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Duration { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Duration +{ /// /// Provides operations to call the duration method. /// - public class DurationRequestBuilder : BaseCliRequestBuilder + public class DurationRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action duration diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.cs index a998dc2a88..c8910bccde 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dvar { - public class DvarPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dvar +{ + #pragma warning disable CS1591 + public class DvarPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs index d5f37b676e..a0b70cd79a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dvar { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Dvar +{ /// /// Provides operations to call the dvar method. /// - public class DvarRequestBuilder : BaseCliRequestBuilder + public class DvarRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dvar diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.cs index 9e7777f06f..e3cd450c13 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DvarP { - public class DvarPPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DvarP +{ + #pragma warning disable CS1591 + public class DvarPPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "database", n => { Database = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs index 88f55bad22..e4eee850a3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DvarP { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.DvarP +{ /// /// Provides operations to call the dvarP method. /// - public class DvarPRequestBuilder : BaseCliRequestBuilder + public class DvarPRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action dvarP diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.cs index 8f3ac0306f..f9b2ff4e25 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ecma_Ceiling { - public class Ecma_CeilingPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ecma_Ceiling +{ + #pragma warning disable CS1591 + public class Ecma_CeilingPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs index 17e518fd3e..544f3a5bf8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ecma_Ceiling { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ecma_Ceiling +{ /// /// Provides operations to call the ecma_Ceiling method. /// - public class Ecma_CeilingRequestBuilder : BaseCliRequestBuilder + public class Ecma_CeilingRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ecma_Ceiling diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.cs index b50b70da13..d39ec0602b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Edate { - public class EdatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Edate +{ + #pragma warning disable CS1591 + public class EdatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"months", n => { Months = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "months", n => { Months = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs index 54a15ac6c5..a6061d9094 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Edate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Edate +{ /// /// Provides operations to call the edate method. /// - public class EdateRequestBuilder : BaseCliRequestBuilder + public class EdateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action edate diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.cs index a05722c125..7c0cc564e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Effect { - public class EffectPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Effect +{ + #pragma warning disable CS1591 + public class EffectPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"nominalRate", n => { NominalRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"npery", n => { Npery = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nominalRate", n => { NominalRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "npery", n => { Npery = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs index 0fa53e95fa..bb74fc694b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Effect { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Effect +{ /// /// Provides operations to call the effect method. /// - public class EffectRequestBuilder : BaseCliRequestBuilder + public class EffectRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action effect diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.cs index b8eaac4d47..7fae8d06dc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.EoMonth { - public class EoMonthPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.EoMonth +{ + #pragma warning disable CS1591 + public class EoMonthPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"months", n => { Months = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "months", n => { Months = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs index 86a2c971dd..fb366274a9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.EoMonth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.EoMonth +{ /// /// Provides operations to call the eoMonth method. /// - public class EoMonthRequestBuilder : BaseCliRequestBuilder + public class EoMonthRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action eoMonth diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.cs index a725a36dc3..05efaf9cfe 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf { - public class ErfPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf +{ + #pragma warning disable CS1591 + public class ErfPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lowerLimit", n => { LowerLimit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"upperLimit", n => { UpperLimit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lowerLimit", n => { LowerLimit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "upperLimit", n => { UpperLimit = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs index 53bed1999c..3c25eae5b6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf +{ /// /// Provides operations to call the erf method. /// - public class ErfRequestBuilder : BaseCliRequestBuilder + public class ErfRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action erf diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.cs index 04fdf0bc8e..fbca6045fd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC { - public class ErfCPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC +{ + #pragma warning disable CS1591 + public class ErfCPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs index f7b4676ebb..5b24acb303 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC +{ /// /// Provides operations to call the erfC method. /// - public class ErfCRequestBuilder : BaseCliRequestBuilder + public class ErfCRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action erfC diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs index 9dc1878edd..d6f7b75f74 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC_Precise { - public class ErfC_PrecisePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC_Precise +{ + #pragma warning disable CS1591 + public class ErfC_PrecisePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs index be673e52dc..c6f55dd1cf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC_Precise { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ErfC_Precise +{ /// /// Provides operations to call the erfC_Precise method. /// - public class ErfC_PreciseRequestBuilder : BaseCliRequestBuilder + public class ErfC_PreciseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action erfC_Precise diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs index c84df75088..d7ea345f11 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf_Precise { - public class Erf_PrecisePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf_Precise +{ + #pragma warning disable CS1591 + public class Erf_PrecisePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs index 85a082cc48..47f790e0aa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf_Precise { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Erf_Precise +{ /// /// Provides operations to call the erf_Precise method. /// - public class Erf_PreciseRequestBuilder : BaseCliRequestBuilder + public class Erf_PreciseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action erf_Precise diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.cs index f3f71e3d1c..5dacaeb80d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Error_Type { - public class Error_TypePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Error_Type +{ + #pragma warning disable CS1591 + public class Error_TypePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"errorVal", n => { ErrorVal = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "errorVal", n => { ErrorVal = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs index 55cdcb0798..23b1c25c83 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Error_Type { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Error_Type +{ /// /// Provides operations to call the error_Type method. /// - public class Error_TypeRequestBuilder : BaseCliRequestBuilder + public class Error_TypeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action error_Type diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.cs index d2002bd156..4aaeaa9f00 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Even { - public class EvenPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Even +{ + #pragma warning disable CS1591 + public class EvenPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs index 6cda47b5df..b2c1b1b06d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Even { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Even +{ /// /// Provides operations to call the even method. /// - public class EvenRequestBuilder : BaseCliRequestBuilder + public class EvenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action even diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.cs index 0f01fdb0c8..9a47ddb919 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exact { - public class ExactPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exact +{ + #pragma warning disable CS1591 + public class ExactPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text1", n => { Text1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text2", n => { Text2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text1", n => { Text1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text2", n => { Text2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs index 4f08b9f958..ba250f6ff2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exact { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exact +{ /// /// Provides operations to call the exact method. /// - public class ExactRequestBuilder : BaseCliRequestBuilder + public class ExactRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action exact diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.cs index 1ce31f235a..7838e2a36d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exp { - public class ExpPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exp +{ + #pragma warning disable CS1591 + public class ExpPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs index 5511c50140..946d36c9e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exp { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Exp +{ /// /// Provides operations to call the exp method. /// - public class ExpRequestBuilder : BaseCliRequestBuilder + public class ExpRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action exp diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.cs index f9638a199a..05506a626a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Expon_Dist { - public class Expon_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Expon_Dist +{ + #pragma warning disable CS1591 + public class Expon_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lambda", n => { Lambda = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lambda", n => { Lambda = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs index d0699be5e8..2ba8d654f2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Expon_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Expon_Dist +{ /// /// Provides operations to call the expon_Dist method. /// - public class Expon_DistRequestBuilder : BaseCliRequestBuilder + public class Expon_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action expon_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.cs index 967f7fe2a1..2dc8952d58 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist { - public class F_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist +{ + #pragma warning disable CS1591 + public class F_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs index 5eb4e8b89d..69ecf0b282 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist +{ /// /// Provides operations to call the f_Dist method. /// - public class F_DistRequestBuilder : BaseCliRequestBuilder + public class F_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action f_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.cs index 0663c41963..8a6a49e2db 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist_RT { - public class F_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist_RT +{ + #pragma warning disable CS1591 + public class F_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs index 0580c93f4c..ac55ee120a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist_RT { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Dist_RT +{ /// /// Provides operations to call the f_Dist_RT method. /// - public class F_Dist_RTRequestBuilder : BaseCliRequestBuilder + public class F_Dist_RTRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action f_Dist_RT diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.cs index 85a6225533..dee4d106a5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv { - public class F_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv +{ + #pragma warning disable CS1591 + public class F_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs index 866b7770a6..9077459db0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv +{ /// /// Provides operations to call the f_Inv method. /// - public class F_InvRequestBuilder : BaseCliRequestBuilder + public class F_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action f_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.cs index 1af1572f79..86fc7e0baf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv_RT { - public class F_Inv_RTPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv_RT +{ + #pragma warning disable CS1591 + public class F_Inv_RTPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom1", n => { DegFreedom1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom2", n => { DegFreedom2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs index 25095ce431..c11cd6105e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv_RT { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.F_Inv_RT +{ /// /// Provides operations to call the f_Inv_RT method. /// - public class F_Inv_RTRequestBuilder : BaseCliRequestBuilder + public class F_Inv_RTRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action f_Inv_RT diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.cs index 46b34b3dd9..233cee02af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fact { - public class FactPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fact +{ + #pragma warning disable CS1591 + public class FactPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs index 48a85b398a..cc94f722f9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fact { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fact +{ /// /// Provides operations to call the fact method. /// - public class FactRequestBuilder : BaseCliRequestBuilder + public class FactRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fact diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.cs index 96913a5f18..93520bed0c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FactDouble { - public class FactDoublePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FactDouble +{ + #pragma warning disable CS1591 + public class FactDoublePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs index aedd468b2a..d13792ab3a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FactDouble { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FactDouble +{ /// /// Provides operations to call the factDouble method. /// - public class FactDoubleRequestBuilder : BaseCliRequestBuilder + public class FactDoubleRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action factDouble diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs index 39c4bd8102..7d1abc95d7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.False { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.False +{ /// /// Provides operations to call the false method. /// - public class FalseRequestBuilder : BaseCliRequestBuilder + public class FalseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action false diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.cs index 518a3e548c..21674e5d96 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Find { - public class FindPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Find +{ + #pragma warning disable CS1591 + public class FindPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"findText", n => { FindText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"withinText", n => { WithinText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "findText", n => { FindText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "withinText", n => { WithinText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs index 3c0e5831ed..8c8cf3529b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Find { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Find +{ /// /// Provides operations to call the find method. /// - public class FindRequestBuilder : BaseCliRequestBuilder + public class FindRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action find diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.cs index 553311c0b8..8eb3f9dca5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FindB { - public class FindBPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FindB +{ + #pragma warning disable CS1591 + public class FindBPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"findText", n => { FindText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"withinText", n => { WithinText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "findText", n => { FindText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "withinText", n => { WithinText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs index b985d52305..14bb40c5ee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FindB { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FindB +{ /// /// Provides operations to call the findB method. /// - public class FindBRequestBuilder : BaseCliRequestBuilder + public class FindBRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action findB diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.cs index 9cbcf78f87..ac2ecc6683 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fisher { - public class FisherPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fisher +{ + #pragma warning disable CS1591 + public class FisherPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs index 254bbccbc2..fa42ad1ff9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fisher { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fisher +{ /// /// Provides operations to call the fisher method. /// - public class FisherRequestBuilder : BaseCliRequestBuilder + public class FisherRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fisher diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.cs index 190af4ca96..518dd74ecd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FisherInv { - public class FisherInvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FisherInv +{ + #pragma warning disable CS1591 + public class FisherInvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"y", n => { Y = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "y", n => { Y = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs index c3f85c176d..b16ea70daf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FisherInv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.FisherInv +{ /// /// Provides operations to call the fisherInv method. /// - public class FisherInvRequestBuilder : BaseCliRequestBuilder + public class FisherInvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fisherInv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.cs index efe01ecf3b..0bbcc2a631 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fixed { - public class FixedPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fixed +{ + #pragma warning disable CS1591 + public class FixedPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"noCommas", n => { NoCommas = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "noCommas", n => { NoCommas = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs index f9b0f1e7ef..1600344066 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fixed { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fixed +{ /// /// Provides operations to call the fixed method. /// - public class FixedRequestBuilder : BaseCliRequestBuilder + public class FixedRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fixed diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.cs index eec1ff0c8d..1943990e4f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Math { - public class Floor_MathPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Math +{ + #pragma warning disable CS1591 + public class Floor_MathPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mode", n => { Mode = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mode", n => { Mode = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs index 5a690e759a..dfa00c9882 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Math { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Math +{ /// /// Provides operations to call the floor_Math method. /// - public class Floor_MathRequestBuilder : BaseCliRequestBuilder + public class Floor_MathRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action floor_Math diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.cs index 37badb22bd..5e77d6dac2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Precise { - public class Floor_PrecisePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Precise +{ + #pragma warning disable CS1591 + public class Floor_PrecisePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs index ee0decf678..1211a7bb9e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Precise { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Floor_Precise +{ /// /// Provides operations to call the floor_Precise method. /// - public class Floor_PreciseRequestBuilder : BaseCliRequestBuilder + public class Floor_PreciseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action floor_Precise diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs index 27b53e4424..19116072e8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs @@ -380,11 +380,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions +{ /// /// Provides operations to manage the functions property of the microsoft.graph.workbook entity. /// - public class FunctionsRequestBuilder : BaseCliRequestBuilder + public class FunctionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the abs method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.cs index af167d96e8..1dcea66ddd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fv { - public class FvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fv +{ + #pragma warning disable CS1591 + public class FvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs index 791a4f7eae..e443bfd7d5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fv +{ /// /// Provides operations to call the fv method. /// - public class FvRequestBuilder : BaseCliRequestBuilder + public class FvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.cs index d94844f2d2..505949bce3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fvschedule { - public class FvschedulePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fvschedule +{ + #pragma warning disable CS1591 + public class FvschedulePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"principal", n => { Principal = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"schedule", n => { Schedule = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "principal", n => { Principal = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "schedule", n => { Schedule = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs index 7f9dc3828f..33ba0d6252 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fvschedule { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Fvschedule +{ /// /// Provides operations to call the fvschedule method. /// - public class FvscheduleRequestBuilder : BaseCliRequestBuilder + public class FvscheduleRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action fvschedule diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.cs index 32161a644c..6a9e750839 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma { - public class GammaPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma +{ + #pragma warning disable CS1591 + public class GammaPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs index c530591829..e706bd8738 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma +{ /// /// Provides operations to call the gamma method. /// - public class GammaRequestBuilder : BaseCliRequestBuilder + public class GammaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gamma diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.cs index d44d6e1bbd..830d590852 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn { - public class GammaLnPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn +{ + #pragma warning disable CS1591 + public class GammaLnPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs index 4b5491c35f..0e47911805 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn +{ /// /// Provides operations to call the gammaLn method. /// - public class GammaLnRequestBuilder : BaseCliRequestBuilder + public class GammaLnRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gammaLn diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.cs index 7dafa4ed7b..4b773093e1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn_Precise { - public class GammaLn_PrecisePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn_Precise +{ + #pragma warning disable CS1591 + public class GammaLn_PrecisePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs index e69d45ae69..5be0315fad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn_Precise { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GammaLn_Precise +{ /// /// Provides operations to call the gammaLn_Precise method. /// - public class GammaLn_PreciseRequestBuilder : BaseCliRequestBuilder + public class GammaLn_PreciseRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gammaLn_Precise diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.cs index ccd7352c98..e860ffbaed 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Dist { - public class Gamma_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Dist +{ + #pragma warning disable CS1591 + public class Gamma_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs index b7a695e459..8e1c08c6e1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Dist +{ /// /// Provides operations to call the gamma_Dist method. /// - public class Gamma_DistRequestBuilder : BaseCliRequestBuilder + public class Gamma_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gamma_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.cs index 73f5829507..60907b1312 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Inv { - public class Gamma_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Inv +{ + #pragma warning disable CS1591 + public class Gamma_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs index 3c31728f08..605b62f993 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gamma_Inv +{ /// /// Provides operations to call the gamma_Inv method. /// - public class Gamma_InvRequestBuilder : BaseCliRequestBuilder + public class Gamma_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gamma_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.cs index 8c577f4856..345df7a387 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gauss { - public class GaussPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gauss +{ + #pragma warning disable CS1591 + public class GaussPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs index be7ca06a12..ab29dc17d5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gauss { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gauss +{ /// /// Provides operations to call the gauss method. /// - public class GaussRequestBuilder : BaseCliRequestBuilder + public class GaussRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gauss diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.cs index ce5cd6c1b3..3b7bfbfd83 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gcd { - public class GcdPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gcd +{ + #pragma warning disable CS1591 + public class GcdPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs index f14a203851..86fa8b661b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gcd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Gcd +{ /// /// Provides operations to call the gcd method. /// - public class GcdRequestBuilder : BaseCliRequestBuilder + public class GcdRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action gcd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.cs index 29a80ad490..39433e6e97 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeStep { - public class GeStepPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeStep +{ + #pragma warning disable CS1591 + public class GeStepPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"step", n => { Step = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "step", n => { Step = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs index c73f74ca5e..dec461aa55 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeStep { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeStep +{ /// /// Provides operations to call the geStep method. /// - public class GeStepRequestBuilder : BaseCliRequestBuilder + public class GeStepRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action geStep diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.cs index a194122189..8e620be009 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeoMean { - public class GeoMeanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeoMean +{ + #pragma warning disable CS1591 + public class GeoMeanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs index bebd10204e..2f8f91685d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeoMean { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.GeoMean +{ /// /// Provides operations to call the geoMean method. /// - public class GeoMeanRequestBuilder : BaseCliRequestBuilder + public class GeoMeanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action geoMean diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.cs index 8bedfcc0b3..fc18cb1595 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HarMean { - public class HarMeanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HarMean +{ + #pragma warning disable CS1591 + public class HarMeanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs index e6cb610773..964150f8e4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HarMean { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HarMean +{ /// /// Provides operations to call the harMean method. /// - public class HarMeanRequestBuilder : BaseCliRequestBuilder + public class HarMeanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action harMean diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.cs index 37a1283818..ad411b77e4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Bin { - public class Hex2BinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Bin +{ + #pragma warning disable CS1591 + public class Hex2BinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs index 88de5386ac..889768cbe5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Bin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Bin +{ /// /// Provides operations to call the hex2Bin method. /// - public class Hex2BinRequestBuilder : BaseCliRequestBuilder + public class Hex2BinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hex2Bin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.cs index 84d5e1ce1c..6181ca2c26 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Dec { - public class Hex2DecPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Dec +{ + #pragma warning disable CS1591 + public class Hex2DecPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs index e1d0f3f901..c280cef396 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Dec { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Dec +{ /// /// Provides operations to call the hex2Dec method. /// - public class Hex2DecRequestBuilder : BaseCliRequestBuilder + public class Hex2DecRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hex2Dec diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.cs index dbe292833a..bda69f12fa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Oct { - public class Hex2OctPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Oct +{ + #pragma warning disable CS1591 + public class Hex2OctPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs index 324cb5c433..deeb471d77 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Oct { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hex2Oct +{ /// /// Provides operations to call the hex2Oct method. /// - public class Hex2OctRequestBuilder : BaseCliRequestBuilder + public class Hex2OctRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hex2Oct diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.cs index 6d0b6bfea7..328615ff35 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hlookup { - public class HlookupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hlookup +{ + #pragma warning disable CS1591 + public class HlookupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rangeLookup", n => { RangeLookup = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rowIndexNum", n => { RowIndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"tableArray", n => { TableArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rangeLookup", n => { RangeLookup = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rowIndexNum", n => { RowIndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "tableArray", n => { TableArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs index 8ee093a61f..f7f8e1238d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hlookup { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hlookup +{ /// /// Provides operations to call the hlookup method. /// - public class HlookupRequestBuilder : BaseCliRequestBuilder + public class HlookupRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hlookup diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.cs index 83f6900bfc..556b5ec09a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hour { - public class HourPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hour +{ + #pragma warning disable CS1591 + public class HourPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs index 4230f11dd1..2aa5beb497 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hour { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hour +{ /// /// Provides operations to call the hour method. /// - public class HourRequestBuilder : BaseCliRequestBuilder + public class HourRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hour diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.cs index 63da7f7a77..8d51d17b19 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HypGeom_Dist { - public class HypGeom_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HypGeom_Dist +{ + #pragma warning disable CS1591 + public class HypGeom_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberPop", n => { NumberPop = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberSample", n => { NumberSample = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"populationS", n => { PopulationS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"sampleS", n => { SampleS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberPop", n => { NumberPop = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberSample", n => { NumberSample = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "populationS", n => { PopulationS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "sampleS", n => { SampleS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs index 5347ca761e..79e5d180a1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HypGeom_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.HypGeom_Dist +{ /// /// Provides operations to call the hypGeom_Dist method. /// - public class HypGeom_DistRequestBuilder : BaseCliRequestBuilder + public class HypGeom_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hypGeom_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.cs index 668566543f..d723023d1e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hyperlink { - public class HyperlinkPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hyperlink +{ + #pragma warning disable CS1591 + public class HyperlinkPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"friendlyName", n => { FriendlyName = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"linkLocation", n => { LinkLocation = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "friendlyName", n => { FriendlyName = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "linkLocation", n => { LinkLocation = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs index 2ce6bf62de..c2c824ce48 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hyperlink { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Hyperlink +{ /// /// Provides operations to call the hyperlink method. /// - public class HyperlinkRequestBuilder : BaseCliRequestBuilder + public class HyperlinkRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action hyperlink diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfPostRequestBody.cs index 2bd4d7f1f1..80b384ae99 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.If { - public class IfPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.If +{ + #pragma warning disable CS1591 + public class IfPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"logicalTest", n => { LogicalTest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"valueIfFalse", n => { ValueIfFalse = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"valueIfTrue", n => { ValueIfTrue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "logicalTest", n => { LogicalTest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "valueIfFalse", n => { ValueIfFalse = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "valueIfTrue", n => { ValueIfTrue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs index 596fa000c4..1e07f32c27 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.If { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.If +{ /// /// Provides operations to call the if method. /// - public class IfRequestBuilder : BaseCliRequestBuilder + public class IfRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action if diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.cs index 850c268cb9..2c49278600 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImAbs { - public class ImAbsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImAbs +{ + #pragma warning disable CS1591 + public class ImAbsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs index 516f467097..ceb44abb44 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImAbs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImAbs +{ /// /// Provides operations to call the imAbs method. /// - public class ImAbsRequestBuilder : BaseCliRequestBuilder + public class ImAbsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imAbs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.cs index 9d2fc32a54..b647b3d5e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImArgument { - public class ImArgumentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImArgument +{ + #pragma warning disable CS1591 + public class ImArgumentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs index ddbd6709eb..9d228fe7f7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImArgument { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImArgument +{ /// /// Provides operations to call the imArgument method. /// - public class ImArgumentRequestBuilder : BaseCliRequestBuilder + public class ImArgumentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imArgument diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.cs index 935363d640..00b60a48bf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImConjugate { - public class ImConjugatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImConjugate +{ + #pragma warning disable CS1591 + public class ImConjugatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs index beb7ec03fd..9ad0c50eb5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImConjugate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImConjugate +{ /// /// Provides operations to call the imConjugate method. /// - public class ImConjugateRequestBuilder : BaseCliRequestBuilder + public class ImConjugateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imConjugate diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.cs index 434e84bd21..0fc0ff3f4f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCos { - public class ImCosPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCos +{ + #pragma warning disable CS1591 + public class ImCosPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs index 0a20d63479..ed19dbab7c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCos { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCos +{ /// /// Provides operations to call the imCos method. /// - public class ImCosRequestBuilder : BaseCliRequestBuilder + public class ImCosRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imCos diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.cs index 6389f15cb3..6c24cf6067 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCosh { - public class ImCoshPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCosh +{ + #pragma warning disable CS1591 + public class ImCoshPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs index 27658c32e3..c050726e49 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCosh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCosh +{ /// /// Provides operations to call the imCosh method. /// - public class ImCoshRequestBuilder : BaseCliRequestBuilder + public class ImCoshRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imCosh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.cs index 8a1a2735a6..160d98a893 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCot { - public class ImCotPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCot +{ + #pragma warning disable CS1591 + public class ImCotPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs index 29faadcce7..278c110543 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCot { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCot +{ /// /// Provides operations to call the imCot method. /// - public class ImCotRequestBuilder : BaseCliRequestBuilder + public class ImCotRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imCot diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.cs index 697d4a2965..f76bd1bd76 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsc { - public class ImCscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsc +{ + #pragma warning disable CS1591 + public class ImCscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs index 030c07618e..45edebd2c6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsc +{ /// /// Provides operations to call the imCsc method. /// - public class ImCscRequestBuilder : BaseCliRequestBuilder + public class ImCscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imCsc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.cs index 7ea82672e0..9d8b493f6c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsch { - public class ImCschPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsch +{ + #pragma warning disable CS1591 + public class ImCschPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs index f0376f616c..a60055b017 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsch { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImCsch +{ /// /// Provides operations to call the imCsch method. /// - public class ImCschRequestBuilder : BaseCliRequestBuilder + public class ImCschRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imCsch diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.cs index 4a01eadfbe..004cc14bfd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImDiv { - public class ImDivPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImDiv +{ + #pragma warning disable CS1591 + public class ImDivPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber1", n => { Inumber1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"inumber2", n => { Inumber2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber1", n => { Inumber1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber2", n => { Inumber2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs index 2f608d0a62..e16243f943 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImDiv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImDiv +{ /// /// Provides operations to call the imDiv method. /// - public class ImDivRequestBuilder : BaseCliRequestBuilder + public class ImDivRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imDiv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.cs index 8cdbf569da..764666a1c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImExp { - public class ImExpPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImExp +{ + #pragma warning disable CS1591 + public class ImExpPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs index be3e17e0c4..36760a9710 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImExp { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImExp +{ /// /// Provides operations to call the imExp method. /// - public class ImExpRequestBuilder : BaseCliRequestBuilder + public class ImExpRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imExp diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.cs index 875783fd48..c3abccfade 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLn { - public class ImLnPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLn +{ + #pragma warning disable CS1591 + public class ImLnPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs index a41af496c0..ac2032630f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLn { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLn +{ /// /// Provides operations to call the imLn method. /// - public class ImLnRequestBuilder : BaseCliRequestBuilder + public class ImLnRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imLn diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.cs index cacf40eaae..001c9619a2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog10 { - public class ImLog10PostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog10 +{ + #pragma warning disable CS1591 + public class ImLog10PostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs index 6ad81a47c4..6cd0986775 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog10 { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog10 +{ /// /// Provides operations to call the imLog10 method. /// - public class ImLog10RequestBuilder : BaseCliRequestBuilder + public class ImLog10RequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imLog10 diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.cs index 3f3422e098..b20f4d1f16 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog2 { - public class ImLog2PostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog2 +{ + #pragma warning disable CS1591 + public class ImLog2PostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs index 8d8a43e4a5..d3946f89fa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog2 { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImLog2 +{ /// /// Provides operations to call the imLog2 method. /// - public class ImLog2RequestBuilder : BaseCliRequestBuilder + public class ImLog2RequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imLog2 diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.cs index baa58a5c41..e82ad99b57 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImPower { - public class ImPowerPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImPower +{ + #pragma warning disable CS1591 + public class ImPowerPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs index 3f5c0ce02a..e0c48e8215 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImPower { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImPower +{ /// /// Provides operations to call the imPower method. /// - public class ImPowerRequestBuilder : BaseCliRequestBuilder + public class ImPowerRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imPower diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.cs index 647b48c177..6b3a26931b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImProduct { - public class ImProductPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImProduct +{ + #pragma warning disable CS1591 + public class ImProductPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs index 2f72a87173..aa59acc3cd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImProduct { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImProduct +{ /// /// Provides operations to call the imProduct method. /// - public class ImProductRequestBuilder : BaseCliRequestBuilder + public class ImProductRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imProduct diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.cs index b625f37e32..0f1809f14a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImReal { - public class ImRealPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImReal +{ + #pragma warning disable CS1591 + public class ImRealPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs index 5dc9a7fe5c..14ccdff89b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImReal { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImReal +{ /// /// Provides operations to call the imReal method. /// - public class ImRealRequestBuilder : BaseCliRequestBuilder + public class ImRealRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imReal diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.cs index 86c0832dd0..9b76a8d662 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSec { - public class ImSecPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSec +{ + #pragma warning disable CS1591 + public class ImSecPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs index 0377bf9dc4..56706e1909 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSec { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSec +{ /// /// Provides operations to call the imSec method. /// - public class ImSecRequestBuilder : BaseCliRequestBuilder + public class ImSecRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSec diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.cs index d03685579d..aab8c009af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSech { - public class ImSechPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSech +{ + #pragma warning disable CS1591 + public class ImSechPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs index d9d8a9a08b..a40adf4f24 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSech { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSech +{ /// /// Provides operations to call the imSech method. /// - public class ImSechRequestBuilder : BaseCliRequestBuilder + public class ImSechRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSech diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.cs index 016a5f6d0e..67c5296432 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSin { - public class ImSinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSin +{ + #pragma warning disable CS1591 + public class ImSinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs index b547924d49..42a3453e1a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSin +{ /// /// Provides operations to call the imSin method. /// - public class ImSinRequestBuilder : BaseCliRequestBuilder + public class ImSinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.cs index 01dab606a0..87df3d5a68 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSinh { - public class ImSinhPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSinh +{ + #pragma warning disable CS1591 + public class ImSinhPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs index ee28a76ef3..1c00e5e43e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSinh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSinh +{ /// /// Provides operations to call the imSinh method. /// - public class ImSinhRequestBuilder : BaseCliRequestBuilder + public class ImSinhRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSinh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.cs index 2baecfb173..39051af1d5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSqrt { - public class ImSqrtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSqrt +{ + #pragma warning disable CS1591 + public class ImSqrtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs index fea5fffa2f..d282a88832 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSqrt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSqrt +{ /// /// Provides operations to call the imSqrt method. /// - public class ImSqrtRequestBuilder : BaseCliRequestBuilder + public class ImSqrtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSqrt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.cs index d81810e8f3..64f02c0683 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSub { - public class ImSubPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSub +{ + #pragma warning disable CS1591 + public class ImSubPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber1", n => { Inumber1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"inumber2", n => { Inumber2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber1", n => { Inumber1 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber2", n => { Inumber2 = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs index 4114e5d87e..447e9637ad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSub { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSub +{ /// /// Provides operations to call the imSub method. /// - public class ImSubRequestBuilder : BaseCliRequestBuilder + public class ImSubRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSub diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.cs index 9ac8a2d709..ce3a84069d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSum { - public class ImSumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSum +{ + #pragma warning disable CS1591 + public class ImSumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs index 60a90d1b35..d81298d0bc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImSum +{ /// /// Provides operations to call the imSum method. /// - public class ImSumRequestBuilder : BaseCliRequestBuilder + public class ImSumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imSum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.cs index 671396536e..aaa5a1929e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImTan { - public class ImTanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImTan +{ + #pragma warning disable CS1591 + public class ImTanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs index 246a581175..cb19f6a0e2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImTan { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ImTan +{ /// /// Provides operations to call the imTan method. /// - public class ImTanRequestBuilder : BaseCliRequestBuilder + public class ImTanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imTan diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.cs index 17824d4aef..b2d63d8da0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Imaginary { - public class ImaginaryPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Imaginary +{ + #pragma warning disable CS1591 + public class ImaginaryPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "inumber", n => { Inumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs index e818f94a79..32df9acee0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Imaginary { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Imaginary +{ /// /// Provides operations to call the imaginary method. /// - public class ImaginaryRequestBuilder : BaseCliRequestBuilder + public class ImaginaryRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action imaginary diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.cs index 241ea75eaf..e0910e7dae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Int { - public class IntPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Int +{ + #pragma warning disable CS1591 + public class IntPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs index 6987af8238..59b7b52acb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Int { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Int +{ /// /// Provides operations to call the int method. /// - public class IntRequestBuilder : BaseCliRequestBuilder + public class IntRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action int diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.cs index a6e3b6e180..d0bd5bb3ae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IntRate { - public class IntRatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IntRate +{ + #pragma warning disable CS1591 + public class IntRatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"investment", n => { Investment = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "investment", n => { Investment = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs index ad7421f3f2..d5fb285482 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IntRate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IntRate +{ /// /// Provides operations to call the intRate method. /// - public class IntRateRequestBuilder : BaseCliRequestBuilder + public class IntRateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action intRate diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.cs index 3c62ce28f6..7cc7d42add 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ipmt { - public class IpmtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ipmt +{ + #pragma warning disable CS1591 + public class IpmtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs index b42f27141a..f3cd99b2d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ipmt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ipmt +{ /// /// Provides operations to call the ipmt method. /// - public class IpmtRequestBuilder : BaseCliRequestBuilder + public class IpmtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ipmt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.cs index a17cd6b3e4..102c70873a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Irr { - public class IrrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Irr +{ + #pragma warning disable CS1591 + public class IrrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs index e9a016be1e..9c301710b9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Irr { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Irr +{ /// /// Provides operations to call the irr method. /// - public class IrrRequestBuilder : BaseCliRequestBuilder + public class IrrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action irr diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.cs index 9af7c9b0a7..af8c95a374 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsErr { - public class IsErrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsErr +{ + #pragma warning disable CS1591 + public class IsErrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs index ddc47f7071..ab2e4e750f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsErr { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsErr +{ /// /// Provides operations to call the isErr method. /// - public class IsErrRequestBuilder : BaseCliRequestBuilder + public class IsErrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isErr diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.cs index ceeab5ca6c..eb5e5518a8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsError { - public class IsErrorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsError +{ + #pragma warning disable CS1591 + public class IsErrorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs index 513173b53c..1473550244 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsError { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsError +{ /// /// Provides operations to call the isError method. /// - public class IsErrorRequestBuilder : BaseCliRequestBuilder + public class IsErrorRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isError diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.cs index 9585361e36..c452072849 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsEven { - public class IsEvenPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsEven +{ + #pragma warning disable CS1591 + public class IsEvenPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs index 94d40bc307..8329154876 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsEven { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsEven +{ /// /// Provides operations to call the isEven method. /// - public class IsEvenRequestBuilder : BaseCliRequestBuilder + public class IsEvenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isEven diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.cs index 636674be51..b76bb84040 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsFormula { - public class IsFormulaPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsFormula +{ + #pragma warning disable CS1591 + public class IsFormulaPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs index c02b9e1436..cc1c49a841 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsFormula { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsFormula +{ /// /// Provides operations to call the isFormula method. /// - public class IsFormulaRequestBuilder : BaseCliRequestBuilder + public class IsFormulaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isFormula diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.cs index 5861ac9fbf..f5c069f753 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsLogical { - public class IsLogicalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsLogical +{ + #pragma warning disable CS1591 + public class IsLogicalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs index ab82b8f229..04fd922aa2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsLogical { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsLogical +{ /// /// Provides operations to call the isLogical method. /// - public class IsLogicalRequestBuilder : BaseCliRequestBuilder + public class IsLogicalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isLogical diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.cs index f9780b0b44..c2a936c58e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNA { - public class IsNAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNA +{ + #pragma warning disable CS1591 + public class IsNAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs index 70fa2f1a77..2862abe496 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNA +{ /// /// Provides operations to call the isNA method. /// - public class IsNARequestBuilder : BaseCliRequestBuilder + public class IsNARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isNA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.cs index b87d3e60cd..2dfcb5beb3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNonText { - public class IsNonTextPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNonText +{ + #pragma warning disable CS1591 + public class IsNonTextPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs index f0dca99b36..c4e49fdade 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNonText { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNonText +{ /// /// Provides operations to call the isNonText method. /// - public class IsNonTextRequestBuilder : BaseCliRequestBuilder + public class IsNonTextRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isNonText diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.cs index e62892b12e..5dbf35a570 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNumber { - public class IsNumberPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNumber +{ + #pragma warning disable CS1591 + public class IsNumberPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs index 65fcc39901..af0aa19d0f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNumber { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsNumber +{ /// /// Provides operations to call the isNumber method. /// - public class IsNumberRequestBuilder : BaseCliRequestBuilder + public class IsNumberRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isNumber diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.cs index ef41edf238..0c45c11ffd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsOdd { - public class IsOddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsOdd +{ + #pragma warning disable CS1591 + public class IsOddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs index ef061cb331..7235b2102b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsOdd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsOdd +{ /// /// Provides operations to call the isOdd method. /// - public class IsOddRequestBuilder : BaseCliRequestBuilder + public class IsOddRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isOdd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.cs index 5beebadd59..211b7ef1e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsText { - public class IsTextPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsText +{ + #pragma warning disable CS1591 + public class IsTextPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs index a4f8b766f0..b65d693e18 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsText { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsText +{ /// /// Provides operations to call the isText method. /// - public class IsTextRequestBuilder : BaseCliRequestBuilder + public class IsTextRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isText diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.cs index b0d7fee1ef..02d1457f8e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsoWeekNum { - public class IsoWeekNumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsoWeekNum +{ + #pragma warning disable CS1591 + public class IsoWeekNumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"date", n => { Date = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "date", n => { Date = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs index 85cde634e7..9473787dc2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsoWeekNum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.IsoWeekNum +{ /// /// Provides operations to call the isoWeekNum method. /// - public class IsoWeekNumRequestBuilder : BaseCliRequestBuilder + public class IsoWeekNumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isoWeekNum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.cs index d870e26b3d..cf28b27d21 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Iso_Ceiling { - public class Iso_CeilingPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Iso_Ceiling +{ + #pragma warning disable CS1591 + public class Iso_CeilingPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs index bfc43a8d93..55920cfc53 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Iso_Ceiling { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Iso_Ceiling +{ /// /// Provides operations to call the iso_Ceiling method. /// - public class Iso_CeilingRequestBuilder : BaseCliRequestBuilder + public class Iso_CeilingRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action iso_Ceiling diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.cs index 62d80516ad..37e1ad6637 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ispmt { - public class IspmtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ispmt +{ + #pragma warning disable CS1591 + public class IspmtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs index 87366393a5..715ac0fa43 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ispmt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ispmt +{ /// /// Provides operations to call the ispmt method. /// - public class IspmtRequestBuilder : BaseCliRequestBuilder + public class IspmtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ispmt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.cs index 4bb7f22f0e..145a9cf027 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Isref { - public class IsrefPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Isref +{ + #pragma warning disable CS1591 + public class IsrefPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs index 46b84ab97a..aa715a389c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Isref { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Isref +{ /// /// Provides operations to call the isref method. /// - public class IsrefRequestBuilder : BaseCliRequestBuilder + public class IsrefRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action isref diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.cs index f274c131c4..64393dc177 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Kurt { - public class KurtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Kurt +{ + #pragma warning disable CS1591 + public class KurtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs index f990a4a458..e5e9fbda1c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Kurt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Kurt +{ /// /// Provides operations to call the kurt method. /// - public class KurtRequestBuilder : BaseCliRequestBuilder + public class KurtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action kurt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.cs index 2038378a55..c7bd1aa250 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Large { - public class LargePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Large +{ + #pragma warning disable CS1591 + public class LargePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs index 3422f40649..14b2373c17 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Large { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Large +{ /// /// Provides operations to call the large method. /// - public class LargeRequestBuilder : BaseCliRequestBuilder + public class LargeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action large diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.cs index 456d05fc1d..36339a5050 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lcm { - public class LcmPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lcm +{ + #pragma warning disable CS1591 + public class LcmPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs index b30b433955..85a8c4236d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lcm { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lcm +{ /// /// Provides operations to call the lcm method. /// - public class LcmRequestBuilder : BaseCliRequestBuilder + public class LcmRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action lcm diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.cs index 5f8d1b7525..2c00d749b2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Left { - public class LeftPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Left +{ + #pragma warning disable CS1591 + public class LeftPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs index fb106c05a3..b653fb1366 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Left { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Left +{ /// /// Provides operations to call the left method. /// - public class LeftRequestBuilder : BaseCliRequestBuilder + public class LeftRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action left diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.cs index 61253aafb3..a46a82b02e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Leftb { - public class LeftbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Leftb +{ + #pragma warning disable CS1591 + public class LeftbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs index 273dceb86a..2cb09a7606 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Leftb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Leftb +{ /// /// Provides operations to call the leftb method. /// - public class LeftbRequestBuilder : BaseCliRequestBuilder + public class LeftbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action leftb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.cs index b67ade2d0d..6184b49521 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Len { - public class LenPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Len +{ + #pragma warning disable CS1591 + public class LenPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs index 13b2f54e42..999e22e5f6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Len { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Len +{ /// /// Provides operations to call the len method. /// - public class LenRequestBuilder : BaseCliRequestBuilder + public class LenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action len diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.cs index 9b7ab6b55f..f632ac97bb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lenb { - public class LenbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lenb +{ + #pragma warning disable CS1591 + public class LenbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs index 2bce4e2379..c45646e695 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lenb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lenb +{ /// /// Provides operations to call the lenb method. /// - public class LenbRequestBuilder : BaseCliRequestBuilder + public class LenbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action lenb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.cs index f21b66a922..88fce4e8b1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ln { - public class LnPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ln +{ + #pragma warning disable CS1591 + public class LnPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs index 26b2ebd84e..6c9d2afd39 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ln { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ln +{ /// /// Provides operations to call the ln method. /// - public class LnRequestBuilder : BaseCliRequestBuilder + public class LnRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ln diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.cs index c9ea2dbafb..be0b2234ff 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log { - public class LogPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log +{ + #pragma warning disable CS1591 + public class LogPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"base", n => { Base = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "base", n => { Base = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs index cdbdfd9f12..c102497385 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log +{ /// /// Provides operations to call the log method. /// - public class LogRequestBuilder : BaseCliRequestBuilder + public class LogRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action log diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.cs index 169ad24bcb..87cd508cf4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log10 { - public class Log10PostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log10 +{ + #pragma warning disable CS1591 + public class Log10PostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs index 22fe93cf1c..0dfdb95209 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log10 { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Log10 +{ /// /// Provides operations to call the log10 method. /// - public class Log10RequestBuilder : BaseCliRequestBuilder + public class Log10RequestBuilder : BaseCliRequestBuilder { /// /// Invoke action log10 diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.cs index 87c1513db0..337b0cf5a6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Dist { - public class LogNorm_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Dist +{ + #pragma warning disable CS1591 + public class LogNorm_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs index ff9b28974f..3b8cd7128b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Dist +{ /// /// Provides operations to call the logNorm_Dist method. /// - public class LogNorm_DistRequestBuilder : BaseCliRequestBuilder + public class LogNorm_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action logNorm_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.cs index bc58addbd3..e2718a0920 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Inv { - public class LogNorm_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Inv +{ + #pragma warning disable CS1591 + public class LogNorm_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs index ac10b3dbd1..cf05c339d9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.LogNorm_Inv +{ /// /// Provides operations to call the logNorm_Inv method. /// - public class LogNorm_InvRequestBuilder : BaseCliRequestBuilder + public class LogNorm_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action logNorm_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.cs index 45cde13047..37927fce7b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lookup { - public class LookupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lookup +{ + #pragma warning disable CS1591 + public class LookupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lookupVector", n => { LookupVector = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"resultVector", n => { ResultVector = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupVector", n => { LookupVector = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "resultVector", n => { ResultVector = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs index 2b8d1500b4..7e47820983 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lookup { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lookup +{ /// /// Provides operations to call the lookup method. /// - public class LookupRequestBuilder : BaseCliRequestBuilder + public class LookupRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action lookup diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.cs index aa0bbb9c87..6c0cbd5caa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lower { - public class LowerPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lower +{ + #pragma warning disable CS1591 + public class LowerPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs index 4f88df59ba..a6a3f0ab28 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lower { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Lower +{ /// /// Provides operations to call the lower method. /// - public class LowerRequestBuilder : BaseCliRequestBuilder + public class LowerRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action lower diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.cs index a4010fa44d..754e99f392 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Match { - public class MatchPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Match +{ + #pragma warning disable CS1591 + public class MatchPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lookupArray", n => { LookupArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"matchType", n => { MatchType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupArray", n => { LookupArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "matchType", n => { MatchType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs index d824169c86..fe78cdb7c8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Match { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Match +{ /// /// Provides operations to call the match method. /// - public class MatchRequestBuilder : BaseCliRequestBuilder + public class MatchRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action match diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.cs index ce8e707676..4d30ed01b7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Max { - public class MaxPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Max +{ + #pragma warning disable CS1591 + public class MaxPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs index 9c792a872c..fffb051da4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Max { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Max +{ /// /// Provides operations to call the max method. /// - public class MaxRequestBuilder : BaseCliRequestBuilder + public class MaxRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action max diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.cs index 3edf1e6468..c8f81c8b34 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MaxA { - public class MaxAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MaxA +{ + #pragma warning disable CS1591 + public class MaxAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs index a937d47110..9ecc723c6f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MaxA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MaxA +{ /// /// Provides operations to call the maxA method. /// - public class MaxARequestBuilder : BaseCliRequestBuilder + public class MaxARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action maxA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.cs index d9ca6e7f3e..0d381cc04a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mduration { - public class MdurationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mduration +{ + #pragma warning disable CS1591 + public class MdurationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"coupon", n => { Coupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "coupon", n => { Coupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs index 95e246fb7b..26c919a1f7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mduration { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mduration +{ /// /// Provides operations to call the mduration method. /// - public class MdurationRequestBuilder : BaseCliRequestBuilder + public class MdurationRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action mduration diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.cs index cad62b0492..4c22a86d93 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Median { - public class MedianPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Median +{ + #pragma warning disable CS1591 + public class MedianPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs index 0bacc1f769..3d584a1dda 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Median { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Median +{ /// /// Provides operations to call the median method. /// - public class MedianRequestBuilder : BaseCliRequestBuilder + public class MedianRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action median diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.cs index 5888be8ce2..fce8bb90a1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mid { - public class MidPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mid +{ + #pragma warning disable CS1591 + public class MidPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs index cb7087136c..1237e03fd5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mid { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mid +{ /// /// Provides operations to call the mid method. /// - public class MidRequestBuilder : BaseCliRequestBuilder + public class MidRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action mid diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.cs index d335aaf1b3..c0d0e0aa51 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Midb { - public class MidbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Midb +{ + #pragma warning disable CS1591 + public class MidbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs index 3c05c1ec12..6ad33843c5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Midb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Midb +{ /// /// Provides operations to call the midb method. /// - public class MidbRequestBuilder : BaseCliRequestBuilder + public class MidbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action midb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.cs index 940a1e5034..865354532c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Min { - public class MinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Min +{ + #pragma warning disable CS1591 + public class MinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs index 4e7f021807..45d194840c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Min { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Min +{ /// /// Provides operations to call the min method. /// - public class MinRequestBuilder : BaseCliRequestBuilder + public class MinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action min diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.cs index a500741ebf..b6d6a27642 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MinA { - public class MinAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MinA +{ + #pragma warning disable CS1591 + public class MinAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs index 1c2f534fdf..4f9b5da637 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MinA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MinA +{ /// /// Provides operations to call the minA method. /// - public class MinARequestBuilder : BaseCliRequestBuilder + public class MinARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action minA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.cs index 792354e0fd..d973aea607 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Minute { - public class MinutePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Minute +{ + #pragma warning disable CS1591 + public class MinutePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs index 9d428836c8..2efef81c74 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Minute { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Minute +{ /// /// Provides operations to call the minute method. /// - public class MinuteRequestBuilder : BaseCliRequestBuilder + public class MinuteRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action minute diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.cs index e2761cfce0..cc82019687 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mirr { - public class MirrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mirr +{ + #pragma warning disable CS1591 + public class MirrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"financeRate", n => { FinanceRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"reinvestRate", n => { ReinvestRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "financeRate", n => { FinanceRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "reinvestRate", n => { ReinvestRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs index 7b7c93d04a..a52cb97318 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mirr { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mirr +{ /// /// Provides operations to call the mirr method. /// - public class MirrRequestBuilder : BaseCliRequestBuilder + public class MirrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action mirr diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.cs index 3f5c4dab27..e396b9f17d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mod { - public class ModPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mod +{ + #pragma warning disable CS1591 + public class ModPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"divisor", n => { Divisor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "divisor", n => { Divisor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs index 8cf4d76044..9cbbebec55 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mod { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mod +{ /// /// Provides operations to call the mod method. /// - public class ModRequestBuilder : BaseCliRequestBuilder + public class ModRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action mod diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.cs index 399bb9313a..5b28218475 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Month { - public class MonthPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Month +{ + #pragma warning disable CS1591 + public class MonthPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs index b832c33615..26ef7ab572 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Month { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Month +{ /// /// Provides operations to call the month method. /// - public class MonthRequestBuilder : BaseCliRequestBuilder + public class MonthRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action month diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.cs index bc35b1e172..f362c53b98 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mround { - public class MroundPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mround +{ + #pragma warning disable CS1591 + public class MroundPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"multiple", n => { Multiple = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "multiple", n => { Multiple = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs index 1f3acf3bb6..120611ff91 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mround { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Mround +{ /// /// Provides operations to call the mround method. /// - public class MroundRequestBuilder : BaseCliRequestBuilder + public class MroundRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action mround diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.cs index d46efb6caf..f16022f9be 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MultiNomial { - public class MultiNomialPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MultiNomial +{ + #pragma warning disable CS1591 + public class MultiNomialPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs index 760ee0209c..b3a6cca8b3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MultiNomial { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.MultiNomial +{ /// /// Provides operations to call the multiNomial method. /// - public class MultiNomialRequestBuilder : BaseCliRequestBuilder + public class MultiNomialRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action multiNomial diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.cs index b11ecebe89..e61e6fa8b6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.N { - public class NPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.N +{ + #pragma warning disable CS1591 + public class NPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs index 2278b08f23..68f50ca6aa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.N { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.N +{ /// /// Provides operations to call the n method. /// - public class NRequestBuilder : BaseCliRequestBuilder + public class NRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action n diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs index 98b601a02f..b7ebefcf13 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Na { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Na +{ /// /// Provides operations to call the na method. /// - public class NaRequestBuilder : BaseCliRequestBuilder + public class NaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action na diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.cs index 3c504ee661..c7bbc5060d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NegBinom_Dist { - public class NegBinom_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NegBinom_Dist +{ + #pragma warning disable CS1591 + public class NegBinom_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberF", n => { NumberF = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberF", n => { NumberF = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberS", n => { NumberS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probabilityS", n => { ProbabilityS = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs index 70c3969aff..7de60beebc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NegBinom_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NegBinom_Dist +{ /// /// Provides operations to call the negBinom_Dist method. /// - public class NegBinom_DistRequestBuilder : BaseCliRequestBuilder + public class NegBinom_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action negBinom_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.cs index 5feb9aad29..4ad82b0a50 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays { - public class NetworkDaysPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays +{ + #pragma warning disable CS1591 + public class NetworkDaysPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs index e4d784e339..1afb5c8a69 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays +{ /// /// Provides operations to call the networkDays method. /// - public class NetworkDaysRequestBuilder : BaseCliRequestBuilder + public class NetworkDaysRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action networkDays diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.cs index de8c9ed9ad..0046549c64 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays_Intl { - public class NetworkDays_IntlPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays_Intl +{ + #pragma warning disable CS1591 + public class NetworkDays_IntlPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"weekend", n => { Weekend = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "weekend", n => { Weekend = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs index bbdefa54a5..42d9aeb942 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays_Intl { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NetworkDays_Intl +{ /// /// Provides operations to call the networkDays_Intl method. /// - public class NetworkDays_IntlRequestBuilder : BaseCliRequestBuilder + public class NetworkDays_IntlRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action networkDays_Intl diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.cs index 3c1f2d9dea..2332938116 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nominal { - public class NominalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nominal +{ + #pragma warning disable CS1591 + public class NominalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"effectRate", n => { EffectRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"npery", n => { Npery = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "effectRate", n => { EffectRate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "npery", n => { Npery = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs index 5f9bd76c00..638f90d464 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nominal { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nominal +{ /// /// Provides operations to call the nominal method. /// - public class NominalRequestBuilder : BaseCliRequestBuilder + public class NominalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action nominal diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.cs index c6f1ff88cc..7126d5c37f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Dist { - public class Norm_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Dist +{ + #pragma warning disable CS1591 + public class Norm_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs index 08fa3ec920..7f5d81d9d0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Dist +{ /// /// Provides operations to call the norm_Dist method. /// - public class Norm_DistRequestBuilder : BaseCliRequestBuilder + public class Norm_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action norm_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.cs index 065ca7e250..73abf01954 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Inv { - public class Norm_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Inv +{ + #pragma warning disable CS1591 + public class Norm_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs index d055cfbc06..dd9b234258 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_Inv +{ /// /// Provides operations to call the norm_Inv method. /// - public class Norm_InvRequestBuilder : BaseCliRequestBuilder + public class Norm_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action norm_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.cs index d5de32c715..3df814c879 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Dist { - public class Norm_S_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Dist +{ + #pragma warning disable CS1591 + public class Norm_S_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"z", n => { Z = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "z", n => { Z = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs index 40239afbbd..7fe275682c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Dist +{ /// /// Provides operations to call the norm_S_Dist method. /// - public class Norm_S_DistRequestBuilder : BaseCliRequestBuilder + public class Norm_S_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action norm_S_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.cs index 6a03d15c5b..e5cb91604e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Inv { - public class Norm_S_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Inv +{ + #pragma warning disable CS1591 + public class Norm_S_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs index 03cebdacdc..8de49f0cfa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Norm_S_Inv +{ /// /// Provides operations to call the norm_S_Inv method. /// - public class Norm_S_InvRequestBuilder : BaseCliRequestBuilder + public class Norm_S_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action norm_S_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.cs index 940cbc26e2..ed195e63b6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Not { - public class NotPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Not +{ + #pragma warning disable CS1591 + public class NotPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"logical", n => { Logical = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "logical", n => { Logical = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs index bb5d872349..7941580d47 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Not { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Not +{ /// /// Provides operations to call the not method. /// - public class NotRequestBuilder : BaseCliRequestBuilder + public class NotRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action not diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs index 39cee73291..dc12544b84 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Now { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Now +{ /// /// Provides operations to call the now method. /// - public class NowRequestBuilder : BaseCliRequestBuilder + public class NowRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action now diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.cs index 5def0be3db..d00c06807e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nper { - public class NperPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nper +{ + #pragma warning disable CS1591 + public class NperPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs index a996dea169..501c1d1d07 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nper { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Nper +{ /// /// Provides operations to call the nper method. /// - public class NperRequestBuilder : BaseCliRequestBuilder + public class NperRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action nper diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.cs index 54dc33755d..4c0740351c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Npv { - public class NpvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Npv +{ + #pragma warning disable CS1591 + public class NpvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs index b739f7b721..d3be8856bc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Npv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Npv +{ /// /// Provides operations to call the npv method. /// - public class NpvRequestBuilder : BaseCliRequestBuilder + public class NpvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action npv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.cs index 687a87a486..c85055a5dc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NumberValue { - public class NumberValuePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NumberValue +{ + #pragma warning disable CS1591 + public class NumberValuePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decimalSeparator", n => { DecimalSeparator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"groupSeparator", n => { GroupSeparator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "decimalSeparator", n => { DecimalSeparator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "groupSeparator", n => { GroupSeparator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs index 6e22bd81bb..f029abfd88 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NumberValue { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.NumberValue +{ /// /// Provides operations to call the numberValue method. /// - public class NumberValueRequestBuilder : BaseCliRequestBuilder + public class NumberValueRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action numberValue diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.cs index 03565dabe7..c54ada743c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Bin { - public class Oct2BinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Bin +{ + #pragma warning disable CS1591 + public class Oct2BinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs index 3e80b536f6..17a6071d94 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Bin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Bin +{ /// /// Provides operations to call the oct2Bin method. /// - public class Oct2BinRequestBuilder : BaseCliRequestBuilder + public class Oct2BinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oct2Bin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.cs index b02670eb77..8aea4e9719 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Dec { - public class Oct2DecPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Dec +{ + #pragma warning disable CS1591 + public class Oct2DecPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs index 22f7d0d2d1..d85f850323 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Dec { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Dec +{ /// /// Provides operations to call the oct2Dec method. /// - public class Oct2DecRequestBuilder : BaseCliRequestBuilder + public class Oct2DecRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oct2Dec diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.cs index 9a780e7a7f..b5e79923a5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Hex { - public class Oct2HexPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Hex +{ + #pragma warning disable CS1591 + public class Oct2HexPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "places", n => { Places = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs index 400408e685..1a082e1469 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Hex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Oct2Hex +{ /// /// Provides operations to call the oct2Hex method. /// - public class Oct2HexRequestBuilder : BaseCliRequestBuilder + public class Oct2HexRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oct2Hex diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.cs index 3a7b37013e..1faf73304e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Odd { - public class OddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Odd +{ + #pragma warning disable CS1591 + public class OddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs index 4e7ffb035a..bd99e570c8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Odd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Odd +{ /// /// Provides operations to call the odd method. /// - public class OddRequestBuilder : BaseCliRequestBuilder + public class OddRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action odd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.cs index 094187379f..f10d6b5437 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFPrice { - public class OddFPricePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFPrice +{ + #pragma warning disable CS1591 + public class OddFPricePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -107,15 +110,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"firstCoupon", n => { FirstCoupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "firstCoupon", n => { FirstCoupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs index 569d016384..7dc079d63c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFPrice { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFPrice +{ /// /// Provides operations to call the oddFPrice method. /// - public class OddFPriceRequestBuilder : BaseCliRequestBuilder + public class OddFPriceRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oddFPrice diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.cs index 53e7aadfa0..6e353fe279 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFYield { - public class OddFYieldPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFYield +{ + #pragma warning disable CS1591 + public class OddFYieldPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -107,15 +110,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"firstCoupon", n => { FirstCoupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "firstCoupon", n => { FirstCoupon = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs index dc84ef8e89..fd324cb014 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFYield { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddFYield +{ /// /// Provides operations to call the oddFYield method. /// - public class OddFYieldRequestBuilder : BaseCliRequestBuilder + public class OddFYieldRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oddFYield diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.cs index 65c9a17df2..8585cac060 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLPrice { - public class OddLPricePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLPrice +{ + #pragma warning disable CS1591 + public class OddLPricePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -99,14 +102,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lastInterest", n => { LastInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lastInterest", n => { LastInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs index 27ddc09f48..cb664f6db6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLPrice { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLPrice +{ /// /// Provides operations to call the oddLPrice method. /// - public class OddLPriceRequestBuilder : BaseCliRequestBuilder + public class OddLPriceRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oddLPrice diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.cs index 067bac180d..16a5118cb9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLYield { - public class OddLYieldPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLYield +{ + #pragma warning disable CS1591 + public class OddLYieldPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -99,14 +102,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lastInterest", n => { LastInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lastInterest", n => { LastInterest = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs index ad62ba7362..334adb165e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLYield { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.OddLYield +{ /// /// Provides operations to call the oddLYield method. /// - public class OddLYieldRequestBuilder : BaseCliRequestBuilder + public class OddLYieldRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action oddLYield diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrPostRequestBody.cs index 1de9bb11b2..223356c8bd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Or { - public class OrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Or +{ + #pragma warning disable CS1591 + public class OrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs index 544c186aaf..e0165603e2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Or { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Or +{ /// /// Provides operations to call the or method. /// - public class OrRequestBuilder : BaseCliRequestBuilder + public class OrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action or diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.cs index 07c222f1c3..ddb7f14ebd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pduration { - public class PdurationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pduration +{ + #pragma warning disable CS1591 + public class PdurationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs index 444ed37ede..3068ad4f87 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pduration { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pduration +{ /// /// Provides operations to call the pduration method. /// - public class PdurationRequestBuilder : BaseCliRequestBuilder + public class PdurationRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action pduration diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.cs index da47047c5e..20eddf5ab9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Exc { - public class PercentRank_ExcPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Exc +{ + #pragma warning disable CS1591 + public class PercentRank_ExcPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs index 179fb95403..3228a0eb9a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Exc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Exc +{ /// /// Provides operations to call the percentRank_Exc method. /// - public class PercentRank_ExcRequestBuilder : BaseCliRequestBuilder + public class PercentRank_ExcRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action percentRank_Exc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.cs index d1cac1e73c..819366b434 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Inc { - public class PercentRank_IncPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Inc +{ + #pragma warning disable CS1591 + public class PercentRank_IncPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "significance", n => { Significance = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs index 8203149eb7..9875ed817e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Inc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PercentRank_Inc +{ /// /// Provides operations to call the percentRank_Inc method. /// - public class PercentRank_IncRequestBuilder : BaseCliRequestBuilder + public class PercentRank_IncRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action percentRank_Inc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.cs index 04582a045d..b6638ed804 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Exc { - public class Percentile_ExcPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Exc +{ + #pragma warning disable CS1591 + public class Percentile_ExcPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs index 56d595ff46..8945802c5c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Exc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Exc +{ /// /// Provides operations to call the percentile_Exc method. /// - public class Percentile_ExcRequestBuilder : BaseCliRequestBuilder + public class Percentile_ExcRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action percentile_Exc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.cs index efb22f08eb..ea707b5203 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Inc { - public class Percentile_IncPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Inc +{ + #pragma warning disable CS1591 + public class Percentile_IncPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs index 08d6447ace..21837242a6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Inc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Percentile_Inc +{ /// /// Provides operations to call the percentile_Inc method. /// - public class Percentile_IncRequestBuilder : BaseCliRequestBuilder + public class Percentile_IncRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action percentile_Inc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.cs index 579b6ddc0d..27074f5e4b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permut { - public class PermutPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permut +{ + #pragma warning disable CS1591 + public class PermutPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs index 1781348c8f..83c1f9de21 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permut { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permut +{ /// /// Provides operations to call the permut method. /// - public class PermutRequestBuilder : BaseCliRequestBuilder + public class PermutRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action permut diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.cs index 9685092bbc..cecdc1433f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permutationa { - public class PermutationaPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permutationa +{ + #pragma warning disable CS1591 + public class PermutationaPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberChosen", n => { NumberChosen = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs index 302973e121..3e74335d54 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permutationa { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Permutationa +{ /// /// Provides operations to call the permutationa method. /// - public class PermutationaRequestBuilder : BaseCliRequestBuilder + public class PermutationaRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action permutationa diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.cs index 642a80a589..ecac8ba02d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Phi { - public class PhiPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Phi +{ + #pragma warning disable CS1591 + public class PhiPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs index 7a6964fbca..4bf7233e49 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Phi { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Phi +{ /// /// Provides operations to call the phi method. /// - public class PhiRequestBuilder : BaseCliRequestBuilder + public class PhiRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action phi diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs index c26e507cd0..fff4db9b5e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pi { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pi +{ /// /// Provides operations to call the pi method. /// - public class PiRequestBuilder : BaseCliRequestBuilder + public class PiRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action pi diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.cs index 6d79467efe..8b3f9ca8a4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pmt { - public class PmtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pmt +{ + #pragma warning disable CS1591 + public class PmtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs index 374cbf33db..dbac0f0408 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pmt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pmt +{ /// /// Provides operations to call the pmt method. /// - public class PmtRequestBuilder : BaseCliRequestBuilder + public class PmtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action pmt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.cs index 4cdb36d1a0..9d0a9cb071 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Poisson_Dist { - public class Poisson_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Poisson_Dist +{ + #pragma warning disable CS1591 + public class Poisson_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs index d09c147eee..8498d49c38 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Poisson_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Poisson_Dist +{ /// /// Provides operations to call the poisson_Dist method. /// - public class Poisson_DistRequestBuilder : BaseCliRequestBuilder + public class Poisson_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action poisson_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.cs index f5f0aaa07f..f949de13a9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Power { - public class PowerPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Power +{ + #pragma warning disable CS1591 + public class PowerPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"power", n => { Power = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "power", n => { Power = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs index 14d6fb13bb..ac19b40896 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Power { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Power +{ /// /// Provides operations to call the power method. /// - public class PowerRequestBuilder : BaseCliRequestBuilder + public class PowerRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action power diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.cs index e0ebd498dc..23989f17f6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ppmt { - public class PpmtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ppmt +{ + #pragma warning disable CS1591 + public class PpmtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs index 0872ee7ec6..722a0fd1fb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ppmt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Ppmt +{ /// /// Provides operations to call the ppmt method. /// - public class PpmtRequestBuilder : BaseCliRequestBuilder + public class PpmtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action ppmt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.cs index 54c42795fa..1bb1a67f15 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Price { - public class PricePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Price +{ + #pragma warning disable CS1591 + public class PricePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -91,13 +94,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs index 6d78c31607..f261fe5295 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Price { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Price +{ /// /// Provides operations to call the price method. /// - public class PriceRequestBuilder : BaseCliRequestBuilder + public class PriceRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action price diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.cs index fde9d497fd..4ccc814fa6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceDisc { - public class PriceDiscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceDisc +{ + #pragma warning disable CS1591 + public class PriceDiscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs index ee949e0158..5ad7a04141 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceDisc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceDisc +{ /// /// Provides operations to call the priceDisc method. /// - public class PriceDiscRequestBuilder : BaseCliRequestBuilder + public class PriceDiscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action priceDisc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.cs index 4a7634dbd8..896526c224 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceMat { - public class PriceMatPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceMat +{ + #pragma warning disable CS1591 + public class PriceMatPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "yld", n => { Yld = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs index 56f3b3bb56..9bdd6bacc0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceMat { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.PriceMat +{ /// /// Provides operations to call the priceMat method. /// - public class PriceMatRequestBuilder : BaseCliRequestBuilder + public class PriceMatRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action priceMat diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.cs index e9b9710a8e..825b30220b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Product { - public class ProductPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Product +{ + #pragma warning disable CS1591 + public class ProductPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs index 93b1af1f34..9368b2e817 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Product { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Product +{ /// /// Provides operations to call the product method. /// - public class ProductRequestBuilder : BaseCliRequestBuilder + public class ProductRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action product diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.cs index b3baf3cd0f..56e4642de8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Proper { - public class ProperPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Proper +{ + #pragma warning disable CS1591 + public class ProperPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs index 386507dd9c..657115888c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Proper { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Proper +{ /// /// Provides operations to call the proper method. /// - public class ProperRequestBuilder : BaseCliRequestBuilder + public class ProperRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action proper diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.cs index e69ea17ef7..2a94b18ff6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pv { - public class PvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pv +{ + #pragma warning disable CS1591 + public class PvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs index 0493a6d554..3e2337beba 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Pv +{ /// /// Provides operations to call the pv method. /// - public class PvRequestBuilder : BaseCliRequestBuilder + public class PvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action pv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.cs index eaa4efd481..656c35f3e8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Exc { - public class Quartile_ExcPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Exc +{ + #pragma warning disable CS1591 + public class Quartile_ExcPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"quart", n => { Quart = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "quart", n => { Quart = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs index ac21816460..2ef0062d03 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Exc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Exc +{ /// /// Provides operations to call the quartile_Exc method. /// - public class Quartile_ExcRequestBuilder : BaseCliRequestBuilder + public class Quartile_ExcRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action quartile_Exc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.cs index c0a9e8752f..fe50fdb354 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Inc { - public class Quartile_IncPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Inc +{ + #pragma warning disable CS1591 + public class Quartile_IncPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"quart", n => { Quart = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "quart", n => { Quart = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs index 9c7c4b9c06..3ef6fa5dd9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Inc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quartile_Inc +{ /// /// Provides operations to call the quartile_Inc method. /// - public class Quartile_IncRequestBuilder : BaseCliRequestBuilder + public class Quartile_IncRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action quartile_Inc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.cs index 3b55842562..f8afc4f0c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quotient { - public class QuotientPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quotient +{ + #pragma warning disable CS1591 + public class QuotientPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"denominator", n => { Denominator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numerator", n => { Numerator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "denominator", n => { Denominator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numerator", n => { Numerator = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs index 8745f6d212..627101b6b0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quotient { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Quotient +{ /// /// Provides operations to call the quotient method. /// - public class QuotientRequestBuilder : BaseCliRequestBuilder + public class QuotientRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action quotient diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.cs index 8b001f4afb..83fb5331a4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Radians { - public class RadiansPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Radians +{ + #pragma warning disable CS1591 + public class RadiansPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"angle", n => { Angle = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "angle", n => { Angle = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs index 85841b6439..04b7656b30 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Radians { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Radians +{ /// /// Provides operations to call the radians method. /// - public class RadiansRequestBuilder : BaseCliRequestBuilder + public class RadiansRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action radians diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs index 165d05b535..4be96048ce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rand { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rand +{ /// /// Provides operations to call the rand method. /// - public class RandRequestBuilder : BaseCliRequestBuilder + public class RandRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rand diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.cs index de9bde21c0..8cff8cfdae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RandBetween { - public class RandBetweenPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RandBetween +{ + #pragma warning disable CS1591 + public class RandBetweenPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"bottom", n => { Bottom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"top", n => { Top = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "bottom", n => { Bottom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "top", n => { Top = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs index 6279082281..f8f10b5059 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RandBetween { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RandBetween +{ /// /// Provides operations to call the randBetween method. /// - public class RandBetweenRequestBuilder : BaseCliRequestBuilder + public class RandBetweenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action randBetween diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.cs index fa3c87bd28..28edabcaf6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Avg { - public class Rank_AvgPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Avg +{ + #pragma warning disable CS1591 + public class Rank_AvgPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"order", n => { Order = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"ref", n => { Ref = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "order", n => { Order = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "ref", n => { Ref = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs index 8f2304bce0..d4a2110bd8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Avg { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Avg +{ /// /// Provides operations to call the rank_Avg method. /// - public class Rank_AvgRequestBuilder : BaseCliRequestBuilder + public class Rank_AvgRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rank_Avg diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.cs index be1adb0446..32c793f6ee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Eq { - public class Rank_EqPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Eq +{ + #pragma warning disable CS1591 + public class Rank_EqPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"order", n => { Order = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"ref", n => { Ref = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "order", n => { Order = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "ref", n => { Ref = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs index 06a939d979..5b05179844 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Eq { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rank_Eq +{ /// /// Provides operations to call the rank_Eq method. /// - public class Rank_EqRequestBuilder : BaseCliRequestBuilder + public class Rank_EqRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rank_Eq diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.cs index 1d83c42d4d..65b0415147 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rate { - public class RatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rate +{ + #pragma warning disable CS1591 + public class RatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pmt", n => { Pmt = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs index d5f0fb8392..aeed0d77dd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rate { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rate +{ /// /// Provides operations to call the rate method. /// - public class RateRequestBuilder : BaseCliRequestBuilder + public class RateRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rate diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.cs index aaf271babc..1edc7b0853 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Received { - public class ReceivedPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Received +{ + #pragma warning disable CS1591 + public class ReceivedPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"investment", n => { Investment = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "investment", n => { Investment = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs index a17ec6cb50..2dd699b151 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Received { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Received +{ /// /// Provides operations to call the received method. /// - public class ReceivedRequestBuilder : BaseCliRequestBuilder + public class ReceivedRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action received diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.cs index 9100b59aab..2c33477842 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Replace { - public class ReplacePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Replace +{ + #pragma warning disable CS1591 + public class ReplacePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs index 9aa2466ca3..dd7164e14b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Replace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Replace +{ /// /// Provides operations to call the replace method. /// - public class ReplaceRequestBuilder : BaseCliRequestBuilder + public class ReplaceRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action replace diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.cs index 04322ace08..2553a45b3a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ReplaceB { - public class ReplaceBPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ReplaceB +{ + #pragma warning disable CS1591 + public class ReplaceBPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startNum", n => { StartNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs index a7616182ff..e8c0d9b3e8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ReplaceB { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.ReplaceB +{ /// /// Provides operations to call the replaceB method. /// - public class ReplaceBRequestBuilder : BaseCliRequestBuilder + public class ReplaceBRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action replaceB diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.cs index 8eed5d4839..85cbba3c3f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rept { - public class ReptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rept +{ + #pragma warning disable CS1591 + public class ReptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numberTimes", n => { NumberTimes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numberTimes", n => { NumberTimes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs index c354f28ed9..ffb052c50c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rept { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rept +{ /// /// Provides operations to call the rept method. /// - public class ReptRequestBuilder : BaseCliRequestBuilder + public class ReptRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rept diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.cs index 9d8194daf3..8a1a1baeb1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Right { - public class RightPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Right +{ + #pragma warning disable CS1591 + public class RightPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numChars", n => { NumChars = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs index c8e9900e6b..ed2a742156 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Right { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Right +{ /// /// Provides operations to call the right method. /// - public class RightRequestBuilder : BaseCliRequestBuilder + public class RightRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action right diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.cs index b2db31e36d..7026c1c302 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rightb { - public class RightbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rightb +{ + #pragma warning disable CS1591 + public class RightbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numBytes", n => { NumBytes = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs index 6b2ce5808b..16e682eb82 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rightb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rightb +{ /// /// Provides operations to call the rightb method. /// - public class RightbRequestBuilder : BaseCliRequestBuilder + public class RightbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rightb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.cs index 18fcd71e49..bf6eefd1d4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Roman { - public class RomanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Roman +{ + #pragma warning disable CS1591 + public class RomanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"form", n => { Form = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "form", n => { Form = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs index 8ee1291327..6cad438d38 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Roman { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Roman +{ /// /// Provides operations to call the roman method. /// - public class RomanRequestBuilder : BaseCliRequestBuilder + public class RomanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action roman diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.cs index fe15960d41..25e209c009 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Round { - public class RoundPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Round +{ + #pragma warning disable CS1591 + public class RoundPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs index f0d9b38c53..4122e5e78e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Round { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Round +{ /// /// Provides operations to call the round method. /// - public class RoundRequestBuilder : BaseCliRequestBuilder + public class RoundRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action round diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.cs index ff7c88b1cb..a2910fae8d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundDown { - public class RoundDownPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundDown +{ + #pragma warning disable CS1591 + public class RoundDownPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs index f470dd9030..181aa76f09 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundDown { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundDown +{ /// /// Provides operations to call the roundDown method. /// - public class RoundDownRequestBuilder : BaseCliRequestBuilder + public class RoundDownRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action roundDown diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.cs index a8dd20df47..347aa371e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundUp { - public class RoundUpPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundUp +{ + #pragma warning disable CS1591 + public class RoundUpPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs index 974d0fcee2..2edadcec98 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundUp { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.RoundUp +{ /// /// Provides operations to call the roundUp method. /// - public class RoundUpRequestBuilder : BaseCliRequestBuilder + public class RoundUpRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action roundUp diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.cs index a49e421b55..54d8b4e543 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rows { - public class RowsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rows +{ + #pragma warning disable CS1591 + public class RowsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs index 1e183020ae..83ae376e25 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rows { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rows +{ /// /// Provides operations to call the rows method. /// - public class RowsRequestBuilder : BaseCliRequestBuilder + public class RowsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rows diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.cs index a446f46e54..ed2d536622 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rri { - public class RriPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rri +{ + #pragma warning disable CS1591 + public class RriPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "fv", n => { Fv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "nper", n => { Nper = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pv", n => { Pv = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs index 09149547c7..7652dfc5b7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rri { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Rri +{ /// /// Provides operations to call the rri method. /// - public class RriRequestBuilder : BaseCliRequestBuilder + public class RriRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action rri diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.cs index 9f36ce5a4c..c9d1ff1805 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sec { - public class SecPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sec +{ + #pragma warning disable CS1591 + public class SecPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs index 6eaa01bcfc..afaae4d582 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sec { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sec +{ /// /// Provides operations to call the sec method. /// - public class SecRequestBuilder : BaseCliRequestBuilder + public class SecRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sec diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.cs index 533f0403d0..82be4db4e2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sech { - public class SechPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sech +{ + #pragma warning disable CS1591 + public class SechPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs index 2178063be6..bf21324af6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sech { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sech +{ /// /// Provides operations to call the sech method. /// - public class SechRequestBuilder : BaseCliRequestBuilder + public class SechRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sech diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.cs index 82a9927142..be531c7a74 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Second { - public class SecondPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Second +{ + #pragma warning disable CS1591 + public class SecondPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs index b9530fb54e..2740df21e2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Second { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Second +{ /// /// Provides operations to call the second method. /// - public class SecondRequestBuilder : BaseCliRequestBuilder + public class SecondRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action second diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.cs index 3221c3cd70..8f807ee5e3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SeriesSum { - public class SeriesSumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SeriesSum +{ + #pragma warning disable CS1591 + public class SeriesSumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"coefficients", n => { Coefficients = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"m", n => { M = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "coefficients", n => { Coefficients = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "m", n => { M = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "n", n => { N = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs index b070c3760e..2ec43934d1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SeriesSum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SeriesSum +{ /// /// Provides operations to call the seriesSum method. /// - public class SeriesSumRequestBuilder : BaseCliRequestBuilder + public class SeriesSumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action seriesSum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.cs index 1cbdd1f0c8..8790e31e2b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheet { - public class SheetPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheet +{ + #pragma warning disable CS1591 + public class SheetPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs index 2008635873..2a16435a7e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheet +{ /// /// Provides operations to call the sheet method. /// - public class SheetRequestBuilder : BaseCliRequestBuilder + public class SheetRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sheet diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.cs index 7dbd0c47b2..aafde0d92e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheets { - public class SheetsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheets +{ + #pragma warning disable CS1591 + public class SheetsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs index 31c139c2d7..b924dc450d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheets { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sheets +{ /// /// Provides operations to call the sheets method. /// - public class SheetsRequestBuilder : BaseCliRequestBuilder + public class SheetsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sheets diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.cs index 90ff41d901..0401dc71b9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sign { - public class SignPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sign +{ + #pragma warning disable CS1591 + public class SignPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs index f36d9c1e4e..d16cb318d7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sign { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sign +{ /// /// Provides operations to call the sign method. /// - public class SignRequestBuilder : BaseCliRequestBuilder + public class SignRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sign diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.cs index 3782fc984c..fbd727474c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sin { - public class SinPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sin +{ + #pragma warning disable CS1591 + public class SinPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs index 2dfd4d705b..ad2fa0aa59 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sin { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sin +{ /// /// Provides operations to call the sin method. /// - public class SinRequestBuilder : BaseCliRequestBuilder + public class SinRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sin diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.cs index 0099ad00f5..7552ce89ef 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sinh { - public class SinhPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sinh +{ + #pragma warning disable CS1591 + public class SinhPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs index 062e0b5454..49623fffb7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sinh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sinh +{ /// /// Provides operations to call the sinh method. /// - public class SinhRequestBuilder : BaseCliRequestBuilder + public class SinhRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sinh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.cs index 119e78621d..ffbbc43701 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew { - public class SkewPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew +{ + #pragma warning disable CS1591 + public class SkewPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs index f8076a3759..23494c5e6e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew +{ /// /// Provides operations to call the skew method. /// - public class SkewRequestBuilder : BaseCliRequestBuilder + public class SkewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action skew diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.cs index 34f1101417..cd7cba82d7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew_p { - public class Skew_pPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew_p +{ + #pragma warning disable CS1591 + public class Skew_pPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs index 5fcdc1ae59..8df1f37611 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew_p { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Skew_p +{ /// /// Provides operations to call the skew_p method. /// - public class Skew_pRequestBuilder : BaseCliRequestBuilder + public class Skew_pRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action skew_p diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.cs index de8acf9335..22ebdd60d1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sln { - public class SlnPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sln +{ + #pragma warning disable CS1591 + public class SlnPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs index 92c0dc9c7f..08c18d4bf1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sln { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sln +{ /// /// Provides operations to call the sln method. /// - public class SlnRequestBuilder : BaseCliRequestBuilder + public class SlnRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sln diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.cs index ea408d03b1..0a855028cd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Small { - public class SmallPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Small +{ + #pragma warning disable CS1591 + public class SmallPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "k", n => { K = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs index 97d5a56ca3..2f11dc12b3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Small { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Small +{ /// /// Provides operations to call the small method. /// - public class SmallRequestBuilder : BaseCliRequestBuilder + public class SmallRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action small diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.cs index 494108565f..39cb368906 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sqrt { - public class SqrtPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sqrt +{ + #pragma warning disable CS1591 + public class SqrtPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs index a9844ff7db..460fd293c7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sqrt { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sqrt +{ /// /// Provides operations to call the sqrt method. /// - public class SqrtRequestBuilder : BaseCliRequestBuilder + public class SqrtRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sqrt diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.cs index 2b2523a297..886d2d70ea 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SqrtPi { - public class SqrtPiPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SqrtPi +{ + #pragma warning disable CS1591 + public class SqrtPiPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs index a597f0ba34..ddabfe5da9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SqrtPi { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SqrtPi +{ /// /// Provides operations to call the sqrtPi method. /// - public class SqrtPiRequestBuilder : BaseCliRequestBuilder + public class SqrtPiRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sqrtPi diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.cs index e784fe8ca9..0d4dcaed2e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevA { - public class StDevAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevA +{ + #pragma warning disable CS1591 + public class StDevAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs index 8e89c9b75e..ce4e3ec99a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevA +{ /// /// Provides operations to call the stDevA method. /// - public class StDevARequestBuilder : BaseCliRequestBuilder + public class StDevARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action stDevA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.cs index 11fee893b7..ea50117cee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevPA { - public class StDevPAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevPA +{ + #pragma warning disable CS1591 + public class StDevPAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs index 8ce024e9cb..e997a46611 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevPA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDevPA +{ /// /// Provides operations to call the stDevPA method. /// - public class StDevPARequestBuilder : BaseCliRequestBuilder + public class StDevPARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action stDevPA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.cs index b83417bbca..9d25dc67bc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_P { - public class StDev_PPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_P +{ + #pragma warning disable CS1591 + public class StDev_PPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs index bd4e5bbe17..4c1e0b3433 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_P { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_P +{ /// /// Provides operations to call the stDev_P method. /// - public class StDev_PRequestBuilder : BaseCliRequestBuilder + public class StDev_PRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action stDev_P diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.cs index 3444a64b0d..69bd2fd651 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_S { - public class StDev_SPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_S +{ + #pragma warning disable CS1591 + public class StDev_SPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs index 6810ebbda0..a4ed4e5636 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_S { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.StDev_S +{ /// /// Provides operations to call the stDev_S method. /// - public class StDev_SRequestBuilder : BaseCliRequestBuilder + public class StDev_SRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action stDev_S diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.cs index 7af87816e4..bf30218aad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Standardize { - public class StandardizePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Standardize +{ + #pragma warning disable CS1591 + public class StandardizePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "mean", n => { Mean = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "standardDev", n => { StandardDev = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs index 635263baa8..6f316f4940 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Standardize { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Standardize +{ /// /// Provides operations to call the standardize method. /// - public class StandardizeRequestBuilder : BaseCliRequestBuilder + public class StandardizeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action standardize diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.cs index 0a1d28c2cb..909d17caa0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Substitute { - public class SubstitutePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Substitute +{ + #pragma warning disable CS1591 + public class SubstitutePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"instanceNum", n => { InstanceNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "instanceNum", n => { InstanceNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "newText", n => { NewText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "oldText", n => { OldText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs index 2020a8adaf..2327830831 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Substitute { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Substitute +{ /// /// Provides operations to call the substitute method. /// - public class SubstituteRequestBuilder : BaseCliRequestBuilder + public class SubstituteRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action substitute diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.cs index 2ebcb1d8f9..0d84ac1a2d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Subtotal { - public class SubtotalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Subtotal +{ + #pragma warning disable CS1591 + public class SubtotalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"functionNum", n => { FunctionNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "functionNum", n => { FunctionNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs index 4d8e380211..7234fb1be6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Subtotal { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Subtotal +{ /// /// Provides operations to call the subtotal method. /// - public class SubtotalRequestBuilder : BaseCliRequestBuilder + public class SubtotalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action subtotal diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.cs index 243fe5c823..4cf2ab4746 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sum { - public class SumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sum +{ + #pragma warning disable CS1591 + public class SumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs index adbedf0276..9ad3316db0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Sum +{ /// /// Provides operations to call the sum method. /// - public class SumRequestBuilder : BaseCliRequestBuilder + public class SumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.cs index 92f7012a91..cb0f23ceb6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIf { - public class SumIfPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIf +{ + #pragma warning disable CS1591 + public class SumIfPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"sumRange", n => { SumRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "range", n => { Range = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "sumRange", n => { SumRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs index ace47c7f4f..c489573bde 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIf { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIf +{ /// /// Provides operations to call the sumIf method. /// - public class SumIfRequestBuilder : BaseCliRequestBuilder + public class SumIfRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sumIf diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.cs index b0b7a92e49..29aada6e24 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIfs { - public class SumIfsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIfs +{ + #pragma warning disable CS1591 + public class SumIfsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"sumRange", n => { SumRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "sumRange", n => { SumRange = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs index 87c84d00ce..611efa6ccc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIfs { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumIfs +{ /// /// Provides operations to call the sumIfs method. /// - public class SumIfsRequestBuilder : BaseCliRequestBuilder + public class SumIfsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sumIfs diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.cs index 903608181f..a8e155d9fd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumSq { - public class SumSqPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumSq +{ + #pragma warning disable CS1591 + public class SumSqPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs index 4c97830a3f..d5414311ec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumSq { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.SumSq +{ /// /// Provides operations to call the sumSq method. /// - public class SumSqRequestBuilder : BaseCliRequestBuilder + public class SumSqRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action sumSq diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.cs index 95bde2b74f..c168d05fcd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Syd { - public class SydPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Syd +{ + #pragma warning disable CS1591 + public class SydPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "per", n => { Per = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs index 409b888762..57c46fb17e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Syd { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Syd +{ /// /// Provides operations to call the syd method. /// - public class SydRequestBuilder : BaseCliRequestBuilder + public class SydRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action syd diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.cs index 88974c40a6..6f0d3f77a9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T { - public class TPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T +{ + #pragma warning disable CS1591 + public class TPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs index 88d0b3e182..432d31af16 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T +{ /// /// Provides operations to call the t method. /// - public class TRequestBuilder : BaseCliRequestBuilder + public class TRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.cs index 2840c6e9ae..6fc4bdc21a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist { - public class T_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist +{ + #pragma warning disable CS1591 + public class T_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs index 07870844ce..e572feb889 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist +{ /// /// Provides operations to call the t_Dist method. /// - public class T_DistRequestBuilder : BaseCliRequestBuilder + public class T_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.cs index 69a16e977d..a4744ba3d8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_2T { - public class T_Dist_2TPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_2T +{ + #pragma warning disable CS1591 + public class T_Dist_2TPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs index 420ac19b97..9ed0894200 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_2T { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_2T +{ /// /// Provides operations to call the t_Dist_2T method. /// - public class T_Dist_2TRequestBuilder : BaseCliRequestBuilder + public class T_Dist_2TRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t_Dist_2T diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.cs index 9f955d354b..703bc11d75 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_RT { - public class T_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_RT +{ + #pragma warning disable CS1591 + public class T_Dist_RTPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs index 18916cb26f..91fe8c9fe7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_RT { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Dist_RT +{ /// /// Provides operations to call the t_Dist_RT method. /// - public class T_Dist_RTRequestBuilder : BaseCliRequestBuilder + public class T_Dist_RTRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t_Dist_RT diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.cs index 037d85467d..8bd91ce2da 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv { - public class T_InvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv +{ + #pragma warning disable CS1591 + public class T_InvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs index 1afc062557..f0c3b58ae0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv +{ /// /// Provides operations to call the t_Inv method. /// - public class T_InvRequestBuilder : BaseCliRequestBuilder + public class T_InvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t_Inv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.cs index 6b596f3876..e8afabf67f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv_2T { - public class T_Inv_2TPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv_2T +{ + #pragma warning disable CS1591 + public class T_Inv_2TPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "degFreedom", n => { DegFreedom = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs index cea066a87e..bee01852b5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv_2T { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.T_Inv_2T +{ /// /// Provides operations to call the t_Inv_2T method. /// - public class T_Inv_2TRequestBuilder : BaseCliRequestBuilder + public class T_Inv_2TRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action t_Inv_2T diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.cs index f635d15080..664b9ad2c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tan { - public class TanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tan +{ + #pragma warning disable CS1591 + public class TanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs index 77b381df50..2f30a887b9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tan { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tan +{ /// /// Provides operations to call the tan method. /// - public class TanRequestBuilder : BaseCliRequestBuilder + public class TanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action tan diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.cs index b2d30dd630..f69e7d39d0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tanh { - public class TanhPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tanh +{ + #pragma warning disable CS1591 + public class TanhPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs index f43ef7e113..de8a30bd67 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tanh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Tanh +{ /// /// Provides operations to call the tanh method. /// - public class TanhRequestBuilder : BaseCliRequestBuilder + public class TanhRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action tanh diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.cs index b4ff8ebce8..359c302f1e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillEq { - public class TbillEqPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillEq +{ + #pragma warning disable CS1591 + public class TbillEqPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs index 1461e13e38..fa23a73fce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillEq { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillEq +{ /// /// Provides operations to call the tbillEq method. /// - public class TbillEqRequestBuilder : BaseCliRequestBuilder + public class TbillEqRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action tbillEq diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.cs index 0e89b6f0ae..22148a0be0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillPrice { - public class TbillPricePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillPrice +{ + #pragma warning disable CS1591 + public class TbillPricePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "discount", n => { Discount = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs index 33c9399914..58b6601c91 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillPrice { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillPrice +{ /// /// Provides operations to call the tbillPrice method. /// - public class TbillPriceRequestBuilder : BaseCliRequestBuilder + public class TbillPriceRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action tbillPrice diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.cs index 27d66caf13..b22d5734c5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillYield { - public class TbillYieldPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillYield +{ + #pragma warning disable CS1591 + public class TbillYieldPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs index 47e3944b95..bc6a092be0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillYield { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TbillYield +{ /// /// Provides operations to call the tbillYield method. /// - public class TbillYieldRequestBuilder : BaseCliRequestBuilder + public class TbillYieldRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action tbillYield diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.cs index 756a2b6636..a236cf65df 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Text { - public class TextPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Text +{ + #pragma warning disable CS1591 + public class TextPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"formatText", n => { FormatText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "formatText", n => { FormatText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs index 872921d0df..93ecb14bce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Text { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Text +{ /// /// Provides operations to call the text method. /// - public class TextRequestBuilder : BaseCliRequestBuilder + public class TextRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action text diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.cs index 56c85b4a68..078ece9855 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Time { - public class TimePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Time +{ + #pragma warning disable CS1591 + public class TimePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hour", n => { Hour = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"minute", n => { Minute = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"second", n => { Second = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "hour", n => { Hour = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "minute", n => { Minute = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "second", n => { Second = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs index 917925ed35..0acd68b995 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Time { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Time +{ /// /// Provides operations to call the time method. /// - public class TimeRequestBuilder : BaseCliRequestBuilder + public class TimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action time diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.cs index 72dfea96bc..73fa830c4b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Timevalue { - public class TimevaluePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Timevalue +{ + #pragma warning disable CS1591 + public class TimevaluePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"timeText", n => { TimeText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "timeText", n => { TimeText = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs index 86b6e4bc91..749b20f03c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Timevalue { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Timevalue +{ /// /// Provides operations to call the timevalue method. /// - public class TimevalueRequestBuilder : BaseCliRequestBuilder + public class TimevalueRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action timevalue diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs index 0cac0cdca4..9c43f28dc6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Today { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Today +{ /// /// Provides operations to call the today method. /// - public class TodayRequestBuilder : BaseCliRequestBuilder + public class TodayRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action today diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.cs index 9e68de987d..ed3a0dd0e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trim { - public class TrimPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trim +{ + #pragma warning disable CS1591 + public class TrimPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs index c7bd6c9369..3c4296e9d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trim { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trim +{ /// /// Provides operations to call the trim method. /// - public class TrimRequestBuilder : BaseCliRequestBuilder + public class TrimRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action trim diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.cs index 7b05bb2427..9e70358fd5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TrimMean { - public class TrimMeanPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TrimMean +{ + #pragma warning disable CS1591 + public class TrimMeanPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"percent", n => { Percent = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "percent", n => { Percent = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs index dccfaf3708..43f10cee9f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TrimMean { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TrimMean +{ /// /// Provides operations to call the trimMean method. /// - public class TrimMeanRequestBuilder : BaseCliRequestBuilder + public class TrimMeanRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action trimMean diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs index bbfd963753..6638d454a3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.True { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.True +{ /// /// Provides operations to call the true method. /// - public class TrueRequestBuilder : BaseCliRequestBuilder + public class TrueRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action true diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.cs index 8ea54d4a88..9137f25f56 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trunc { - public class TruncPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trunc +{ + #pragma warning disable CS1591 + public class TruncPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "numDigits", n => { NumDigits = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs index b8c18eb93c..e853c5c91e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trunc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Trunc +{ /// /// Provides operations to call the trunc method. /// - public class TruncRequestBuilder : BaseCliRequestBuilder + public class TruncRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action trunc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypePostRequestBody.cs index 161082d562..96313f0e42 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TypeNamespace { - public class TypePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TypeNamespace +{ + #pragma warning disable CS1591 + public class TypePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "value", n => { Value = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs index e897121028..6e8f938438 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TypeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.TypeNamespace +{ /// /// Provides operations to call the type method. /// - public class TypeRequestBuilder : BaseCliRequestBuilder + public class TypeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action type diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.cs index a615c19f56..92a9149fec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unichar { - public class UnicharPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unichar +{ + #pragma warning disable CS1591 + public class UnicharPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs index 3049165cec..7676224947 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unichar { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unichar +{ /// /// Provides operations to call the unichar method. /// - public class UnicharRequestBuilder : BaseCliRequestBuilder + public class UnicharRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unichar diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.cs index baae66f9d2..7129af9f27 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unicode { - public class UnicodePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unicode +{ + #pragma warning disable CS1591 + public class UnicodePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs index 49e7249653..a4a577f71c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unicode { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Unicode +{ /// /// Provides operations to call the unicode method. /// - public class UnicodeRequestBuilder : BaseCliRequestBuilder + public class UnicodeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unicode diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.cs index 3a74f9d344..aba9824cad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Upper { - public class UpperPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Upper +{ + #pragma warning disable CS1591 + public class UpperPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs index c0a16470b4..bfa8179b2b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Upper { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Upper +{ /// /// Provides operations to call the upper method. /// - public class UpperRequestBuilder : BaseCliRequestBuilder + public class UpperRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action upper diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.cs index cd54a0b490..094836345b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Usdollar { - public class UsdollarPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Usdollar +{ + #pragma warning disable CS1591 + public class UsdollarPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "decimals", n => { Decimals = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "number", n => { Number = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs index a2f17bfb8c..b7fef5b4dd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Usdollar { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Usdollar +{ /// /// Provides operations to call the usdollar method. /// - public class UsdollarRequestBuilder : BaseCliRequestBuilder + public class UsdollarRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action usdollar diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.cs index dc8800329c..8ac89c2a3f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Value { - public class ValuePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Value +{ + #pragma warning disable CS1591 + public class ValuePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs index de3c10df1b..a02978fbd1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Value { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Value +{ /// /// Provides operations to call the value method. /// - public class ValueRequestBuilder : BaseCliRequestBuilder + public class ValueRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action value diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.cs index 6114e5ff66..5e31944179 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarA { - public class VarAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarA +{ + #pragma warning disable CS1591 + public class VarAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs index 5353221067..9a9f613f4a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarA +{ /// /// Provides operations to call the varA method. /// - public class VarARequestBuilder : BaseCliRequestBuilder + public class VarARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action varA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.cs index a1e4c97dfc..171d3ec81a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarPA { - public class VarPAPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarPA +{ + #pragma warning disable CS1591 + public class VarPAPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs index f2de3acdf5..3bbbe7a6a2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarPA { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.VarPA +{ /// /// Provides operations to call the varPA method. /// - public class VarPARequestBuilder : BaseCliRequestBuilder + public class VarPARequestBuilder : BaseCliRequestBuilder { /// /// Invoke action varPA diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.cs index 1caff939b0..51fa2c5bd9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_P { - public class Var_PPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_P +{ + #pragma warning disable CS1591 + public class Var_PPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs index ef292f126e..22f8e11725 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_P { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_P +{ /// /// Provides operations to call the var_P method. /// - public class Var_PRequestBuilder : BaseCliRequestBuilder + public class Var_PRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action var_P diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.cs index 9b4c99cf77..bebe301d96 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_S { - public class Var_SPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_S +{ + #pragma warning disable CS1591 + public class Var_SPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs index 84b655b4cb..a916a13481 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_S { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Var_S +{ /// /// Provides operations to call the var_S method. /// - public class Var_SRequestBuilder : BaseCliRequestBuilder + public class Var_SRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action var_S diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.cs index aa5f9ae5a5..1fd3442233 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vdb { - public class VdbPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vdb +{ + #pragma warning disable CS1591 + public class VdbPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -91,13 +94,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"factor", n => { Factor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"noSwitch", n => { NoSwitch = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cost", n => { Cost = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endPeriod", n => { EndPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "factor", n => { Factor = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "life", n => { Life = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "noSwitch", n => { NoSwitch = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "salvage", n => { Salvage = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startPeriod", n => { StartPeriod = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs index 60568396ce..f69d0cd826 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vdb { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vdb +{ /// /// Provides operations to call the vdb method. /// - public class VdbRequestBuilder : BaseCliRequestBuilder + public class VdbRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action vdb diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.cs index 750d01ffd7..1afc659b80 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vlookup { - public class VlookupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vlookup +{ + #pragma warning disable CS1591 + public class VlookupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"colIndexNum", n => { ColIndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rangeLookup", n => { RangeLookup = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"tableArray", n => { TableArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "colIndexNum", n => { ColIndexNum = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "lookupValue", n => { LookupValue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rangeLookup", n => { RangeLookup = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "tableArray", n => { TableArray = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs index 714c05002e..f26a5f50a7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vlookup { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Vlookup +{ /// /// Provides operations to call the vlookup method. /// - public class VlookupRequestBuilder : BaseCliRequestBuilder + public class VlookupRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action vlookup diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.cs index 6e412650ee..324e6440c9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WeekNum { - public class WeekNumPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WeekNum +{ + #pragma warning disable CS1591 + public class WeekNumPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"returnType", n => { ReturnType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "returnType", n => { ReturnType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs index 9f6cf351a3..f7e0d7d971 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WeekNum { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WeekNum +{ /// /// Provides operations to call the weekNum method. /// - public class WeekNumRequestBuilder : BaseCliRequestBuilder + public class WeekNumRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action weekNum diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.cs index 804c22ee1f..eb97233e34 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weekday { - public class WeekdayPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weekday +{ + #pragma warning disable CS1591 + public class WeekdayPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"returnType", n => { ReturnType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "returnType", n => { ReturnType = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs index db9555da64..146c8416d8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weekday { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weekday +{ /// /// Provides operations to call the weekday method. /// - public class WeekdayRequestBuilder : BaseCliRequestBuilder + public class WeekdayRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action weekday diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.cs index 455fad827d..34d5bedecb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weibull_Dist { - public class Weibull_DistPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weibull_Dist +{ + #pragma warning disable CS1591 + public class Weibull_DistPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs index 74e622a2ea..3511522bc4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weibull_Dist { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Weibull_Dist +{ /// /// Provides operations to call the weibull_Dist method. /// - public class Weibull_DistRequestBuilder : BaseCliRequestBuilder + public class Weibull_DistRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action weibull_Dist diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.cs index daeef2ddb4..cdc5e06e16 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay { - public class WorkDayPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay +{ + #pragma warning disable CS1591 + public class WorkDayPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"days", n => { Days = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "days", n => { Days = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs index 8bc182987b..576e90fb9f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay +{ /// /// Provides operations to call the workDay method. /// - public class WorkDayRequestBuilder : BaseCliRequestBuilder + public class WorkDayRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action workDay diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.cs index 78702e1bd0..d574763737 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay_Intl { - public class WorkDay_IntlPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay_Intl +{ + #pragma warning disable CS1591 + public class WorkDay_IntlPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"days", n => { Days = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"weekend", n => { Weekend = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "days", n => { Days = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "holidays", n => { Holidays = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "weekend", n => { Weekend = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs index 1c477ca414..670847590a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay_Intl { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.WorkDay_Intl +{ /// /// Provides operations to call the workDay_Intl method. /// - public class WorkDay_IntlRequestBuilder : BaseCliRequestBuilder + public class WorkDay_IntlRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action workDay_Intl diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.cs index 05906441bc..581268697a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xirr { - public class XirrPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xirr +{ + #pragma warning disable CS1591 + public class XirrPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"dates", n => { Dates = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "dates", n => { Dates = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "guess", n => { Guess = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs index 0358d18fca..fcfb343c72 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xirr { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xirr +{ /// /// Provides operations to call the xirr method. /// - public class XirrRequestBuilder : BaseCliRequestBuilder + public class XirrRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action xirr diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.cs index 99faba0054..738add58b8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xnpv { - public class XnpvPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xnpv +{ + #pragma warning disable CS1591 + public class XnpvPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"dates", n => { Dates = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "dates", n => { Dates = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs index 72feb52926..6cfd5f662e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xnpv { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xnpv +{ /// /// Provides operations to call the xnpv method. /// - public class XnpvRequestBuilder : BaseCliRequestBuilder + public class XnpvRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action xnpv diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorPostRequestBody.cs index 408fd7f213..a5d7ead02e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xor { - public class XorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xor +{ + #pragma warning disable CS1591 + public class XorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs index 00d302d385..a80a985a00 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Xor +{ /// /// Provides operations to call the xor method. /// - public class XorRequestBuilder : BaseCliRequestBuilder + public class XorRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action xor diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.cs index 085fb923c0..572e64d5e1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Year { - public class YearPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Year +{ + #pragma warning disable CS1591 + public class YearPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "serialNumber", n => { SerialNumber = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs index d72638ba1e..b0e5d83a63 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Year { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Year +{ /// /// Provides operations to call the year method. /// - public class YearRequestBuilder : BaseCliRequestBuilder + public class YearRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action year diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.cs index b2bb8b4d46..2366c2bdf9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YearFrac { - public class YearFracPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YearFrac +{ + #pragma warning disable CS1591 + public class YearFracPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endDate", n => { EndDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startDate", n => { StartDate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs index bb74488783..96488d74ac 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YearFrac { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YearFrac +{ /// /// Provides operations to call the yearFrac method. /// - public class YearFracRequestBuilder : BaseCliRequestBuilder + public class YearFracRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action yearFrac diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldPostRequestBody.cs index 0e95e78bcc..9cf29d8243 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Yield { - public class YieldPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Yield +{ + #pragma warning disable CS1591 + public class YieldPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -91,13 +94,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "frequency", n => { Frequency = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs index c12d49efdf..3b152b8f2f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Yield { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Yield +{ /// /// Provides operations to call the yield method. /// - public class YieldRequestBuilder : BaseCliRequestBuilder + public class YieldRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action yield diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.cs index 0634448767..693b2ee200 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldDisc { - public class YieldDiscPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldDisc +{ + #pragma warning disable CS1591 + public class YieldDiscPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "redemption", n => { Redemption = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs index 81967c70f8..3dd43fe78a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldDisc { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldDisc +{ /// /// Provides operations to call the yieldDisc method. /// - public class YieldDiscRequestBuilder : BaseCliRequestBuilder + public class YieldDiscRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action yieldDisc diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.cs index d8ce07c44b..671dad50a3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldMat { - public class YieldMatPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldMat +{ + #pragma warning disable CS1591 + public class YieldMatPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -83,12 +86,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "basis", n => { Basis = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "issue", n => { Issue = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "maturity", n => { Maturity = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "pr", n => { Pr = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "rate", n => { Rate = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "settlement", n => { Settlement = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs index 359d65fb79..03d58c6b05 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldMat { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.YieldMat +{ /// /// Provides operations to call the yieldMat method. /// - public class YieldMatRequestBuilder : BaseCliRequestBuilder + public class YieldMatRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action yieldMat diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.cs index c8c96bd560..d8a5e67b15 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Z_Test { - public class Z_TestPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Z_Test +{ + #pragma warning disable CS1591 + public class Z_TestPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"sigma", n => { Sigma = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "array", n => { Array = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "sigma", n => { Sigma = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs index 3f5f409983..15e0e8d83f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Z_Test { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Functions.Z_Test +{ /// /// Provides operations to call the z_Test method. /// - public class Z_TestRequestBuilder : BaseCliRequestBuilder + public class Z_TestRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action z_Test diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.cs index 08b869a51a..cab72c5090 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs index 87cce134a9..ae7eda2a5b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs index 9626e847d1..2e8d6aab68 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.AddFormulaLocal { - public class AddFormulaLocalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.AddFormulaLocal +{ + #pragma warning disable CS1591 + public class AddFormulaLocalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"formula", n => { Formula = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "formula", n => { Formula = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs index 39adbeee28..b141dcb8ad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.AddFormulaLocal { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.AddFormulaLocal +{ /// /// Provides operations to call the addFormulaLocal method. /// - public class AddFormulaLocalRequestBuilder : BaseCliRequestBuilder + public class AddFormulaLocalRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs index 5aab6c0b0a..db8e8f8c50 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index ac463ba15c..9c68a88d84 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of range object. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs index 0d0643f2d7..657430aad9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item +{ /// /// Provides operations to manage the names property of the microsoft.graph.workbook entity. /// - public class WorkbookNamedItemItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookNamedItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property names for drives @@ -70,14 +71,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of nameditem object. - /// Find more info here + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of nameditem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/nameditem-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of workbooks scoped named items (named ranges and constants). Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -135,14 +135,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of nameditem object. - /// Find more info here + /// Update the navigation property names in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of nameditem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/nameditem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property names in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of nameditem object. + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of nameditem object. + /// Update the navigation property names in drives /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookNamedItem body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of nameditem object. + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// public class WorkbookNamedItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs index c0a3975c00..b78393dd95 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs index cf49b8b94b..97b4d6819d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names +{ /// /// Provides operations to manage the names property of the microsoft.graph.workbook entity. /// - public class NamesRequestBuilder : BaseCliRequestBuilder + public class NamesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addFormulaLocal method. @@ -149,14 +150,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of nameditem objects. - /// Find more info here + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of nameditem objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0"; + command.Description = "Represents a collection of workbooks scoped named items (named ranges and constants). Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -244,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -270,7 +272,7 @@ public NamesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// Retrieve a list of nameditem objects. + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -310,7 +312,7 @@ public RequestInformation ToPostRequestInformation(WorkbookNamedItem body, Actio return requestInfo; } /// - /// Retrieve a list of nameditem objects. + /// Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. /// public class NamesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs index 985b555513..dd20e050e5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs index 8581eccceb..caa5fa085f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.workbook entity. /// - public class WorkbookOperationItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for drives @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. - /// Find more info here + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbookoperation-get?view=graph-rest-1.0"; + command.Description = "The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookOperation body, Acti return requestInfo; } /// - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// public class WorkbookOperationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs index 609f026065..aa06507a5d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.workbook entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.workbook entity. @@ -110,13 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part."; + command.Description = "The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -206,7 +209,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive% { } /// - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -246,7 +249,7 @@ public RequestInformation ToPostRequestInformation(WorkbookOperation body, Actio return requestInfo; } /// - /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. + /// The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs index 8df0fa1768..6d350b6379 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.RefreshSession { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.RefreshSession +{ /// /// Provides operations to call the refreshSession method. /// - public class RefreshSessionRequestBuilder : BaseCliRequestBuilder + public class RefreshSessionRequestBuilder : BaseCliRequestBuilder { /// /// Use this API to refresh an existing workbook session. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs index 6793e7344c..e079d86afd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.SessionInfoResourceWithKey { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.SessionInfoResourceWithKey +{ /// /// Provides operations to call the sessionInfoResource method. /// - public class SessionInfoResourceWithKeyRequestBuilder : BaseCliRequestBuilder + public class SessionInfoResourceWithKeyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function sessionInfoResource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs index d691575f7d..2346275e51 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.TableRowOperationResultWithKey { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.TableRowOperationResultWithKey +{ /// /// Provides operations to call the tableRowOperationResult method. /// - public class TableRowOperationResultWithKeyRequestBuilder : BaseCliRequestBuilder + public class TableRowOperationResultWithKeyRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function tableRowOperationResult + /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function tableRowOperationResult"; + command.Description = "This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbook-tablerowoperationresult?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -85,7 +87,7 @@ public TableRowOperationResultWithKeyRequestBuilder(string rawUrl) : base("{+bas { } /// - /// Invoke function tableRowOperationResult + /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs index 3c6c7f4c76..29e1884102 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"address", n => { Address = n.GetStringValue(); } }, - {"hasHeaders", n => { HasHeaders = n.GetBoolValue(); } }, + { "address", n => { Address = n.GetStringValue(); } }, + { "hasHeaders", n => { HasHeaders = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index 6b74b6e238..80c93eeadb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// - /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. - /// Find more info here + /// Use this API to create a new Table. + /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0"; + command.Description = "Use this API to create a new Table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -93,7 +94,7 @@ public AddRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/i { } /// - /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + /// Use this API to create a new Table. /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountGetResponse.cs index b3654eefb9..0af6815677 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs index 592bc0fa76..36881f1931 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs index 8543f6bc47..eddf00f548 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ClearFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ClearFilters +{ /// /// Provides operations to call the clearFilters method. /// - public class ClearFiltersRequestBuilder : BaseCliRequestBuilder + public class ClearFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Clears all the filters currently applied on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.cs index 533e9cb207..9e4a8ff962 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"index", n => { Index = n.GetIntValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "index", n => { Index = n.GetIntValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs index d666ed25f6..efef0aabae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new column to the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs index 1a03127aa6..3d8ea1b418 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -78,14 +79,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new TableColumn. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new TableColumn.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -169,14 +169,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of tablecolumn objects. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of tablecolumn objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -270,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -296,7 +297,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -315,7 +316,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new TableColumn. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -336,7 +337,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableColumn body, Act return requestInfo; } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.cs index c76648064a..8d2801f70b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs index d36cca8771..93ffaecd9b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 0aa4955085..4439d9ecc1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs index 0bcdda2121..7bec26fafa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Apply { - public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Apply +{ + #pragma warning disable CS1591 + public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(WorkbookFilterCriteria.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(WorkbookFilterCriteria.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs index 6c7fa8d8dd..14863651be 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Apply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Apply +{ /// /// Provides operations to call the apply method. /// - public class ApplyRequestBuilder : BaseCliRequestBuilder + public class ApplyRequestBuilder : BaseCliRequestBuilder { /// /// Apply the given filter criteria on the given column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs index 1b467c6d98..7eef3280af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter { - public class ApplyBottomItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter +{ + #pragma warning disable CS1591 + public class ApplyBottomItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs index a01b91d3d7..233b6f4cc7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter +{ /// /// Provides operations to call the applyBottomItemsFilter method. /// - public class ApplyBottomItemsFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyBottomItemsFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyBottomItemsFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs index b9c66fd576..737985c261 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter { - public class ApplyBottomPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter +{ + #pragma warning disable CS1591 + public class ApplyBottomPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"percent", n => { Percent = n.GetIntValue(); } }, + { "percent", n => { Percent = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs index 1b7eea2ffc..1d50d0a48b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter +{ /// /// Provides operations to call the applyBottomPercentFilter method. /// - public class ApplyBottomPercentFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyBottomPercentFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyBottomPercentFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs index 14dddb7385..ff1a3a573f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter { - public class ApplyCellColorFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter +{ + #pragma warning disable CS1591 + public class ApplyCellColorFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs index cc93da6fe6..fc47ff7c6f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter +{ /// /// Provides operations to call the applyCellColorFilter method. /// - public class ApplyCellColorFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyCellColorFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyCellColorFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs index c1befb379a..38fdd1a9cf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCustomFilter { - public class ApplyCustomFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCustomFilter +{ + #pragma warning disable CS1591 + public class ApplyCustomFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria1", n => { Criteria1 = n.GetStringValue(); } }, - {"criteria2", n => { Criteria2 = n.GetStringValue(); } }, - {"oper", n => { Oper = n.GetStringValue(); } }, + { "criteria1", n => { Criteria1 = n.GetStringValue(); } }, + { "criteria2", n => { Criteria2 = n.GetStringValue(); } }, + { "oper", n => { Oper = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs index e265153c1e..18f683919a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCustomFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyCustomFilter +{ /// /// Provides operations to call the applyCustomFilter method. /// - public class ApplyCustomFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyCustomFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyCustomFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs index 665dfafc4f..098f98e02a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter { - public class ApplyDynamicFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter +{ + #pragma warning disable CS1591 + public class ApplyDynamicFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetStringValue(); } }, + { "criteria", n => { Criteria = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs index eb48ad24ba..e6d8d66131 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter +{ /// /// Provides operations to call the applyDynamicFilter method. /// - public class ApplyDynamicFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyDynamicFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyDynamicFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs index 1d21f5f7be..71dd14b6b8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter { - public class ApplyFontColorFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter +{ + #pragma warning disable CS1591 + public class ApplyFontColorFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs index 67b7bcaddf..61fa7b3dc5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter +{ /// /// Provides operations to call the applyFontColorFilter method. /// - public class ApplyFontColorFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyFontColorFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyFontColorFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs index a9b1b2b1a3..bb22001380 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyIconFilter { - public class ApplyIconFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyIconFilter +{ + #pragma warning disable CS1591 + public class ApplyIconFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"icon", n => { Icon = n.GetObjectValue(WorkbookIcon.CreateFromDiscriminatorValue); } }, + { "icon", n => { Icon = n.GetObjectValue(WorkbookIcon.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs index bb18e6c1b4..2adc75a045 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyIconFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyIconFilter +{ /// /// Provides operations to call the applyIconFilter method. /// - public class ApplyIconFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyIconFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyIconFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs index 8b46222b4b..a05cb71b8b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter { - public class ApplyTopItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter +{ + #pragma warning disable CS1591 + public class ApplyTopItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs index 6503410232..9add869414 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter +{ /// /// Provides operations to call the applyTopItemsFilter method. /// - public class ApplyTopItemsFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyTopItemsFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyTopItemsFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs index ce48702257..62b0bdad77 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter { - public class ApplyTopPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter +{ + #pragma warning disable CS1591 + public class ApplyTopPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"percent", n => { Percent = n.GetIntValue(); } }, + { "percent", n => { Percent = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs index 39eccc9cf0..e9d6bbf866 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter +{ /// /// Provides operations to call the applyTopPercentFilter method. /// - public class ApplyTopPercentFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyTopPercentFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyTopPercentFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs index 0fd8fb2e07..415f7d7f41 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyValuesFilter { - public class ApplyValuesFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyValuesFilter +{ + #pragma warning disable CS1591 + public class ApplyValuesFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs index 3ae7ddfb85..ffc9df35d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyValuesFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.ApplyValuesFilter +{ /// /// Provides operations to call the applyValuesFilter method. /// - public class ApplyValuesFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyValuesFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyValuesFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs index ad221f6d3c..962db950f7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the filter on the given column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs index 72db1fae7e..52c7242e46 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs @@ -26,11 +26,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.Filter +{ /// /// Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. /// - public class FilterRequestBuilder : BaseCliRequestBuilder + public class FilterRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the applyBottomItemsFilter method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 798752f7f7..239b23c6c4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the header row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs index a5599475f9..b2386674d2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the entire column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index a5d5831f0e..c61e9cb0d3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the totals row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs index 83a62befc2..7dfcc5c1b6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class WorkbookTableColumnItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableColumnItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the dataBodyRange method. @@ -43,14 +44,13 @@ public Command BuildDataBodyRangeNavCommand() return command; } /// - /// Deletes the column from the table. - /// Find more info here + /// Delete navigation property columns for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the column from the table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildFilterNavCommand() return command; } /// - /// Retrieve the properties and relationships of tablecolumn object. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablecolumn object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -221,14 +220,13 @@ public Command BuildHeaderRowRangeNavCommand() return command; } /// - /// Update the properties of tablecolumn object. - /// Find more info here + /// Update the navigation property columns in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of tablecolumn object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property columns in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -339,7 +337,7 @@ public WorkbookTableColumnItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes the column from the table. + /// Delete navigation property columns for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -358,7 +356,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablecolumn object. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -377,7 +375,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of tablecolumn object. + /// Update the navigation property columns in drives /// /// A /// The request body @@ -398,7 +396,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableColumn body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of tablecolumn object. + /// Represents a collection of all the columns in the table. Read-only. /// public class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs index 2530054b2c..0f7e48bc16 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs index e0eebe4e93..560b465653 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.Filter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.Filter +{ /// /// Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. /// - public class FilterRequestBuilder : BaseCliRequestBuilder + public class FilterRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property filter for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 479ad2dd53..c9689f8edd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the header row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index ecc9b39046..97011477b3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the dataBodyRange method. @@ -62,13 +63,14 @@ public Command BuildFilterNavCommand() return command; } /// - /// Invoke function itemAt + /// Gets a column based on its position in the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Gets a column based on its position in the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -183,7 +185,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Gets a column based on its position in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index be1fb45d5e..3398d2796c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the entire column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs index e8e77a2928..3ee0205c7e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Columns.ItemAtWithIndex.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the totals row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs index 8d5e8a0f4f..2840542412 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ConvertToRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ConvertToRange +{ /// /// Provides operations to call the convertToRange method. /// - public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder + public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder { /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index b53e1f1545..b2fd60722e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 87bac57eb2..1d8af87d82 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with header row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs index 3463158864..183d994ee8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Get the range object associated with the entire table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 9571b00ece..f97d033d6f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ReapplyFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.ReapplyFilters +{ /// /// Provides operations to call the reapplyFilters method. /// - public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder + public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies all the filters currently on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.cs index 8e11eca35d..39a9cd7836 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"index", n => { Index = n.GetIntValue(); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "index", n => { Index = n.GetIntValue(); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs index 5dfc626a57..1c3348f510 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.cs index 361aca307a..a40c3d9dc9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs index 095d2d5b73..8d4869c769 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs index c2bbeac012..fae697a377 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs index 1d834be1e0..af8fabd3e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.Item +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class WorkbookTableRowItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableRowItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes the row from the table. - /// Find more info here + /// Delete navigation property rows for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the row from the table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -76,14 +76,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablerow object. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablerow object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -147,14 +146,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of tablerow object. - /// Find more info here + /// Update the navigation property rows in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of tablerow object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property rows in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +246,7 @@ public WorkbookTableRowItemRequestBuilder(string rawUrl) : base("{+baseurl}/driv { } /// - /// Deletes the row from the table. + /// Delete navigation property rows for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablerow object. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -286,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of tablerow object. + /// Update the navigation property rows in drives /// /// A /// The request body @@ -307,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableRow body, Actio return requestInfo; } /// - /// Retrieve the properties and relationships of tablerow object. + /// Represents a collection of all the rows in the table. Read-only. /// public class WorkbookTableRowItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 79a7093d3e..d10a05c3e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -15,20 +15,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function itemAt + /// Gets a row based on its position in the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Gets a row based on its position in the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -109,7 +111,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Gets a row based on its position in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index 5becfc979a..4b3b4f2118 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs index 4d5a0ff64a..bd73b926a7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Rows +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class RowsRequestBuilder : BaseCliRequestBuilder + public class RowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -74,14 +75,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. - /// Find more info here + /// Create new navigation property to rows for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0"; + command.Description = "Create new navigation property to rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -161,14 +161,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of tablerow objects. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of tablerow objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -262,7 +261,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -288,7 +289,7 @@ public RowsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -307,7 +308,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. + /// Create new navigation property to rows for drives /// /// A /// The request body @@ -328,7 +329,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableRow body, Action return requestInfo; } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// public class RowsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index a4c0e42339..ab931560da 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Apply { - public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Apply +{ + #pragma warning disable CS1591 + public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fields", n => { Fields = n.GetCollectionOfObjectValues(WorkbookSortField.CreateFromDiscriminatorValue)?.ToList(); } }, - {"matchCase", n => { MatchCase = n.GetBoolValue(); } }, - {"method", n => { Method = n.GetStringValue(); } }, + { "fields", n => { Fields = n.GetCollectionOfObjectValues(WorkbookSortField.CreateFromDiscriminatorValue)?.ToList(); } }, + { "matchCase", n => { MatchCase = n.GetBoolValue(); } }, + { "method", n => { Method = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs index cd0f10416e..3bde538d35 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Apply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Apply +{ /// /// Provides operations to call the apply method. /// - public class ApplyRequestBuilder : BaseCliRequestBuilder + public class ApplyRequestBuilder : BaseCliRequestBuilder { /// /// Perform a sort operation. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs index ee31869120..cc6572babc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs index e87306acb7..ce22152906 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Reapply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort.Reapply +{ /// /// Provides operations to call the reapply method. /// - public class ReapplyRequestBuilder : BaseCliRequestBuilder + public class ReapplyRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies the current sorting parameters to the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs index 4964006020..57f16275f8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Sort +{ /// /// Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. /// - public class SortRequestBuilder : BaseCliRequestBuilder + public class SortRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the apply method. @@ -105,14 +106,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablesort object. - /// Find more info here + /// Represents the sorting for the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablesort object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0"; + command.Description = "Represents the sorting for the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -283,7 +283,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -323,7 +323,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableSort body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// public class SortRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index 32d460f4fb..a0f456c506 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with totals row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs index acb1eca8b9..c74263ee7d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item +{ /// /// Provides operations to manage the tables property of the microsoft.graph.workbook entity. /// - public class WorkbookTableItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clearFilters method. @@ -112,14 +113,13 @@ public Command BuildDataBodyRangeNavCommand() return command; } /// - /// Deletes the table. - /// Find more info here + /// Delete navigation property tables for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property tables for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -160,14 +160,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of table object. - /// Find more info here + /// Represents a collection of tables associated with the workbook. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of table object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of tables associated with the workbook. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -242,14 +241,13 @@ public Command BuildHeaderRowRangeNavCommand() return command; } /// - /// Update the properties of table object. - /// Find more info here + /// Update the navigation property tables in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of table object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property tables in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -444,7 +442,7 @@ public WorkbookTableItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/ { } /// - /// Deletes the table. + /// Delete navigation property tables for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -463,7 +461,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of table object. + /// Represents a collection of tables associated with the workbook. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -482,7 +480,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of table object. + /// Update the navigation property tables in drives /// /// A /// The request body @@ -503,7 +501,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTable body, Action - /// Retrieve the properties and relationships of table object. + /// Represents a collection of tables associated with the workbook. Read-only. /// public class WorkbookTableItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs index c60121ab3d..3e8f8192f9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current table. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs index 313a35c753..6e30051eb5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ClearFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ClearFilters +{ /// /// Provides operations to call the clearFilters method. /// - public class ClearFiltersRequestBuilder : BaseCliRequestBuilder + public class ClearFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Clears all the filters currently applied on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs index 2e6da87b6e..05e912639f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Columns { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of tablecolumn objects. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of tablecolumn objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Use this API to create a new TableColumn. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Use this API to create a new TableColumn.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new TableColumn. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableColumn body, Act return requestInfo; } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs index e5a555edc1..4ff2ce4303 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ConvertToRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ConvertToRange +{ /// /// Provides operations to call the convertToRange method. /// - public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder + public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder { /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs index 18581fa332..052a04d018 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 1db1d4f79b..e0083a1174 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with header row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index a693ed1c0d..3b8b99a81c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clearFilters method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index 7a1b4a1858..55ceb5ea5c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Get the range object associated with the entire table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 659d378835..e5dcc15d81 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ReapplyFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.ReapplyFilters +{ /// /// Provides operations to call the reapplyFilters method. /// - public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder + public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies all the filters currently on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs index 1dd9c7689f..62955f0314 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Rows { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Rows +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class RowsRequestBuilder : BaseCliRequestBuilder + public class RowsRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of tablerow objects. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of tablerow objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. - /// Find more info here + /// Create new navigation property to rows for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0"; + command.Description = "Create new navigation property to rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public RowsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. + /// Create new navigation property to rows for drives /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableRow body, Action return requestInfo; } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// public class RowsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs index 1610bb619a..2ef4adec5d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Sort { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Sort +{ /// /// Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. /// - public class SortRequestBuilder : BaseCliRequestBuilder + public class SortRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sort for drives @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablesort object. - /// Find more info here + /// Represents the sorting for the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablesort object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0"; + command.Description = "Represents the sorting for the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableSort body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// public class SortRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs index 68ee02e99f..0f20096bbe 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with totals row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs index 8465a6b11b..be29f5d1de 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables.ItemAtWithIndex.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current table. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs index 019181dbaa..6a24a7cbd7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Tables +{ /// /// Provides operations to manage the tables property of the microsoft.graph.workbook entity. /// - public class TablesRequestBuilder : BaseCliRequestBuilder + public class TablesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -174,14 +175,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of table objects. - /// Find more info here + /// Represents a collection of tables associated with the workbook. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of table objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0"; + command.Description = "Represents a collection of tables associated with the workbook. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -269,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -295,7 +297,7 @@ public TablesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of table objects. + /// Represents a collection of tables associated with the workbook. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -335,7 +337,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTable body, Action - /// Retrieve a list of table objects. + /// Represents a collection of tables associated with the workbook. Read-only. /// public class TablesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs index 0ba93120c7..4914827813 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs @@ -26,11 +26,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook { +namespace ApiSdk.Drives.Item.Items.Item.Workbook +{ /// /// Provides operations to manage the workbook property of the microsoft.graph.driveItem entity. /// - public class WorkbookRequestBuilder : BaseCliRequestBuilder + public class WorkbookRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the application property of the microsoft.graph.workbook entity. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.cs index 6a483be6d5..ea3bfae2b8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs index 2c0ec44bb5..9de371d9f3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Add a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you want to activate the newly added worksheet, call .activate() on it. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs index 9794df820a..47ac5b41e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs index 6fc997f924..ef3a09b157 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.CellWithRowWithColumn { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.CellWithRowWithColumn +{ /// /// Provides operations to call the cell method. /// - public class CellWithRowWithColumnRequestBuilder : BaseCliRequestBuilder + public class CellWithRowWithColumnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function cell + /// Gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function cell"; + command.Description = "Gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-cell?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -97,7 +99,7 @@ public CellWithRowWithColumnRequestBuilder(string rawUrl) : base("{+baseurl}/dri { } /// - /// Invoke function cell + /// Gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.cs index fd1db63c8a..cfa629d1f1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"seriesBy", n => { SeriesBy = n.GetStringValue(); } }, - {"sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "seriesBy", n => { SeriesBy = n.GetStringValue(); } }, + { "sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs index 2a6e7612d9..da782160cd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Creates a new chart. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs index 52ffd51e3d..7d41d881ec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts +{ /// /// Provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity. /// - public class ChartsRequestBuilder : BaseCliRequestBuilder + public class ChartsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -87,14 +88,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new Chart. - /// Find more info here + /// Create new navigation property to charts for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new Chart.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-post-charts?view=graph-rest-1.0"; + command.Description = "Create new navigation property to charts for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -221,14 +221,13 @@ public Command BuildItemWithNameRbCommand() return command; } /// - /// Retrieve a list of chart objects. - /// Find more info here + /// Returns collection of charts that are part of the worksheet. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of chart objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0"; + command.Description = "Returns collection of charts that are part of the worksheet. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -322,7 +321,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -348,7 +349,7 @@ public ChartsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chart objects. + /// Returns collection of charts that are part of the worksheet. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -367,7 +368,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Chart. + /// Create new navigation property to charts for drives /// /// A /// The request body @@ -388,7 +389,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChart body, Action - /// Retrieve a list of chart objects. + /// Returns collection of charts that are part of the worksheet. Read-only. /// public class ChartsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.cs index ab7297fd77..6cbf797a8e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs index 2564c717cd..0705eb0c98 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs index 43e68c7087..23fda9ce83 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes +{ /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. /// - public class AxesRequestBuilder : BaseCliRequestBuilder + public class AxesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the categoryAxis property of the microsoft.graph.workbookChartAxes entity. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs index 0f1a6a137b..f1de2e3761 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis +{ /// /// Provides operations to manage the categoryAxis property of the microsoft.graph.workbookChartAxes entity. /// - public class CategoryAxisRequestBuilder : BaseCliRequestBuilder + public class CategoryAxisRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property categoryAxis for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs index 554198ece6..9105404545 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartfont object. - /// Find more info here + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0"; + command.Description = "Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartfont object. - /// Find more info here + /// Update the navigation property font in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property font in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartfont object. + /// Update the navigation property font in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartFont body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// public class FontRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs index 702106033b..b46ace4d30 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxis entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs index 1e5729ab7c..036b2cc7cc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs index b5937c07eb..df69688d5d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. @@ -92,14 +93,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartlineformat object. - /// Find more info here + /// Represents chart line formatting. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0"; + command.Description = "Represents chart line formatting. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -163,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlineformat object. - /// Find more info here + /// Update the navigation property line in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property line in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlineformat object. + /// Update the navigation property line in drives /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLineFormat body return requestInfo; } /// - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// public class LineRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs index d661dbcebb..5d9769eb13 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 7bbcddfc02..1a87e0f575 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index 33509a3bbf..24d0f8e92c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index bffbf02281..bdec78b1ca 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MajorGridlines +{ /// /// Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property majorGridlines for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs index 7316d44d25..29422c0efd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 2a115cbc1d..c6d3995aec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 14d59e76b0..d79e0932fd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index fefd70d3f9..52c1db18e1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.MinorGridlines +{ /// /// Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property minorGridlines for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartgridlines object. - /// Find more info here + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0"; + command.Description = "Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartgridlines object. - /// Find more info here + /// Update the navigation property minorGridlines in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property minorGridlines in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartgridlines object. + /// Update the navigation property minorGridlines in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartGridlines body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// public class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs index 4fee026a18..413dbe66ac 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisTitleFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs index 9fe98fc8d3..ed1849fc9e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxisTitle entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs index f1c6e173c4..15002795f5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.CategoryAxis.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartaxistitle object. - /// Find more info here + /// Represents the axis title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0"; + command.Description = "Represents the axis title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartaxistitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartaxistitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartAxisTitle body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs index 6c4c9d7fda..0f576488af 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartfont object. - /// Find more info here + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0"; + command.Description = "Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartfont object. - /// Find more info here + /// Update the navigation property font in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property font in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartfont object. + /// Update the navigation property font in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartFont body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// public class FontRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs index 0ee1e15461..7b4bce545a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxis entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs index beb52c3767..a55b8718ba 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs index 6c0e89572f..2c7b7ae769 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. @@ -92,14 +93,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartlineformat object. - /// Find more info here + /// Represents chart line formatting. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0"; + command.Description = "Represents chart line formatting. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -163,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlineformat object. - /// Find more info here + /// Update the navigation property line in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property line in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlineformat object. + /// Update the navigation property line in drives /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLineFormat body return requestInfo; } /// - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// public class LineRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs index a5b04b1e13..1233568265 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 7576413e32..31f1088bc7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index 9b5fdc2a9a..6f778c77a8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index af9763a244..e97bd874ab 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MajorGridlines +{ /// /// Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property majorGridlines for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs index 49b40aa5ca..7027521a77 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index a49bb3f074..b589057917 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 2828e399f5..7f64cf212b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index 27e0c556da..d538c8a40b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.MinorGridlines +{ /// /// Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property minorGridlines for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartgridlines object. - /// Find more info here + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0"; + command.Description = "Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartgridlines object. - /// Find more info here + /// Update the navigation property minorGridlines in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property minorGridlines in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartgridlines object. + /// Update the navigation property minorGridlines in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartGridlines body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// public class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs index b29a6ba864..1d92c30204 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis +{ /// /// Provides operations to manage the seriesAxis property of the microsoft.graph.workbookChartAxes entity. /// - public class SeriesAxisRequestBuilder : BaseCliRequestBuilder + public class SeriesAxisRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property seriesAxis for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs index b63a190f2f..5aa0513a4d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisTitleFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs index a027783cfc..43872b7d8e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxisTitle entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs index 556476dfd9..04669acf43 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.SeriesAxis.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartaxistitle object. - /// Find more info here + /// Represents the axis title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0"; + command.Description = "Represents the axis title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartaxistitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartaxistitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartAxisTitle body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs index 4f3b4d74a2..989f970d71 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartfont object. - /// Find more info here + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0"; + command.Description = "Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartfont object. - /// Find more info here + /// Update the navigation property font in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartfont object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property font in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartfont object. + /// Update the navigation property font in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartFont body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of chartfont object. + /// Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. /// public class FontRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs index 0a007af5ea..2f13e1984c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxis entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs index 388f1a546e..fdf251c00d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs index 6014094fb1..a789fa7a3e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. @@ -92,14 +93,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartlineformat object. - /// Find more info here + /// Represents chart line formatting. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0"; + command.Description = "Represents chart line formatting. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -163,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlineformat object. - /// Find more info here + /// Update the navigation property line in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlineformat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property line in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlineformat object. + /// Update the navigation property line in drives /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLineFormat body return requestInfo; } /// - /// Retrieve the properties and relationships of chartlineformat object. + /// Represents chart line formatting. Read-only. /// public class LineRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs index 746756cc33..310ffeb35b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index b2bb2ce056..c232c41bc2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index c9bcf36592..ece1c56716 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index a0378b89c7..9e1907b149 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MajorGridlines +{ /// /// Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MajorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property majorGridlines for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs index 43fea3940c..eb4823f236 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartGridlines entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 4336afce78..a9c791300c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 70c83538fb..2b9c0d53ae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartGridlinesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index ade44402ff..776827aafb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.MinorGridlines +{ /// /// Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. /// - public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder + public class MinorGridlinesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property minorGridlines for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartgridlines object. - /// Find more info here + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0"; + command.Description = "Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartgridlines object. - /// Find more info here + /// Update the navigation property minorGridlines in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartgridlines object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property minorGridlines in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartgridlines object. + /// Update the navigation property minorGridlines in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartGridlines body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartgridlines object. + /// Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. /// public class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs index 2ce8212633..4cc16cb74e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAxisTitleFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs index 76acada897..e9dcd4fe03 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartAxisTitle entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs index 5e9f6ed4a1..c8674038c3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -100,14 +101,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartaxistitle object. - /// Find more info here + /// Represents the axis title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0"; + command.Description = "Represents the axis title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -171,14 +171,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartaxistitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartaxistitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -293,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartaxistitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -314,7 +313,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartAxisTitle body, return requestInfo; } /// - /// Retrieve the properties and relationships of chartaxistitle object. + /// Represents the axis title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs index 7128429331..66d8b55c22 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Axes.ValueAxis +{ /// /// Provides operations to manage the valueAxis property of the microsoft.graph.workbookChartAxes entity. /// - public class ValueAxisRequestBuilder : BaseCliRequestBuilder + public class ValueAxisRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property valueAxis for drives @@ -104,14 +105,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartaxis object. - /// Find more info here + /// Represents the value axis in an axis. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartaxis object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxis-get?view=graph-rest-1.0"; + command.Description = "Represents the value axis in an axis. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -225,14 +225,13 @@ public Command BuildMinorGridlinesNavCommand() return command; } /// - /// Update the properties of chartaxis object. - /// Find more info here + /// Update the navigation property valueAxis in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartaxis object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartaxis-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property valueAxis in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -353,7 +352,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartaxis object. + /// Represents the value axis in an axis. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -372,7 +371,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartaxis object. + /// Update the navigation property valueAxis in drives /// /// A /// The request body @@ -393,7 +392,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartAxis body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of chartaxis object. + /// Represents the value axis in an axis. Read-only. /// public class ValueAxisRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs index edd18bc1c1..6db369a5e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels +{ /// /// Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. /// - public class DataLabelsRequestBuilder : BaseCliRequestBuilder + public class DataLabelsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property dataLabels for drives @@ -101,14 +102,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartdatalabels object. - /// Find more info here + /// Represents the data labels on the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0"; + command.Description = "Represents the data labels on the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -172,14 +172,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartdatalabels object. - /// Find more info here + /// Update the navigation property dataLabels in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property dataLabels in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -275,7 +274,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +293,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartdatalabels object. + /// Update the navigation property dataLabels in drives /// /// A /// The request body @@ -315,7 +314,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartDataLabels body return requestInfo; } /// - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// public class DataLabelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs index 8a6bff662a..a68939aecb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs index b30c5ca32b..b3ef0b4701 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartDataLabelFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index 914fc7abf0..50f71a1dc8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index acecaed7ef..4993fc8e9d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs index 8e5f600321..1a59005c00 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartDataLabelFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs index 28473ee2ae..551dd3dff0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.DataLabels.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartDataLabels entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs index 6245a73244..62e714ca1d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs index f972350034..16833385ad 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartAreaFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index 8bc138769d..b743ee7e4a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 083ea5698a..164877ddfe 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs index 4154fb5e14..5815eb2245 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartAreaFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs index a8f7b68118..1aa36a9fb7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChart entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.cs index 1323e9c334..bd185a201a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Image { - public class ImageGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Image +{ + #pragma warning disable CS1591 + public class ImageGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs index 233789d31a..9db760a4e3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Image { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Image +{ /// /// Provides operations to call the image method. /// - public class ImageRequestBuilder : BaseCliRequestBuilder + public class ImageRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.cs index e13995c119..6a22df4b76 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidth { - public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidth +{ + #pragma warning disable CS1591 + public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs index d023df5c55..e202e2fe40 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidth +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs index cfe41134c9..20b128bbec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeight { - public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeight +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs index e9ff4174d6..c48bdb123b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeight { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeight +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs index 49bb95f60a..388277449f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeightWithFittingMode { - public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeightWithFittingMode +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs index 430ab53541..3c3b6f699b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeightWithFittingMode { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.ImageWithWidthWithHeightWithFittingMode +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs index 953c328cc8..718abb145a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs index 6bd7bf2203..a8356b3f98 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartLegendFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index eb036000f9..6b7905205e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index d82c5c0232..d063213bde 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs index ec3a60892e..00c32b1e2e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartLegendFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs index 7ef4e7e26b..ce80dcd932 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartLegend entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs index ed700db6c5..d95005b021 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Legend +{ /// /// Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. /// - public class LegendRequestBuilder : BaseCliRequestBuilder + public class LegendRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property legend for drives @@ -101,14 +102,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartlegend object. - /// Find more info here + /// Represents the legend for the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0"; + command.Description = "Represents the legend for the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -172,14 +172,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlegend object. - /// Find more info here + /// Update the navigation property legend in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property legend in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -275,7 +274,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +293,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlegend object. + /// Update the navigation property legend in drives /// /// A /// The request body @@ -315,7 +314,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLegend body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// public class LegendRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.cs index 1a477f9f7e..7446822bc8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs index 923a7ba2e0..836edf2672 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs index e66ad401e3..6e71990e32 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs index 656cd3a61f..26348e517e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartSeriesFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index 39bb00e4d4..2913a1427f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 2a8e4a3a3f..690f5f7d63 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs index 767dd205e4..e79f384d3d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartSeries entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs index 81236a422b..8e56ca47d4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Line.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Line.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the line format of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs index fbe7797cb8..120eecc76c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Line { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Format.Line +{ /// /// Provides operations to manage the line property of the microsoft.graph.workbookChartSeriesFormat entity. /// - public class LineRequestBuilder : BaseCliRequestBuilder + public class LineRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.cs index 7ce024e5cd..d99cc26ec6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs index b61b670384..2f0dc4b231 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs index 2b21dadd03..278f4f4ad5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs index 2453dc3a83..2416c03e14 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartPointFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index 56d42f7c2a..0b8fa12612 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 19732b3ec9..f633242a87 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs index 5e6fbab763..c48013580d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartPoint entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs index e82e047b76..c100f8b7c9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.Item +{ /// /// Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. /// - public class WorkbookChartPointItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookChartPointItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property points for drives @@ -112,14 +113,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartpoint object. - /// Find more info here + /// Represents a collection of all points in the series. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartpoint object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartpoint-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of all points in the series. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -309,7 +309,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartpoint object. + /// Represents a collection of all points in the series. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -349,7 +349,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartPoint body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of chartpoint object. + /// Represents a collection of all points in the series. Read-only. /// public class WorkbookChartPointItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.cs index e49ecb15e5..3b13e09f53 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.ItemAtWithIndex.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.ItemAtWithIndex.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartPoint entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 5b9c37e21b..bd86fb47b5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartPoint entity. @@ -41,13 +42,14 @@ public Command BuildFormatNavCommand() return command; } /// - /// Invoke function itemAt + /// Retrieve a point based on its position within the series. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Retrieve a point based on its position within the series.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartpointscollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -123,7 +125,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Retrieve a point based on its position within the series. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs index a033ce591b..35a77a96a6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item.Points +{ /// /// Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. /// - public class PointsRequestBuilder : BaseCliRequestBuilder + public class PointsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. @@ -56,14 +57,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new ChartPoints. - /// Find more info here + /// Create new navigation property to points for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new ChartPoints.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-post-points?view=graph-rest-1.0"; + command.Description = "Create new navigation property to points for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -155,14 +155,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of chartpoints objects. - /// Find more info here + /// Represents a collection of all points in the series. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of chartpoints objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0"; + command.Description = "Represents a collection of all points in the series. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -268,7 +267,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -294,7 +295,7 @@ public PointsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chartpoints objects. + /// Represents a collection of all points in the series. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -313,7 +314,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new ChartPoints. + /// Create new navigation property to points for drives /// /// A /// The request body @@ -334,7 +335,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartPoint body, Acti return requestInfo; } /// - /// Retrieve a list of chartpoints objects. + /// Represents a collection of all points in the series. Read-only. /// public class PointsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs index 0309555720..6c35a075db 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.Item +{ /// /// Provides operations to manage the series property of the microsoft.graph.workbookChart entity. /// - public class WorkbookChartSeriesItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookChartSeriesItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property series for drives @@ -108,14 +109,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chartseries object. - /// Find more info here + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartseries object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-get?view=graph-rest-1.0"; + command.Description = "Represents either a single series or collection of series in the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -185,14 +185,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartSeries object. - /// Find more info here + /// Update the navigation property series in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartSeries object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property series in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -322,7 +321,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartseries object. + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +340,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartSeries object. + /// Update the navigation property series in drives /// /// A /// The request body @@ -362,7 +361,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartSeries body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of chartseries object. + /// Represents either a single series or collection of series in the chart. Read-only. /// public class WorkbookChartSeriesItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.cs index 48dd3c1d81..f638dd5ebe 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartSeries entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 63bca688b5..c99f379414 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartSeries entity. @@ -42,13 +43,14 @@ public Command BuildFormatNavCommand() return command; } /// - /// Invoke function itemAt + /// Retrieves a series based on its position in the collection + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Retrieves a series based on its position in the collection\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseriescollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -136,7 +138,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Retrieves a series based on its position in the collection /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs index 6f4de2bcf6..8170508f8c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex.Points { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series.ItemAtWithIndex.Points +{ /// /// Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. /// - public class PointsRequestBuilder : BaseCliRequestBuilder + public class PointsRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of chartpoints objects. - /// Find more info here + /// Represents a collection of all points in the series. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of chartpoints objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0"; + command.Description = "Represents a collection of all points in the series. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -134,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,14 +148,13 @@ public Command BuildGetCommand() return command; } /// - /// Use this API to create a new ChartPoints. - /// Find more info here + /// Create new navigation property to points for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Use this API to create a new ChartPoints.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartseries-post-points?view=graph-rest-1.0"; + command.Description = "Create new navigation property to points for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -236,7 +237,7 @@ public PointsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chartpoints objects. + /// Represents a collection of all points in the series. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -255,7 +256,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new ChartPoints. + /// Create new navigation property to points for drives /// /// A /// The request body @@ -276,7 +277,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartPoint body, Acti return requestInfo; } /// - /// Retrieve a list of chartpoints objects. + /// Represents a collection of all points in the series. Read-only. /// public class PointsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs index 73edb3decd..ecc4d1cf7c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Series +{ /// /// Provides operations to manage the series property of the microsoft.graph.workbookChart entity. /// - public class SeriesRequestBuilder : BaseCliRequestBuilder + public class SeriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the series property of the microsoft.graph.workbookChart entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new ChartSeries. - /// Find more info here + /// Create new navigation property to series for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new ChartSeries.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0"; + command.Description = "Create new navigation property to series for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -151,14 +151,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of chartseries objects. - /// Find more info here + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of chartseries objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0"; + command.Description = "Represents either a single series or collection of series in the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -258,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -284,7 +285,7 @@ public SeriesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -303,7 +304,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new ChartSeries. + /// Create new navigation property to series for drives /// /// A /// The request body @@ -324,7 +325,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartSeries body, Act return requestInfo; } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// public class SeriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.cs index 49310ef49d..4e3ba1b265 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetData { - public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetData +{ + #pragma warning disable CS1591 + public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"seriesBy", n => { SeriesBy = n.GetStringValue(); } }, - {"sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "seriesBy", n => { SeriesBy = n.GetStringValue(); } }, + { "sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs index 8ad7e63461..bb173b5ab4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetData { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetData +{ /// /// Provides operations to call the setData method. /// - public class SetDataRequestBuilder : BaseCliRequestBuilder + public class SetDataRequestBuilder : BaseCliRequestBuilder { /// /// Resets the source data for the chart. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.cs index c7ac485d5f..d750fbb33a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetPosition { - public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetPosition +{ + #pragma warning disable CS1591 + public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs index 5f2cd02a97..7b9329bd90 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetPosition { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.SetPosition +{ /// /// Provides operations to call the setPosition method. /// - public class SetPositionRequestBuilder : BaseCliRequestBuilder + public class SetPositionRequestBuilder : BaseCliRequestBuilder { /// /// Positions the chart relative to cells on the worksheet. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs index 5d11d6fa91..e9ecf02779 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the fill color of a chart element. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs index 5a887eae8b..3d7b6096d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill +{ /// /// Provides operations to manage the fill property of the microsoft.graph.workbookChartTitleFormat entity. /// - public class FillRequestBuilder : BaseCliRequestBuilder + public class FillRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clear method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs index 2aa536d138..91eae4136f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.SetSolidColor { - public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.SetSolidColor +{ + #pragma warning disable CS1591 + public class SetSolidColorPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 633359a0c0..1395a85c48 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.SetSolidColor { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Fill.SetSolidColor +{ /// /// Provides operations to call the setSolidColor method. /// - public class SetSolidColorRequestBuilder : BaseCliRequestBuilder + public class SetSolidColorRequestBuilder : BaseCliRequestBuilder { /// /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs index d9a68ffaab..8760f8b352 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Font { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format.Font +{ /// /// Provides operations to manage the font property of the microsoft.graph.workbookChartTitleFormat entity. /// - public class FontRequestBuilder : BaseCliRequestBuilder + public class FontRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property font for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs index 560916e522..f96a7d3373 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChartTitle entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs index 87658d526f..d69bd316d4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChart entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -101,14 +102,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of charttitle object. - /// Find more info here + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0"; + command.Description = "Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -172,14 +172,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of charttitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -275,7 +274,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +293,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of charttitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -315,7 +314,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartTitle body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs index 26e33a0a26..d5a7bc2523 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs @@ -27,11 +27,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item +{ /// /// Provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity. /// - public class WorkbookChartItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookChartItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. @@ -86,14 +87,13 @@ public Command BuildDataLabelsNavCommand() return command; } /// - /// Deletes the chart object. - /// Find more info here + /// Delete navigation property charts for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the chart object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property charts for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -166,14 +166,13 @@ public Command BuildFormatNavCommand() return command; } /// - /// Retrieve the properties and relationships of chart object. - /// Find more info here + /// Returns collection of charts that are part of the worksheet. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chart object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-get?view=graph-rest-1.0"; + command.Description = "Returns collection of charts that are part of the worksheet. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -330,14 +329,13 @@ public Command BuildLegendNavCommand() return command; } /// - /// Update the properties of chart object. - /// Find more info here + /// Update the navigation property charts in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chart object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property charts in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -518,7 +516,7 @@ public WorkbookChartItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/ { } /// - /// Deletes the chart object. + /// Delete navigation property charts for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -537,7 +535,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chart object. + /// Returns collection of charts that are part of the worksheet. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -556,7 +554,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chart object. + /// Update the navigation property charts in drives /// /// A /// The request body @@ -577,7 +575,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChart body, Action - /// Retrieve the properties and relationships of chart object. + /// Returns collection of charts that are part of the worksheet. Read-only. /// public class WorkbookChartItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs index 71d1f14547..204c801e10 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current chart. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.cs index 81e3d86d17..538cedb125 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Axes { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Axes +{ /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. /// - public class AxesRequestBuilder : BaseCliRequestBuilder + public class AxesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property axes for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.cs index 284a8101bf..b60f222348 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.DataLabels { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.DataLabels +{ /// /// Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. /// - public class DataLabelsRequestBuilder : BaseCliRequestBuilder + public class DataLabelsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property dataLabels for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartdatalabels object. - /// Find more info here + /// Represents the data labels on the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0"; + command.Description = "Represents the data labels on the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartdatalabels object. - /// Find more info here + /// Update the navigation property dataLabels in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property dataLabels in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartdatalabels object. + /// Update the navigation property dataLabels in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartDataLabels body return requestInfo; } /// - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// public class DataLabelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.cs index e4dfedbefa..21aa61d595 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChart entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.cs index df1cd0190b..95317ef577 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Image { - public class ImageGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Image +{ + #pragma warning disable CS1591 + public class ImageGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.cs index 422fdfa990..5f3193f288 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Image { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Image +{ /// /// Provides operations to call the image method. /// - public class ImageRequestBuilder : BaseCliRequestBuilder + public class ImageRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.cs index 5f69469937..92ddf0320a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidth { - public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidth +{ + #pragma warning disable CS1591 + public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.cs index e5cea6b433..b55ab7e2f0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidth +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs index 535affab27..a6effb70d3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeight { - public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeight +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs index 821d62b6a7..1eb9361927 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeight { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeight +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs index f3c9f337a5..dbf9f7f74e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeightWithFittingMode { - public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeightWithFittingMode +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs index b8fdba4085..d306a1c477 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeightWithFittingMode { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.ImageWithWidthWithHeightWithFittingMode +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index a3d7f8c50d..056f342194 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -27,11 +27,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. @@ -91,13 +92,14 @@ public Command BuildFormatNavCommand() return command; } /// - /// Invoke function itemAt + /// Gets a chart based on its position in the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Gets a chart based on its position in the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartcollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -336,7 +338,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Gets a chart based on its position in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.cs index 6a35a948e0..ee3be4d08d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Legend { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Legend +{ /// /// Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. /// - public class LegendRequestBuilder : BaseCliRequestBuilder + public class LegendRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property legend for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartlegend object. - /// Find more info here + /// Represents the legend for the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0"; + command.Description = "Represents the legend for the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlegend object. - /// Find more info here + /// Update the navigation property legend in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property legend in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlegend object. + /// Update the navigation property legend in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLegend body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// public class LegendRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.cs index 2faa2bd2b8..a875765203 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Series { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Series +{ /// /// Provides operations to manage the series property of the microsoft.graph.workbookChart entity. /// - public class SeriesRequestBuilder : BaseCliRequestBuilder + public class SeriesRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of chartseries objects. - /// Find more info here + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of chartseries objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0"; + command.Description = "Represents either a single series or collection of series in the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Use this API to create a new ChartSeries. - /// Find more info here + /// Create new navigation property to series for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Use this API to create a new ChartSeries.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0"; + command.Description = "Create new navigation property to series for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public SeriesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new ChartSeries. + /// Create new navigation property to series for drives /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartSeries body, Act return requestInfo; } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// public class SeriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.cs index 3043521432..7114fca93b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetData { - public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetData +{ + #pragma warning disable CS1591 + public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"seriesBy", n => { SeriesBy = n.GetStringValue(); } }, - {"sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "seriesBy", n => { SeriesBy = n.GetStringValue(); } }, + { "sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.cs index 3b0f0445ee..ed5871a555 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetData { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetData +{ /// /// Provides operations to call the setData method. /// - public class SetDataRequestBuilder : BaseCliRequestBuilder + public class SetDataRequestBuilder : BaseCliRequestBuilder { /// /// Resets the source data for the chart. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.cs index f4527d2567..745b0df0a6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetPosition { - public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetPosition +{ + #pragma warning disable CS1591 + public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.cs index fa9d506d24..fda2bcae8c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetPosition { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.SetPosition +{ /// /// Provides operations to call the setPosition method. /// - public class SetPositionRequestBuilder : BaseCliRequestBuilder + public class SetPositionRequestBuilder : BaseCliRequestBuilder { /// /// Positions the chart relative to cells on the worksheet. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.cs index 14aaa0717e..ca6ecb95b3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChart entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of charttitle object. - /// Find more info here + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0"; + command.Description = "Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of charttitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of charttitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartTitle body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs index 3f3e5fcdb4..371a5f29c2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemAtWithIndex.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current chart. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.cs index 5da63bf12f..aafe80e2d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Axes { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Axes +{ /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. /// - public class AxesRequestBuilder : BaseCliRequestBuilder + public class AxesRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property axes for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.cs index 1db2d6a62c..021dce60d1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.DataLabels { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.DataLabels +{ /// /// Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. /// - public class DataLabelsRequestBuilder : BaseCliRequestBuilder + public class DataLabelsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property dataLabels for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartdatalabels object. - /// Find more info here + /// Represents the data labels on the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0"; + command.Description = "Represents the data labels on the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartdatalabels object. - /// Find more info here + /// Update the navigation property dataLabels in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartdatalabels object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property dataLabels in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartdatalabels object. + /// Update the navigation property dataLabels in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartDataLabels body return requestInfo; } /// - /// Retrieve the properties and relationships of chartdatalabels object. + /// Represents the data labels on the chart. Read-only. /// public class DataLabelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.cs index 98e7cd8a4a..4e4985548f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Format { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Format +{ /// /// Provides operations to manage the format property of the microsoft.graph.workbookChart entity. /// - public class FormatRequestBuilder : BaseCliRequestBuilder + public class FormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property format for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.cs index 9104ea7d3f..15b45c7ca5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Image { - public class ImageGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Image +{ + #pragma warning disable CS1591 + public class ImageGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.cs index a9c8a72382..06a02456ff 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Image { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Image +{ /// /// Provides operations to call the image method. /// - public class ImageRequestBuilder : BaseCliRequestBuilder + public class ImageRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.cs index bedd30592a..8de175ade0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidth { - public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidth +{ + #pragma warning disable CS1591 + public class ImageWithWidthGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.cs index 26135dade7..f43554d6cf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidth { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidth +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs index 06c6b442c1..781dbfaf27 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeight { - public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeight +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs index 0b941456fd..535f79ebf8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeight { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeight +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs index 2ce29b466f..3af7cfa5e2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeightWithFittingMode { - public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeightWithFittingMode +{ + #pragma warning disable CS1591 + public class ImageWithWidthWithHeightWithFittingModeGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs index 5f4188b4a6..ba18bc1488 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeightWithFittingMode { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.ImageWithWidthWithHeightWithFittingMode +{ /// /// Provides operations to call the image method. /// - public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder + public class ImageWithWidthWithHeightWithFittingModeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function image diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs index cd2a3c6a88..0d4a13c4be 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs @@ -27,11 +27,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName +{ /// /// Provides operations to call the item method. /// - public class ItemWithNameRequestBuilder : BaseCliRequestBuilder + public class ItemWithNameRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the axes property of the microsoft.graph.workbookChart entity. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.cs index 7106f7bbc4..459011ec66 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Legend { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Legend +{ /// /// Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. /// - public class LegendRequestBuilder : BaseCliRequestBuilder + public class LegendRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property legend for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chartlegend object. - /// Find more info here + /// Represents the legend for the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0"; + command.Description = "Represents the legend for the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of chartlegend object. - /// Find more info here + /// Update the navigation property legend in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of chartlegend object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property legend in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of chartlegend object. + /// Update the navigation property legend in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartLegend body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of chartlegend object. + /// Represents the legend for the chart. Read-only. /// public class LegendRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.cs index 2da25f3f6b..20794ba893 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Series { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Series +{ /// /// Provides operations to manage the series property of the microsoft.graph.workbookChart entity. /// - public class SeriesRequestBuilder : BaseCliRequestBuilder + public class SeriesRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of chartseries objects. - /// Find more info here + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of chartseries objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0"; + command.Description = "Represents either a single series or collection of series in the chart. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Use this API to create a new ChartSeries. - /// Find more info here + /// Create new navigation property to series for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Use this API to create a new ChartSeries.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0"; + command.Description = "Create new navigation property to series for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public SeriesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new ChartSeries. + /// Create new navigation property to series for drives /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(WorkbookChartSeries body, Act return requestInfo; } /// - /// Retrieve a list of chartseries objects. + /// Represents either a single series or collection of series in the chart. Read-only. /// public class SeriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.cs index 83ae3f5f04..f4659e88e3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetData { - public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetData +{ + #pragma warning disable CS1591 + public class SetDataPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"seriesBy", n => { SeriesBy = n.GetStringValue(); } }, - {"sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "seriesBy", n => { SeriesBy = n.GetStringValue(); } }, + { "sourceData", n => { SourceData = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.cs index 23b26cef76..fba14f281b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetData { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetData +{ /// /// Provides operations to call the setData method. /// - public class SetDataRequestBuilder : BaseCliRequestBuilder + public class SetDataRequestBuilder : BaseCliRequestBuilder { /// /// Resets the source data for the chart. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.cs index ce0aae4ef0..b6d4ebec20 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetPosition { - public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetPosition +{ + #pragma warning disable CS1591 + public class SetPositionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "endCell", n => { EndCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "startCell", n => { StartCell = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.cs index 7625431e2b..583df94ddd 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetPosition { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.SetPosition +{ /// /// Provides operations to call the setPosition method. /// - public class SetPositionRequestBuilder : BaseCliRequestBuilder + public class SetPositionRequestBuilder : BaseCliRequestBuilder { /// /// Positions the chart relative to cells on the worksheet. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilder.cs index 354baedb31..525f1c982c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Title { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Title +{ /// /// Provides operations to manage the title property of the microsoft.graph.workbookChart entity. /// - public class TitleRequestBuilder : BaseCliRequestBuilder + public class TitleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property title for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of charttitle object. - /// Find more info here + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0"; + command.Description = "Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of charttitle object. - /// Find more info here + /// Update the navigation property title in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of charttitle object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property title in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of charttitle object. + /// Update the navigation property title in drives /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookChartTitle body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of charttitle object. + /// Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. /// public class TitleRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.cs index 6811d33d91..24e2f23511 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Charts.ItemWithName.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current chart. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.cs index 5114cd1771..f20e2238db 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "reference", n => { Reference = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs index d58a68026a..af88b9363e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs index 58d2247fef..398c35c3c5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.AddFormulaLocal { - public class AddFormulaLocalPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.AddFormulaLocal +{ + #pragma warning disable CS1591 + public class AddFormulaLocalPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"formula", n => { Formula = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "formula", n => { Formula = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs index ec15109ca6..6b741a8ba8 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.AddFormulaLocal { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.AddFormulaLocal +{ /// /// Provides operations to call the addFormulaLocal method. /// - public class AddFormulaLocalRequestBuilder : BaseCliRequestBuilder + public class AddFormulaLocalRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs index 11d42c0489..a1cdf8597b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 24055392c9..97d6c9a23b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of range object. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs index c8864e9e3e..e9762756a0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item +{ /// /// Provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. /// - public class WorkbookNamedItemItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookNamedItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property names for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs index fa4802c452..1a24c285e1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs index e200b6f683..076d43cfa2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names +{ /// /// Provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. /// - public class NamesRequestBuilder : BaseCliRequestBuilder + public class NamesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addFormulaLocal method. @@ -155,14 +156,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of named item associated with the worksheet. - /// Find more info here + /// Returns collection of names that are associated with the worksheet. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of named item associated with the worksheet. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-list-names?view=graph-rest-1.0"; + command.Description = "Returns collection of names that are associated with the worksheet. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -256,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -282,7 +284,7 @@ public NamesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// Retrieve a list of named item associated with the worksheet. + /// Returns collection of names that are associated with the worksheet. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -322,7 +324,7 @@ public RequestInformation ToPostRequestInformation(WorkbookNamedItem body, Actio return requestInfo; } /// - /// Retrieve a list of named item associated with the worksheet. + /// Returns collection of names that are associated with the worksheet. Read-only. /// public class NamesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs index 640601557f..3774efcd2e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs index 3ee5ee8d4d..5f996dbd38 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item.Refresh { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item.Refresh +{ /// /// Provides operations to call the refresh method. /// - public class RefreshRequestBuilder : BaseCliRequestBuilder + public class RefreshRequestBuilder : BaseCliRequestBuilder { /// /// Refreshes the PivotTable. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs index a4e3d9b730..130073bdc7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item +{ /// /// Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. /// - public class WorkbookPivotTableItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookPivotTableItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property pivotTables for drives @@ -76,14 +77,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of workbookPivotTable object. - /// Find more info here + /// Collection of PivotTables that are part of the worksheet. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of workbookPivotTable object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbookpivottable-get?view=graph-rest-1.0"; + command.Description = "Collection of PivotTables that are part of the worksheet."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -283,7 +283,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of workbookPivotTable object. + /// Collection of PivotTables that are part of the worksheet. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -323,7 +323,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookPivotTable body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of workbookPivotTable object. + /// Collection of PivotTables that are part of the worksheet. /// public class WorkbookPivotTableItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs index c74b8fa2db..d09925620a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookPivotTable entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current PivotTable. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs index ff3e4b5694..a6ebc0c90e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables +{ /// /// Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. /// - public class PivotTablesRequestBuilder : BaseCliRequestBuilder + public class PivotTablesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. @@ -120,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of workbookpivottable objects. - /// Find more info here + /// Collection of PivotTables that are part of the worksheet. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of workbookpivottable objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbookworksheet-list-pivottables?view=graph-rest-1.0"; + command.Description = "Collection of PivotTables that are part of the worksheet."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -221,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -264,7 +266,7 @@ public PivotTablesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive { } /// - /// Retrieve a list of workbookpivottable objects. + /// Collection of PivotTables that are part of the worksheet. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -304,7 +306,7 @@ public RequestInformation ToPostRequestInformation(WorkbookPivotTable body, Acti return requestInfo; } /// - /// Retrieve a list of workbookpivottable objects. + /// Collection of PivotTables that are part of the worksheet. /// public class PivotTablesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs index f5be8783df..4fcdfce3f6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.RefreshAll { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.PivotTables.RefreshAll +{ /// /// Provides operations to call the refreshAll method. /// - public class RefreshAllRequestBuilder : BaseCliRequestBuilder + public class RefreshAllRequestBuilder : BaseCliRequestBuilder { /// /// Refreshes the PivotTable within a given worksheet. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.cs index defef646a8..765ba84b72 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Protect { - public class ProtectPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Protect +{ + #pragma warning disable CS1591 + public class ProtectPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"options", n => { Options = n.GetObjectValue(WorkbookWorksheetProtectionOptions.CreateFromDiscriminatorValue); } }, + { "options", n => { Options = n.GetObjectValue(WorkbookWorksheetProtectionOptions.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs index 8552df1280..13beaa22fa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Protect { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Protect +{ /// /// Provides operations to call the protect method. /// - public class ProtectRequestBuilder : BaseCliRequestBuilder + public class ProtectRequestBuilder : BaseCliRequestBuilder { /// /// Protect a worksheet. It throws if the worksheet has been protected. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs index bf63496479..0f7c0c4377 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection +{ /// /// Provides operations to manage the protection property of the microsoft.graph.workbookWorksheet entity. /// - public class ProtectionRequestBuilder : BaseCliRequestBuilder + public class ProtectionRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property protection for drives @@ -70,14 +71,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of worksheetprotection object. - /// Find more info here + /// Returns sheet protection object for a worksheet. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of worksheetprotection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheetprotection-get?view=graph-rest-1.0"; + command.Description = "Returns sheet protection object for a worksheet. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -265,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of worksheetprotection object. + /// Returns sheet protection object for a worksheet. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -305,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookWorksheetProtection return requestInfo; } /// - /// Retrieve the properties and relationships of worksheetprotection object. + /// Returns sheet protection object for a worksheet. Read-only. /// public class ProtectionRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs index 86ba0bb354..7e615f14d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Unprotect { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Protection.Unprotect +{ /// /// Provides operations to call the unprotect method. /// - public class UnprotectRequestBuilder : BaseCliRequestBuilder + public class UnprotectRequestBuilder : BaseCliRequestBuilder { /// /// Unprotect a worksheet diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs index 6e36cc829e..e9c7add446 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs index f8d96602b5..702b904409 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.RangeWithAddress { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.RangeWithAddress +{ /// /// Provides operations to call the range method. /// - public class RangeWithAddressRequestBuilder : BaseCliRequestBuilder + public class RangeWithAddressRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs index 25fb229a52..1142fb0b79 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"address", n => { Address = n.GetStringValue(); } }, - {"hasHeaders", n => { HasHeaders = n.GetBoolValue(); } }, + { "address", n => { Address = n.GetStringValue(); } }, + { "hasHeaders", n => { HasHeaders = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index f66056eb19..4c4bed7dae 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// - /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. - /// Find more info here + /// Use this API to create a new Table. + /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0"; + command.Description = "Use this API to create a new Table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -99,7 +100,7 @@ public AddRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/i { } /// - /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + /// Use this API to create a new Table. /// /// A /// The request body diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.cs index ad201f72be..a77f365fec 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs index b1dcbbfb66..d2cef7d2f7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs index cce32d28d6..f930e10fa9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ClearFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ClearFilters +{ /// /// Provides operations to call the clearFilters method. /// - public class ClearFiltersRequestBuilder : BaseCliRequestBuilder + public class ClearFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Clears all the filters currently applied on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.cs index a9be4d1532..904b854fa9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"index", n => { Index = n.GetIntValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "index", n => { Index = n.GetIntValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs index 9f7491e108..6d538e85ef 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds a new column to the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs index 677e49efed..151a6210c2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -78,14 +79,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new TableColumn. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new TableColumn.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -175,14 +175,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of tablecolumn objects. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of tablecolumn objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -282,7 +281,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -308,7 +309,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -327,7 +328,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new TableColumn. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -348,7 +349,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableColumn body, Act return requestInfo; } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.cs index 8707bede09..db2523e2aa 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs index df19f4b23d..9f61940a22 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index a97a9ab39d..fb6078f88a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs index 26af4ffafc..989a8000ed 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Apply { - public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Apply +{ + #pragma warning disable CS1591 + public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetObjectValue(WorkbookFilterCriteria.CreateFromDiscriminatorValue); } }, + { "criteria", n => { Criteria = n.GetObjectValue(WorkbookFilterCriteria.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs index a94349dd41..c92c3b4ec3 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Apply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Apply +{ /// /// Provides operations to call the apply method. /// - public class ApplyRequestBuilder : BaseCliRequestBuilder + public class ApplyRequestBuilder : BaseCliRequestBuilder { /// /// Apply the given filter criteria on the given column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs index 35c6f7393f..a53d9d5e3b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter { - public class ApplyBottomItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter +{ + #pragma warning disable CS1591 + public class ApplyBottomItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs index 4757bee34a..8994297672 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomItemsFilter +{ /// /// Provides operations to call the applyBottomItemsFilter method. /// - public class ApplyBottomItemsFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyBottomItemsFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyBottomItemsFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs index db2c0169c7..23d76905b1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter { - public class ApplyBottomPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter +{ + #pragma warning disable CS1591 + public class ApplyBottomPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"percent", n => { Percent = n.GetIntValue(); } }, + { "percent", n => { Percent = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs index 7dad00ba17..3bf3b4a342 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyBottomPercentFilter +{ /// /// Provides operations to call the applyBottomPercentFilter method. /// - public class ApplyBottomPercentFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyBottomPercentFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyBottomPercentFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs index 939341346e..0022f6fc8e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter { - public class ApplyCellColorFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter +{ + #pragma warning disable CS1591 + public class ApplyCellColorFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs index 45c690831f..85f22a5575 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCellColorFilter +{ /// /// Provides operations to call the applyCellColorFilter method. /// - public class ApplyCellColorFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyCellColorFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyCellColorFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs index 3635e9ce6f..5bcf6fce70 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCustomFilter { - public class ApplyCustomFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCustomFilter +{ + #pragma warning disable CS1591 + public class ApplyCustomFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria1", n => { Criteria1 = n.GetStringValue(); } }, - {"criteria2", n => { Criteria2 = n.GetStringValue(); } }, - {"oper", n => { Oper = n.GetStringValue(); } }, + { "criteria1", n => { Criteria1 = n.GetStringValue(); } }, + { "criteria2", n => { Criteria2 = n.GetStringValue(); } }, + { "oper", n => { Oper = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs index e53fe20ab8..5503dda703 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCustomFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyCustomFilter +{ /// /// Provides operations to call the applyCustomFilter method. /// - public class ApplyCustomFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyCustomFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyCustomFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs index eb3292769c..b8b27098ce 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter { - public class ApplyDynamicFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter +{ + #pragma warning disable CS1591 + public class ApplyDynamicFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"criteria", n => { Criteria = n.GetStringValue(); } }, + { "criteria", n => { Criteria = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs index b71a4ec1d6..65345d40eb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyDynamicFilter +{ /// /// Provides operations to call the applyDynamicFilter method. /// - public class ApplyDynamicFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyDynamicFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyDynamicFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs index 6f717052de..894330bfb4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter { - public class ApplyFontColorFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter +{ + #pragma warning disable CS1591 + public class ApplyFontColorFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"color", n => { Color = n.GetStringValue(); } }, + { "color", n => { Color = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs index 3a901a96e9..d2c74722a0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyFontColorFilter +{ /// /// Provides operations to call the applyFontColorFilter method. /// - public class ApplyFontColorFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyFontColorFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyFontColorFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs index 9075c3fb86..5279072901 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyIconFilter { - public class ApplyIconFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyIconFilter +{ + #pragma warning disable CS1591 + public class ApplyIconFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"icon", n => { Icon = n.GetObjectValue(WorkbookIcon.CreateFromDiscriminatorValue); } }, + { "icon", n => { Icon = n.GetObjectValue(WorkbookIcon.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs index a650c60170..d0ac8c58e6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyIconFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyIconFilter +{ /// /// Provides operations to call the applyIconFilter method. /// - public class ApplyIconFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyIconFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyIconFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs index ed85ac1f1a..ef26810a54 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter { - public class ApplyTopItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter +{ + #pragma warning disable CS1591 + public class ApplyTopItemsFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs index e86825a694..986478a7de 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopItemsFilter +{ /// /// Provides operations to call the applyTopItemsFilter method. /// - public class ApplyTopItemsFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyTopItemsFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyTopItemsFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs index 446d0b56e2..4791a69e8a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter { - public class ApplyTopPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter +{ + #pragma warning disable CS1591 + public class ApplyTopPercentFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"percent", n => { Percent = n.GetIntValue(); } }, + { "percent", n => { Percent = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs index b92d79da3b..a578d0fb98 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyTopPercentFilter +{ /// /// Provides operations to call the applyTopPercentFilter method. /// - public class ApplyTopPercentFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyTopPercentFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyTopPercentFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs index 3a7d9a7728..651bc56dbe 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyValuesFilter { - public class ApplyValuesFilterPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyValuesFilter +{ + #pragma warning disable CS1591 + public class ApplyValuesFilterPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs index e66ac3843f..fb55fd2de4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyValuesFilter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.ApplyValuesFilter +{ /// /// Provides operations to call the applyValuesFilter method. /// - public class ApplyValuesFilterRequestBuilder : BaseCliRequestBuilder + public class ApplyValuesFilterRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action applyValuesFilter diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs index 241d84e3d5..edbb8731e7 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clear the filter on the given column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs index e7ce536bfb..9108d0fd07 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs @@ -26,11 +26,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.Filter +{ /// /// Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. /// - public class FilterRequestBuilder : BaseCliRequestBuilder + public class FilterRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the applyBottomItemsFilter method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index f6c966915a..0554648cf2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the header row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs index 37f52967e9..38639a5440 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the entire column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index da824e1b50..a99bbb8770 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the totals row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs index 5849b6f579..351e750d63 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class WorkbookTableColumnItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableColumnItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the dataBodyRange method. @@ -43,14 +44,13 @@ public Command BuildDataBodyRangeNavCommand() return command; } /// - /// Deletes the column from the table. - /// Find more info here + /// Delete navigation property columns for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the column from the table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -139,14 +139,13 @@ public Command BuildFilterNavCommand() return command; } /// - /// Retrieve the properties and relationships of tablecolumn object. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablecolumn object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -233,14 +232,13 @@ public Command BuildHeaderRowRangeNavCommand() return command; } /// - /// Update the properties of tablecolumn object. - /// Find more info here + /// Update the navigation property columns in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of tablecolumn object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property columns in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -357,7 +355,7 @@ public WorkbookTableColumnItemRequestBuilder(string rawUrl) : base("{+baseurl}/d { } /// - /// Deletes the column from the table. + /// Delete navigation property columns for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -376,7 +374,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablecolumn object. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -395,7 +393,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of tablecolumn object. + /// Update the navigation property columns in drives /// /// A /// The request body @@ -416,7 +414,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableColumn body, Ac return requestInfo; } /// - /// Retrieve the properties and relationships of tablecolumn object. + /// Represents a collection of all the columns in the table. Read-only. /// public class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs index adb8ad41eb..e97833d73e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs index ce0860da9a..ab88b8af5b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.Filter { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.Filter +{ /// /// Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. /// - public class FilterRequestBuilder : BaseCliRequestBuilder + public class FilterRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property filter for drives diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index f253832785..14450dcbc2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the header row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index f8bdf146e0..19acbe8335 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the dataBodyRange method. @@ -62,13 +63,14 @@ public Command BuildFilterNavCommand() return command; } /// - /// Invoke function itemAt + /// Gets a column based on its position in the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Gets a column based on its position in the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -189,7 +191,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Gets a column based on its position in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index 8a6065852f..98dbde7583 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the entire column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs index 7d96f45265..8c48280733 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Columns.ItemAtWithIndex.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the totals row of the column. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs index b409537566..9a5fc4fc12 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ConvertToRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ConvertToRange +{ /// /// Provides operations to call the convertToRange method. /// - public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder + public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder { /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 835e70aece..a87951cb24 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 5564be1c42..c9739003a6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with header row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs index acad8b2327..c33e62db7f 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Get the range object associated with the entire table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 078c0a483e..df842cb36c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ReapplyFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.ReapplyFilters +{ /// /// Provides operations to call the reapplyFilters method. /// - public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder + public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies all the filters currently on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.cs index 7aa027eeac..8711376c6b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -45,8 +48,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"index", n => { Index = n.GetIntValue(); } }, - {"values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + { "index", n => { Index = n.GetIntValue(); } }, + { "values", n => { Values = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs index 09f992b9b7..7cc8a8b755 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Add { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.cs index 4becb499dd..bb1d015b84 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Count { - public class CountGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Count +{ + #pragma warning disable CS1591 + public class CountGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetIntValue(); } }, + { "value", n => { Value = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs index 011835006e..357ce15f1c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Count { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Count +{ /// /// Provides operations to call the count method. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function count diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs index 87d740a3de..431c6c776b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Item.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Item.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs index a259c8d1b4..825ac870e9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.Item +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class WorkbookTableRowItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableRowItemRequestBuilder : BaseCliRequestBuilder { /// - /// Deletes the row from the table. - /// Find more info here + /// Delete navigation property rows for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the row from the table.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -82,14 +82,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablerow object. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablerow object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -159,14 +158,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of tablerow object. - /// Find more info here + /// Update the navigation property rows in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of tablerow object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerow-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property rows in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -266,7 +264,7 @@ public WorkbookTableRowItemRequestBuilder(string rawUrl) : base("{+baseurl}/driv { } /// - /// Deletes the row from the table. + /// Delete navigation property rows for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +283,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablerow object. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -304,7 +302,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of tablerow object. + /// Update the navigation property rows in drives /// /// A /// The request body @@ -325,7 +323,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableRow body, Actio return requestInfo; } /// - /// Retrieve the properties and relationships of tablerow object. + /// Represents a collection of all the rows in the table. Read-only. /// public class WorkbookTableRowItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index eb5a6233ed..d059282ab9 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -15,20 +15,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function itemAt + /// Gets a row based on its position in the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function itemAt"; + command.Description = "Gets a row based on its position in the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -115,7 +117,7 @@ public ItemAtWithIndexRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{d { } /// - /// Invoke function itemAt + /// Gets a row based on its position in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index ee0483857f..cf64a57593 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function range diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs index 1d77ac3084..e5627b7053 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Rows +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class RowsRequestBuilder : BaseCliRequestBuilder + public class RowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -74,14 +75,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. - /// Find more info here + /// Create new navigation property to rows for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0"; + command.Description = "Create new navigation property to rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -167,14 +167,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of tablerow objects. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of tablerow objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -274,7 +273,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -300,7 +301,7 @@ public RowsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -319,7 +320,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. + /// Create new navigation property to rows for drives /// /// A /// The request body @@ -340,7 +341,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableRow body, Action return requestInfo; } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// public class RowsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index ab58e22462..1545f3de3b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Apply { - public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Apply +{ + #pragma warning disable CS1591 + public class ApplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fields", n => { Fields = n.GetCollectionOfObjectValues(WorkbookSortField.CreateFromDiscriminatorValue)?.ToList(); } }, - {"matchCase", n => { MatchCase = n.GetBoolValue(); } }, - {"method", n => { Method = n.GetStringValue(); } }, + { "fields", n => { Fields = n.GetCollectionOfObjectValues(WorkbookSortField.CreateFromDiscriminatorValue)?.ToList(); } }, + { "matchCase", n => { MatchCase = n.GetBoolValue(); } }, + { "method", n => { Method = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs index a7483e4414..838e72f03b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Apply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Apply +{ /// /// Provides operations to call the apply method. /// - public class ApplyRequestBuilder : BaseCliRequestBuilder + public class ApplyRequestBuilder : BaseCliRequestBuilder { /// /// Perform a sort operation. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs index c1af926c2b..d82dfd3eee 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Clear { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Clear +{ /// /// Provides operations to call the clear method. /// - public class ClearRequestBuilder : BaseCliRequestBuilder + public class ClearRequestBuilder : BaseCliRequestBuilder { /// /// Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs index 659100c7a4..df2f9a00b1 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Reapply { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort.Reapply +{ /// /// Provides operations to call the reapply method. /// - public class ReapplyRequestBuilder : BaseCliRequestBuilder + public class ReapplyRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies the current sorting parameters to the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs index 0650970222..ef90575091 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Sort +{ /// /// Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. /// - public class SortRequestBuilder : BaseCliRequestBuilder + public class SortRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the apply method. @@ -111,14 +112,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablesort object. - /// Find more info here + /// Represents the sorting for the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablesort object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0"; + command.Description = "Represents the sorting for the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -301,7 +301,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +341,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableSort body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// public class SortRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index cd0b4cda7d..137a089718 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with totals row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs index 05404cdc3d..72022921f4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item +{ /// /// Provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. /// - public class WorkbookTableItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookTableItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clearFilters method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs index e1c61bf8fa..558c3daccb 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.Item.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current table. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs index f12afe8c28..40871b77d6 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ClearFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ClearFilters +{ /// /// Provides operations to call the clearFilters method. /// - public class ClearFiltersRequestBuilder : BaseCliRequestBuilder + public class ClearFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Clears all the filters currently applied on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs index 91acfd2db6..f7bede02bf 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Columns { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of tablecolumn objects. - /// Find more info here + /// Represents a collection of all the columns in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of tablecolumn objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the columns in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Use this API to create a new TableColumn. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Use this API to create a new TableColumn.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new TableColumn. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableColumn body, Act return requestInfo; } /// - /// Retrieve a list of tablecolumn objects. + /// Represents a collection of all the columns in the table. Read-only. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs index 8f55c156de..598de977cc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ConvertToRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ConvertToRange +{ /// /// Provides operations to call the convertToRange method. /// - public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder + public class ConvertToRangeRequestBuilder : BaseCliRequestBuilder { /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs index 6e0f72753d..cecc73367c 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.DataBodyRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.DataBodyRange +{ /// /// Provides operations to call the dataBodyRange method. /// - public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder + public class DataBodyRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with the data body of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 571c250be0..3b00f4ae66 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.HeaderRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.HeaderRowRange +{ /// /// Provides operations to call the headerRowRange method. /// - public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder + public class HeaderRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with header row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 8d7b7d365c..6575dbded4 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex +{ /// /// Provides operations to call the itemAt method. /// - public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder + public class ItemAtWithIndexRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the clearFilters method. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs index 710275343f..6ff0ba7506 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/RangeNamespace/RangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.RangeNamespace { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.RangeNamespace +{ /// /// Provides operations to call the range method. /// - public class RangeRequestBuilder : BaseCliRequestBuilder + public class RangeRequestBuilder : BaseCliRequestBuilder { /// /// Get the range object associated with the entire table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 0fec65e223..5aadfd6e5d 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ReapplyFilters { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.ReapplyFilters +{ /// /// Provides operations to call the reapplyFilters method. /// - public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder + public class ReapplyFiltersRequestBuilder : BaseCliRequestBuilder { /// /// Reapplies all the filters currently on the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs index 2da766c9a0..92593dc47a 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Rows { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Rows +{ /// /// Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. /// - public class RowsRequestBuilder : BaseCliRequestBuilder + public class RowsRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve a list of tablerow objects. - /// Find more info here + /// Represents a collection of all the rows in the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of tablerow objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0"; + command.Description = "Represents a collection of all the rows in the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. - /// Find more info here + /// Create new navigation property to rows for drives /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0"; + command.Description = "Create new navigation property to rows for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public RowsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. + /// Create new navigation property to rows for drives /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTableRow body, Action return requestInfo; } /// - /// Retrieve a list of tablerow objects. + /// Represents a collection of all the rows in the table. Read-only. /// public class RowsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs index 39e0b69772..fc084b5443 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Sort { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Sort +{ /// /// Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. /// - public class SortRequestBuilder : BaseCliRequestBuilder + public class SortRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sort for drives @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of tablesort object. - /// Find more info here + /// Represents the sorting for the table. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of tablesort object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0"; + command.Description = "Represents the sorting for the table. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookTableSort body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of tablesort object. + /// Represents the sorting for the table. Read-only. /// public class SortRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs index 3f7b7f973e..1205355cbc 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.TotalRowRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.TotalRowRange +{ /// /// Provides operations to call the totalRowRange method. /// - public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder + public class TotalRowRangeRequestBuilder : BaseCliRequestBuilder { /// /// Gets the range object associated with totals row of the table. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs index a5df5aa359..fef3c56b4b 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Worksheet { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables.ItemAtWithIndex.Worksheet +{ /// /// Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. /// - public class WorksheetRequestBuilder : BaseCliRequestBuilder + public class WorksheetRequestBuilder : BaseCliRequestBuilder { /// /// The worksheet containing the current table. Read-only. diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs index f3dc112a06..f7d1fdcdf0 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Tables +{ /// /// Provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. /// - public class TablesRequestBuilder : BaseCliRequestBuilder + public class TablesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -180,14 +181,13 @@ public Command BuildItemAtWithIndexRbCommand() return command; } /// - /// Retrieve a list of table objects. - /// Find more info here + /// Collection of tables that are part of the worksheet. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of table objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-list-tables?view=graph-rest-1.0"; + command.Description = "Collection of tables that are part of the worksheet. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -281,7 +281,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -307,7 +309,7 @@ public TablesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Retrieve a list of table objects. + /// Collection of tables that are part of the worksheet. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -347,7 +349,7 @@ public RequestInformation ToPostRequestInformation(WorkbookTable body, Action - /// Retrieve a list of table objects. + /// Collection of tables that are part of the worksheet. Read-only. /// public class TablesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs index 75bdd5dd40..f76c3d519e 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.UsedRange { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.UsedRange +{ /// /// Provides operations to call the usedRange method. /// - public class UsedRangeRequestBuilder : BaseCliRequestBuilder + public class UsedRangeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function usedRange diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs index 0b35f2cb36..fe644cd0b2 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.UsedRangeWithValuesOnly { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.UsedRangeWithValuesOnly +{ /// /// Provides operations to call the usedRange method. /// - public class UsedRangeWithValuesOnlyRequestBuilder : BaseCliRequestBuilder + public class UsedRangeWithValuesOnlyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function usedRange diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs index 8f22033c50..61ee2a74a5 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item +{ /// /// Provides operations to manage the worksheets property of the microsoft.graph.workbook entity. /// - public class WorkbookWorksheetItemRequestBuilder : BaseCliRequestBuilder + public class WorkbookWorksheetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the cell method. @@ -78,14 +79,13 @@ public Command BuildChartsNavCommand() return command; } /// - /// Deletes the worksheet from the workbook. - /// Find more info here + /// Delete navigation property worksheets for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Deletes the worksheet from the workbook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property worksheets for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -126,14 +126,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of worksheet object. - /// Find more info here + /// Represents a collection of worksheets associated with the workbook. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of worksheet object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-get?view=graph-rest-1.0"; + command.Description = "Represents a collection of worksheets associated with the workbook. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -220,14 +219,13 @@ public Command BuildNamesNavCommand() return command; } /// - /// Update the properties of worksheet object. - /// Find more info here + /// Update the navigation property worksheets in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of worksheet object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/worksheet-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property worksheets in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -449,7 +447,7 @@ public WorkbookWorksheetItemRequestBuilder(string rawUrl) : base("{+baseurl}/dri { } /// - /// Deletes the worksheet from the workbook. + /// Delete navigation property worksheets for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -468,7 +466,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of worksheet object. + /// Represents a collection of worksheets associated with the workbook. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -487,7 +485,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of worksheet object. + /// Update the navigation property worksheets in drives /// /// A /// The request body @@ -508,7 +506,7 @@ public RequestInformation ToPatchRequestInformation(WorkbookWorksheet body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of worksheet object. + /// Represents a collection of worksheets associated with the workbook. Read-only. /// public class WorkbookWorksheetItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs index 934676da12..c2e33d5143 100644 --- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets { +namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets +{ /// /// Provides operations to manage the worksheets property of the microsoft.graph.workbook entity. /// - public class WorksheetsRequestBuilder : BaseCliRequestBuilder + public class WorksheetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -139,14 +140,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of worksheet objects. - /// Find more info here + /// Represents a collection of worksheets associated with the workbook. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of worksheet objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0"; + command.Description = "Represents a collection of worksheets associated with the workbook. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -234,7 +234,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +262,7 @@ public WorksheetsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive% { } /// - /// Retrieve a list of worksheet objects. + /// Represents a collection of worksheets associated with the workbook. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -300,7 +302,7 @@ public RequestInformation ToPostRequestInformation(WorkbookWorksheet body, Actio return requestInfo; } /// - /// Retrieve a list of worksheet objects. + /// Represents a collection of worksheets associated with the workbook. Read-only. /// public class WorksheetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Items/ItemsRequestBuilder.cs b/src/generated/Drives/Item/Items/ItemsRequestBuilder.cs index 615b86e77a..35839e09d6 100644 --- a/src/generated/Drives/Item/Items/ItemsRequestBuilder.cs +++ b/src/generated/Drives/Item/Items/ItemsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Items { +namespace ApiSdk.Drives.Item.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.drive entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.drive entity. @@ -136,13 +137,14 @@ public Command BuildCreateCommand() return command; } /// - /// All items contained in the drive. Read-only. Nullable. + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "All items contained in the drive. Read-only. Nullable."; + command.Description = "Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -224,7 +226,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +254,7 @@ public ItemsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// All items contained in the drive. Read-only. Nullable. + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -290,7 +294,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.DriveItem body, return requestInfo; } /// - /// All items contained in the drive. Read-only. Nullable. + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. /// public class ItemsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 66ab245c4a..dc9293348a 100644 --- a/src/generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.LastModifiedByUser { +namespace ApiSdk.Drives.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 4ccd52f106..1901ab417b 100644 --- a/src/generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 0ad75ae085..41de797a36 100644 --- a/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index c3b93d6e7e..bc0fbfe089 100644 --- a/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs index f87108e7a7..8d7a47adb5 100644 --- a/src/generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Columns { +namespace ApiSdk.Drives.Item.List.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -107,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. - /// Find more info here + /// The collection of field definitions for this list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of field definitions for this list."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -196,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -222,7 +223,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. + /// The collection of field definitions for this list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -262,7 +263,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. + /// The collection of field definitions for this list. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs index 6e0491bf4a..6da2665a08 100644 --- a/src/generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Columns.Count { +namespace ApiSdk.Drives.Item.List.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 9e265e69bf..d93a425f2c 100644 --- a/src/generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Columns.Item { +namespace ApiSdk.Drives.Item.List.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columns for drives diff --git a/src/generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index b1d9e82157..a25dde897f 100644 --- a/src/generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Columns.Item.SourceColumn { +namespace ApiSdk.Drives.Item.List.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyPostRequestBody.cs b/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyPostRequestBody.cs index 3aee2fc674..f8d2175605 100644 --- a/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyPostRequestBody.cs +++ b/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopy { - public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopy +{ + #pragma warning disable CS1591 + public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentType", n => { ContentType = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index 49a35c6193..8c1db6e6ae 100644 --- a/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopy { +namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopy +{ /// /// Provides operations to call the addCopy method. /// - public class AddCopyRequestBuilder : BaseCliRequestBuilder + public class AddCopyRequestBuilder : BaseCliRequestBuilder { /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add a copy of a [content type][contentType] from a [site][site] to a [list][list].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; + command.Description = "Add a copy of a content type from a site to a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -87,7 +88,7 @@ public AddCopyRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// /// A /// The request body diff --git a/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs b/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs index e7a11859f0..216a658cdd 100644 --- a/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs +++ b/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopyFromContentTypeHub { - public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopyFromContentTypeHub +{ + #pragma warning disable CS1591 + public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, + { "contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index c4991176b2..1661384ad4 100644 --- a/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopyFromContentTypeHub { +namespace ApiSdk.Drives.Item.List.ContentTypes.AddCopyFromContentTypeHub +{ /// /// Provides operations to call the addCopyFromContentTypeHub method. /// - public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder + public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder { /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs index 58ededbb3f..3bdf73ef4d 100644 --- a/src/generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes { +namespace ApiSdk.Drives.Item.List.ContentTypes +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.list entity. /// - public class ContentTypesRequestBuilder : BaseCliRequestBuilder + public class ContentTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addCopyFromContentTypeHub method. @@ -169,14 +170,13 @@ public Command BuildGetCompatibleHubContentTypesNavCommand() return command; } /// - /// Get the collection of [contentType][contentType] resources in a [list][]. - /// Find more info here + /// The collection of content types present in this list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [contentType][contentType] resources in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0"; + command.Description = "The collection of content types present in this list."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -258,7 +258,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -284,7 +286,7 @@ public ContentTypesRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{driv { } /// - /// Get the collection of [contentType][contentType] resources in a [list][]. + /// The collection of content types present in this list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -324,7 +326,7 @@ public RequestInformation ToPostRequestInformation(ContentType body, Action - /// Get the collection of [contentType][contentType] resources in a [list][]. + /// The collection of content types present in this list. /// public class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs index d9970a7e1b..f7292a9723 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Count { +namespace ApiSdk.Drives.Item.List.ContentTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs b/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs index 8e4c4c5362..7207ad53cb 100644 --- a/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs +++ b/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.GetCompatibleHubContentTypes { - public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.GetCompatibleHubContentTypes +{ + #pragma warning disable CS1591 + public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index c0f170c151..3e7f638340 100644 --- a/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.GetCompatibleHubContentTypes { +namespace ApiSdk.Drives.Item.List.ContentTypes.GetCompatibleHubContentTypes +{ /// /// Provides operations to call the getCompatibleHubContentTypes method. /// - public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder + public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getCompatibleHubContentTypes"; + command.Description = "Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public GetCompatibleHubContentTypesRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// public class GetCompatibleHubContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 930b703d46..422eeed68e 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.AssociateWithHubSites { - public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.AssociateWithHubSites +{ + #pragma warning disable CS1591 + public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, + { "hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index 0ebc679485..ddf8309b7d 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.AssociateWithHubSites { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.AssociateWithHubSites +{ /// /// Provides operations to call the associateWithHubSites method. /// - public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder + public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder { /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Associate a published [content type][contentType] present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; + command.Description = "Associate a published content type present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -82,7 +83,7 @@ public AssociateWithHubSitesRequestBuilder(string rawUrl) : base("{+baseurl}/dri { } /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// /// A /// The request body diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 1ab133d876..120d0ab060 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Base { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Base +{ /// /// Provides operations to manage the base property of the microsoft.graph.contentType entity. /// - public class BaseRequestBuilderEscaped : BaseCliRequestBuilder + public class BaseRequestBuilderEscaped : BaseCliRequestBuilder { /// /// Parent contentType from which this content type is derived. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index 6b526988b1..8cff436446 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class BaseTypesRequestBuilder : BaseCliRequestBuilder + public class BaseTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 6d55ef3079..7803b40194 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes.Count { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index f2149cfeb3..1cd1147e8c 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes.Item { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.BaseTypes.Item +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// The collection of content types that are ancestors of this content type. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index b0d92a9165..f4b01009e8 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinksRequestBuilder : BaseCliRequestBuilder + public class ColumnLinksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 36aeb9a4b4..aad5418efd 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks.Count { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index 342c6d34d7..fa77e9deac 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks.Item { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnLinks.Item +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder + public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columnLinks for drives diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 335aa97979..747c0a591d 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder + public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index c0c851f560..e903587bec 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions.Count { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index e9bf02f50a..51f0f56732 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions.Item { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.ColumnPositions.Item +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Column order information in a content type. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index 809966307b..9f5c857ad9 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -113,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -208,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +235,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for drives /// /// A /// The request body @@ -274,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 4b12470879..b339543a90 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Count { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 85c93e0ae2..ae37e84955 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Item { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. - /// Find more info here + /// Delete navigation property columns for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property columns for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -70,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -135,14 +134,13 @@ public Command BuildGetCommand() return command; } /// - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. - /// Find more info here + /// Update the navigation property columns in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property columns in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -230,7 +228,7 @@ public ColumnDefinitionItemRequestBuilder(string rawUrl) : base("{+baseurl}/driv { } /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. + /// Delete navigation property columns for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. + /// Update the navigation property columns in drives /// /// A /// The request body @@ -289,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(ColumnDefinition body, Actio return requestInfo; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// public class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 431d7302f6..d092cf3618 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Item.SourceColumn { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 1ca0fe029c..46f5189cfd 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.list entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the associateWithHubSites method. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs b/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs index e087179a41..c9939d1bba 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.CopyToDefaultContentLocation { - public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.CopyToDefaultContentLocation +{ + #pragma warning disable CS1591 + public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, - {"sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, + { "sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 2046f5237a..0f68e3fb74 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.CopyToDefaultContentLocation { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.CopyToDefaultContentLocation +{ /// /// Provides operations to call the copyToDefaultContentLocation method. /// - public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder + public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder { /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; + command.Description = "Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -82,7 +83,7 @@ public CopyToDefaultContentLocationRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// /// A /// The request body diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index a2eaeba173..443e8b28fe 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.IsPublished { - public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.IsPublished +{ + #pragma warning disable CS1591 + public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 608a120db8..da32546510 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.IsPublished { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.IsPublished +{ /// /// Provides operations to call the isPublished method. /// - public class IsPublishedRequestBuilder : BaseCliRequestBuilder + public class IsPublishedRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function isPublished"; + command.Description = "Check the publishing status of a contentType in a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -78,7 +80,7 @@ public IsPublishedRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive { } /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs index c646193b50..112288bab5 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Publish { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Publishes a [contentType][] present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; + command.Description = "Publishes a contentType present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -69,7 +70,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 244ad61395..0ca5abd27e 100644 --- a/src/generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Unpublish { +namespace ApiSdk.Drives.Item.List.ContentTypes.Item.Unpublish +{ /// /// Provides operations to call the unpublish method. /// - public class UnpublishRequestBuilder : BaseCliRequestBuilder + public class UnpublishRequestBuilder : BaseCliRequestBuilder { /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Unpublish a [contentType][] from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; + command.Description = "Unpublish a contentType from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -69,7 +70,7 @@ public UnpublishRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2 { } /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs index 808532996f..79267e4622 100644 --- a/src/generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.CreatedByUser { +namespace ApiSdk.Drives.Item.List.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index a5e30d2d0e..719acd9189 100644 --- a/src/generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.CreatedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.List.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 19333477a3..c6341a6c3d 100644 --- a/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.List.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 1570cb9612..9ee3d5fb9c 100644 --- a/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.List.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Drive/DriveRequestBuilder.cs b/src/generated/Drives/Item/List/Drive/DriveRequestBuilder.cs index aac14edb19..7e2d5e74c8 100644 --- a/src/generated/Drives/Item/List/Drive/DriveRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Drive { +namespace ApiSdk.Drives.Item.List.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.list entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// Allows access to the list as a drive resource with driveItems. Only present on document libraries. diff --git a/src/generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs index ced8a5d28b..c98fc59ca2 100644 --- a/src/generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Count { +namespace ApiSdk.Drives.Item.List.Items.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Items/Delta/DeltaGetResponse.cs b/src/generated/Drives/Item/List/Items/Delta/DeltaGetResponse.cs index b264136729..3a03b8e82b 100644 --- a/src/generated/Drives/Item/List/Items/Delta/DeltaGetResponse.cs +++ b/src/generated/Drives/Item/List/Items/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.Items.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Drives.Item.List.Items.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/Items/Delta/DeltaRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Delta/DeltaRequestBuilder.cs index 751d0e493e..1db22ff6c8 100644 --- a/src/generated/Drives/Item/List/Items/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Delta { +namespace ApiSdk.Drives.Item.List.Items.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did} { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs b/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs index 75b411927d..7359cb414e 100644 --- a/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs +++ b/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.Items.DeltaWithToken { - public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Drives.Item.List.Items.DeltaWithToken +{ + #pragma warning disable CS1591 + public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs b/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs index 6e81cf3032..3762d08804 100644 --- a/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.DeltaWithToken { +namespace ApiSdk.Drives.Item.List.Items.DeltaWithToken +{ /// /// Provides operations to call the delta method. /// - public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder + public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function delta @@ -114,7 +115,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs index e8db32d7b1..004209aeb9 100644 --- a/src/generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Analytics { +namespace ApiSdk.Drives.Item.List.Items.Item.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.listItem entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Analytics about the view activities that took place on this item. diff --git a/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 4f461555ab..e3c2113d15 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreateLink { - public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Drives.Item.List.Items.Item.CreateLink +{ + #pragma warning disable CS1591 + public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -81,14 +84,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"message", n => { Message = n.GetStringValue(); } }, - {"password", n => { Password = n.GetStringValue(); } }, - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, - {"scope", n => { Scope = n.GetStringValue(); } }, - {"sendNotification", n => { SendNotification = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + { "sendNotification", n => { SendNotification = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkRequestBuilder.cs index 7eaa9ec963..a17f91e89d 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreateLink { +namespace ApiSdk.Drives.Item.List.Items.Item.CreateLink +{ /// /// Provides operations to call the createLink method. /// - public class CreateLinkRequestBuilder : BaseCliRequestBuilder + public class CreateLinkRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action createLink diff --git a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 8d466486e5..89961c479c 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser { +namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 29fc0e0b14..a0c7554a64 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\items\{listItem-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 61245698b1..c9a7af7013 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index d43badac9f..9f5a332b47 100644 --- a/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.List.Items.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\items\{listItem-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index 1ebb8a9f21..395b65095c 100644 --- a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Count { +namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index 6277b163fa..2954c8de58 100644 --- a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions { +namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions +{ /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. /// - public class DocumentSetVersionsRequestBuilder : BaseCliRequestBuilder + public class DocumentSetVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. @@ -56,14 +57,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new version of a document set item in a list. - /// Find more info here + /// Create new navigation property to documentSetVersions for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new version of a document set item in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to documentSetVersions for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -114,14 +114,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the versions of a document set item in a list. - /// Find more info here + /// Version information for a document set version created by a user. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the versions of a document set item in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0"; + command.Description = "Version information for a document set version created by a user."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -209,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -235,7 +236,7 @@ public DocumentSetVersionsRequestBuilder(string rawUrl) : base("{+baseurl}/drive { } /// - /// Get a list of the versions of a document set item in a list. + /// Version information for a document set version created by a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -254,7 +255,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new version of a document set item in a list. + /// Create new navigation property to documentSetVersions for drives /// /// A /// The request body @@ -275,7 +276,7 @@ public RequestInformation ToPostRequestInformation(DocumentSetVersion body, Acti return requestInfo; } /// - /// Get a list of the versions of a document set item in a list. + /// Version information for a document set version created by a user. /// public class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index 236778fffd..205b1d0a9e 100644 --- a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item { +namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item +{ /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. /// - public class DocumentSetVersionItemRequestBuilder : BaseCliRequestBuilder + public class DocumentSetVersionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a version of a document set in a list. - /// Find more info here + /// Delete navigation property documentSetVersions for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a version of a document set in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property documentSetVersions for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -90,14 +90,13 @@ public Command BuildFieldsNavCommand() return command; } /// - /// Read the properties and relationships of a documentSetVersion object. - /// Find more info here + /// Version information for a document set version created by a user. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a documentSetVersion object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0"; + command.Description = "Version information for a document set version created by a user."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -249,7 +248,7 @@ public DocumentSetVersionItemRequestBuilder(string rawUrl) : base("{+baseurl}/dr { } /// - /// Delete a version of a document set in a list. + /// Delete navigation property documentSetVersions for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a documentSetVersion object. + /// Version information for a document set version created by a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -308,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(DocumentSetVersion body, Act return requestInfo; } /// - /// Read the properties and relationships of a documentSetVersion object. + /// Version information for a document set version created by a user. /// public class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index c9fe0696c7..c29a0ad861 100644 --- a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item.Fields { +namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for drives diff --git a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index b8c0866a45..82b58d732d 100644 --- a/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item.Restore { +namespace ApiSdk.Drives.Item.List.Items.Item.DocumentSetVersions.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a document set version. diff --git a/src/generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index d212631af9..96b93688f2 100644 --- a/src/generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DriveItem.Content { +namespace ApiSdk.Drives.Item.List.Items.Item.DriveItem.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var listItemIdOption = new Option("--list-item-id", description: "The unique identifier of listItem") { + }; + listItemIdOption.IsRequired = true; + command.AddOption(listItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var listItemId = invocationContext.ParseResult.GetValueForOption(listItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (listItemId is not null) requestInfo.PathParameters.Add("listItem%2Did", listItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -146,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs index cbeb1f8b53..74faf70c5a 100644 --- a/src/generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.DriveItem { +namespace ApiSdk.Drives.Item.List.Items.Item.DriveItem +{ /// /// Provides operations to manage the driveItem property of the microsoft.graph.listItem entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,13 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "For document libraries, the driveItem relationship exposes the listItem as a [driveItem][]"; + command.Description = "For document libraries, the driveItem relationship exposes the listItem as a driveItem"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -112,7 +114,7 @@ public DriveItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2 { } /// - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +133,7 @@ public RequestInformation ToGetRequestInformation(Action - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// public class DriveItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs index 9ae397de55..5247f98480 100644 --- a/src/generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Fields { +namespace ApiSdk.Drives.Item.List.Items.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItem entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for drives @@ -120,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties on a [listItem][]. - /// Find more info here + /// Update the navigation property fields in drives /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties on a [listItem][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property fields in drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -230,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties on a [listItem][]. + /// Update the navigation property fields in drives /// /// A /// The request body diff --git a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs index 01883f4a0c..567f20b323 100644 --- a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs +++ b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByInterval { - public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index 73e0ec3a5b..3199c425a9 100644 --- a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByInterval { +namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -114,7 +115,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs index d0c133aa5f..59afe50578 100644 --- a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs +++ b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index a88b2ecf5e..b464daf24d 100644 --- a/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { +namespace ApiSdk.Drives.Item.List.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -132,7 +133,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 33364bf59f..c8f901d3fb 100644 --- a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser { +namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index bccecb1cb5..d46b755306 100644 --- a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\items\{listItem-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 6471bd525f..2604ec793a 100644 --- a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 211193f87f..b3d5d5b2a4 100644 --- a/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.List.Items.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\items\{listItem-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs index 0694d42513..5ccbc0ae7c 100644 --- a/src/generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item { +namespace ApiSdk.Drives.Item.List.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.list entity. /// - public class ListItemItemRequestBuilder : BaseCliRequestBuilder + public class ListItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.listItem entity. @@ -89,14 +90,13 @@ public Command BuildCreateLinkNavCommand() return command; } /// - /// Removes an item from a [list][]. - /// Find more info here + /// Delete navigation property items for drives /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Removes an item from a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property items for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -234,14 +234,13 @@ public Command BuildGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithI return command; } /// - /// Returns the metadata for an [item][] in a [list][]. - /// Find more info here + /// All items contained in the list. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Returns the metadata for an [item][] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0"; + command.Description = "All items contained in the list."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -415,7 +414,7 @@ public ListItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{driv { } /// - /// Removes an item from a [list][]. + /// Delete navigation property items for drives /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -434,7 +433,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Returns the metadata for an [item][] in a [list][]. + /// All items contained in the list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -474,7 +473,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.ListItem body, return requestInfo; } /// - /// Returns the metadata for an [item][] in a [list][]. + /// All items contained in the list. /// public class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs index 694616212e..f95b7646c4 100644 --- a/src/generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Count { +namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index 1e99b1780c..e1f4def141 100644 --- a/src/generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item.Fields { +namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for drives diff --git a/src/generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index 3888fcbc25..3a8183f855 100644 --- a/src/generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item { +namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. /// - public class ListItemVersionItemRequestBuilder : BaseCliRequestBuilder + public class ListItemVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for drives @@ -89,14 +90,13 @@ public Command BuildFieldsNavCommand() return command; } /// - /// Retrieve the metadata for a specific version of a ListItem. - /// Find more info here + /// The list of previous versions of the list item. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a specific version of a ListItem.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the list item."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -267,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a specific version of a ListItem. + /// The list of previous versions of the list item. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -307,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(ListItemVersion body, Action return requestInfo; } /// - /// Retrieve the metadata for a specific version of a ListItem. + /// The list of previous versions of the list item. /// public class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index de656369f6..bd4ee368bb 100644 --- a/src/generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item.RestoreVersion { +namespace ApiSdk.Drives.Item.List.Items.Item.Versions.Item.RestoreVersion +{ /// /// Provides operations to call the restoreVersion method. /// - public class RestoreVersionRequestBuilder : BaseCliRequestBuilder + public class RestoreVersionRequestBuilder : BaseCliRequestBuilder { /// /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs index 88f68595aa..a06d48804a 100644 --- a/src/generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items.Item.Versions { +namespace ApiSdk.Drives.Item.List.Items.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. @@ -113,14 +114,13 @@ public Command BuildCreateCommand() return command; } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. - /// Find more info here + /// The list of previous versions of the list item. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the list item."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -208,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +236,7 @@ public VersionsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2D { } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. + /// The list of previous versions of the list item. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +276,7 @@ public RequestInformation ToPostRequestInformation(ListItemVersion body, Action< return requestInfo; } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. + /// The list of previous versions of the list item. /// public class VersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/List/Items/ItemsRequestBuilder.cs b/src/generated/Drives/Item/List/Items/ItemsRequestBuilder.cs index 598837b65c..8f97096e1a 100644 --- a/src/generated/Drives/Item/List/Items/ItemsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Items/ItemsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Items { +namespace ApiSdk.Drives.Item.List.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.list entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.list entity. @@ -66,14 +67,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new [listItem][] in a [list][]. - /// Find more info here + /// Create new navigation property to items for drives /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new [listItem][] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to items for drives"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -152,14 +152,13 @@ public Command BuildDeltaWithTokenRbCommand() return command; } /// - /// Get the collection of [items][item] in a [list][]. - /// Find more info here + /// All items contained in the list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [items][item] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0"; + command.Description = "All items contained in the list."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -180,6 +179,10 @@ public Command BuildListCommand() }; filterOption.IsRequired = false; command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); var orderbyOption = new Option("--orderby", description: "Order items by property values") { Arity = ArgumentArity.ZeroOrMore }; @@ -207,6 +210,7 @@ public Command BuildListCommand() var skip = invocationContext.ParseResult.GetValueForOption(skipOption); var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); var select = invocationContext.ParseResult.GetValueForOption(selectOption); var expand = invocationContext.ParseResult.GetValueForOption(expandOption); @@ -223,6 +227,7 @@ public Command BuildListCommand() q.QueryParameters.Skip = skip; if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; q.QueryParameters.Select = select; q.QueryParameters.Expand = expand; @@ -235,7 +240,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,18 +257,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ItemsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/drives/{drive%2Did}/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public ItemsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/drives/{drive%2Did}/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ItemsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public ItemsRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get the collection of [items][item] in a [list][]. + /// All items contained in the list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -280,7 +287,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [listItem][] in a [list][]. + /// Create new navigation property to items for drives /// /// A /// The request body @@ -301,10 +308,13 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.ListItem body, return requestInfo; } /// - /// Get the collection of [items][item] in a [list][]. + /// All items contained in the list. /// public class ItemsRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } /// Expand related entities #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable diff --git a/src/generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index a445ecbc55..7b63c80c83 100644 --- a/src/generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.LastModifiedByUser { +namespace ApiSdk.Drives.Item.List.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 954baabd84..18ab2bf263 100644 --- a/src/generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Drives.Item.List.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 18574a4224..38c2920783 100644 --- a/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Drives.Item.List.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index a43bee3368..b3f43987a1 100644 --- a/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Drives.Item.List.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \drives\{drive-id}\list\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/ListRequestBuilder.cs b/src/generated/Drives/Item/List/ListRequestBuilder.cs index 253678a11e..cf8274d056 100644 --- a/src/generated/Drives/Item/List/ListRequestBuilder.cs +++ b/src/generated/Drives/Item/List/ListRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List { +namespace ApiSdk.Drives.Item.List +{ /// /// Provides operations to manage the list property of the microsoft.graph.drive entity. /// - public class ListRequestBuilder : BaseCliRequestBuilder + public class ListRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. diff --git a/src/generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs index 32b3a050ab..efe4eb2d6f 100644 --- a/src/generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Operations.Count { +namespace ApiSdk.Drives.Item.List.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 4c8f5a5909..e46e9dd424 100644 --- a/src/generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Operations.Item { +namespace ApiSdk.Drives.Item.List.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. /// - public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder + public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for drives diff --git a/src/generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs b/src/generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs index 6ddfb5bdde..5ca34c00ad 100644 --- a/src/generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Operations { +namespace ApiSdk.Drives.Item.List.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs index 71cecec37a..70765b8dcb 100644 --- a/src/generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Subscriptions.Count { +namespace ApiSdk.Drives.Item.List.Subscriptions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index 37ada3fc63..80e9e2f42b 100644 --- a/src/generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Subscriptions.Item.Reauthorize { +namespace ApiSdk.Drives.Item.List.Subscriptions.Item.Reauthorize +{ /// /// Provides operations to call the reauthorize method. /// - public class ReauthorizeRequestBuilder : BaseCliRequestBuilder + public class ReauthorizeRequestBuilder : BaseCliRequestBuilder { /// /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index cfba2ba9af..ed3f5d90ec 100644 --- a/src/generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Subscriptions.Item { +namespace ApiSdk.Drives.Item.List.Subscriptions.Item +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. /// - public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder + public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property subscriptions for drives diff --git a/src/generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs b/src/generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs index e051c1e1ba..c2a723f745 100644 --- a/src/generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.List.Subscriptions { +namespace ApiSdk.Drives.Item.List.Subscriptions +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. /// - public class SubscriptionsRequestBuilder : BaseCliRequestBuilder + public class SubscriptionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Drives/Item/Recent/RecentGetResponse.cs b/src/generated/Drives/Item/Recent/RecentGetResponse.cs index 7e633b7a76..52c917ae72 100644 --- a/src/generated/Drives/Item/Recent/RecentGetResponse.cs +++ b/src/generated/Drives/Item/Recent/RecentGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.Recent { - public class RecentGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.Recent +{ + #pragma warning disable CS1591 + public class RecentGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/Recent/RecentRequestBuilder.cs b/src/generated/Drives/Item/Recent/RecentRequestBuilder.cs index 09da8390e5..9e795b3bcd 100644 --- a/src/generated/Drives/Item/Recent/RecentRequestBuilder.cs +++ b/src/generated/Drives/Item/Recent/RecentRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Recent { +namespace ApiSdk.Drives.Item.Recent +{ /// /// Provides operations to call the recent method. /// - public class RecentRequestBuilder : BaseCliRequestBuilder + public class RecentRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function recent + /// List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function recent"; + command.Description = "List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-recent?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public RecentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did { } /// - /// Invoke function recent + /// List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function recent + /// List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. /// public class RecentRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Root/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Root/Content/ContentRequestBuilder.cs index ce3594e15f..9e4f04aed2 100644 --- a/src/generated/Drives/Item/Root/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Root/Content/ContentRequestBuilder.cs @@ -14,21 +14,56 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Root.Content { +namespace ApiSdk.Drives.Item.Root.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream, if the item represents a file. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream, if the item represents a file. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream, if the item represents a file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-get?view=graph-rest-1.0"; + command.Description = "The content stream, if the item represents a file."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -135,6 +170,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Root/RootRequestBuilder.cs b/src/generated/Drives/Item/Root/RootRequestBuilder.cs index 43273a4c92..cd4e469c25 100644 --- a/src/generated/Drives/Item/Root/RootRequestBuilder.cs +++ b/src/generated/Drives/Item/Root/RootRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Root { +namespace ApiSdk.Drives.Item.Root +{ /// /// Provides operations to manage the root property of the microsoft.graph.drive entity. /// - public class RootRequestBuilder : BaseCliRequestBuilder + public class RootRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,14 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. - /// Find more info here + /// The root folder of the drive. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-get?view=graph-rest-1.0"; + command.Description = "The root folder of the drive. Read-only."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -107,7 +108,7 @@ public RootRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}/ { } /// - /// Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. + /// The root folder of the drive. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +127,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. + /// The root folder of the drive. Read-only. /// public class RootRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/SearchWithQ/SearchWithQGetResponse.cs b/src/generated/Drives/Item/SearchWithQ/SearchWithQGetResponse.cs index 5924456956..81fade58a8 100644 --- a/src/generated/Drives/Item/SearchWithQ/SearchWithQGetResponse.cs +++ b/src/generated/Drives/Item/SearchWithQ/SearchWithQGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.SearchWithQ { - public class SearchWithQGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.SearchWithQ +{ + #pragma warning disable CS1591 + public class SearchWithQGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs b/src/generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs index e72103582e..9e5eabc896 100644 --- a/src/generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs +++ b/src/generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.SearchWithQ { +namespace ApiSdk.Drives.Item.SearchWithQ +{ /// /// Provides operations to call the search method. /// - public class SearchWithQRequestBuilder : BaseCliRequestBuilder + public class SearchWithQRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function search"; + command.Description = "Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-search?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public SearchWithQRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive { } /// - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function search + /// Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. /// public class SearchWithQRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/SharedWithMe/SharedWithMeGetResponse.cs b/src/generated/Drives/Item/SharedWithMe/SharedWithMeGetResponse.cs index 723e805ad7..7c02c56bc6 100644 --- a/src/generated/Drives/Item/SharedWithMe/SharedWithMeGetResponse.cs +++ b/src/generated/Drives/Item/SharedWithMe/SharedWithMeGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Drives.Item.SharedWithMe { - public class SharedWithMeGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Drives.Item.SharedWithMe +{ + #pragma warning disable CS1591 + public class SharedWithMeGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs b/src/generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs index 3fbcddc64a..92737da2fe 100644 --- a/src/generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs +++ b/src/generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.SharedWithMe { +namespace ApiSdk.Drives.Item.SharedWithMe +{ /// /// Provides operations to call the sharedWithMe method. /// - public class SharedWithMeRequestBuilder : BaseCliRequestBuilder + public class SharedWithMeRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function sharedWithMe + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function sharedWithMe"; + command.Description = "Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-1.0"; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public SharedWithMeRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{driv { } /// - /// Invoke function sharedWithMe + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function sharedWithMe + /// Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. /// public class SharedWithMeRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Special/Count/CountRequestBuilder.cs b/src/generated/Drives/Item/Special/Count/CountRequestBuilder.cs index bce62dd461..a860b56cf5 100644 --- a/src/generated/Drives/Item/Special/Count/CountRequestBuilder.cs +++ b/src/generated/Drives/Item/Special/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Special.Count { +namespace ApiSdk.Drives.Item.Special.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs b/src/generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs index 101c244131..5422b2e820 100644 --- a/src/generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Special.Item.Content { +namespace ApiSdk.Drives.Item.Special.Item.Content +{ /// /// Provides operations to manage the media for the drive entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { + }; + driveIdOption.IsRequired = true; + command.AddOption(driveIdOption); + var driveItemIdOption = new Option("--drive-item-id", description: "The unique identifier of driveItem") { + }; + driveItemIdOption.IsRequired = true; + command.AddOption(driveItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var driveId = invocationContext.ParseResult.GetValueForOption(driveIdOption); + var driveItemId = invocationContext.ParseResult.GetValueForOption(driveItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (driveId is not null) requestInfo.PathParameters.Add("drive%2Did", driveId); + if (driveItemId is not null) requestInfo.PathParameters.Add("driveItem%2Did", driveItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -146,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs b/src/generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs index 16eae237ec..cf6e8b09cd 100644 --- a/src/generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs +++ b/src/generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Special.Item { +namespace ApiSdk.Drives.Item.Special.Item +{ /// /// Provides operations to manage the special property of the microsoft.graph.drive entity. /// - public class DriveItemItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the drive entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the drive entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,14 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. - /// Find more info here + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/drive-get-specialfolder?view=graph-rest-1.0"; + command.Description = "Collection of common folders available in OneDrive. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -113,7 +114,7 @@ public DriveItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{dri { } /// - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -132,7 +133,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// public class DriveItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Drives/Item/Special/SpecialRequestBuilder.cs b/src/generated/Drives/Item/Special/SpecialRequestBuilder.cs index a0d39a035f..3bcc8213ad 100644 --- a/src/generated/Drives/Item/Special/SpecialRequestBuilder.cs +++ b/src/generated/Drives/Item/Special/SpecialRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Drives.Item.Special { +namespace ApiSdk.Drives.Item.Special +{ /// /// Provides operations to manage the special property of the microsoft.graph.drive entity. /// - public class SpecialRequestBuilder : BaseCliRequestBuilder + public class SpecialRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the special property of the microsoft.graph.drive entity. @@ -53,13 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again."; + command.Description = "Collection of common folders available in OneDrive. Read-only. Nullable."; var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") { }; driveIdOption.IsRequired = true; @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -167,7 +170,7 @@ public SpecialRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Di { } /// - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -186,7 +189,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. + /// Collection of common folders available in OneDrive. Read-only. Nullable. /// public class SpecialRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/ClassesRequestBuilder.cs b/src/generated/Education/Classes/ClassesRequestBuilder.cs index b77185b43f..770b2b7117 100644 --- a/src/generated/Education/Classes/ClassesRequestBuilder.cs +++ b/src/generated/Education/Classes/ClassesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes { +namespace ApiSdk.Education.Classes +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationRoot entity. /// - public class ClassesRequestBuilder : BaseCliRequestBuilder + public class ClassesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the classes property of the microsoft.graph.educationRoot entity. @@ -210,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Count/CountRequestBuilder.cs index 037794d794..3b23269ff5 100644 --- a/src/generated/Education/Classes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Count { +namespace ApiSdk.Education.Classes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Delta/DeltaGetResponse.cs b/src/generated/Education/Classes/Delta/DeltaGetResponse.cs index 26038c632f..8b574f1ec8 100644 --- a/src/generated/Education/Classes/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Classes/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Classes.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Classes.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Classes/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Classes/Delta/DeltaRequestBuilder.cs index 7ab438dd67..53b2a21ac3 100644 --- a/src/generated/Education/Classes/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Classes/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Delta { +namespace ApiSdk.Education.Classes.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationclass-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/d { } /// - /// Invoke function delta + /// Get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs index 6150ac2d90..c419a88a72 100644 --- a/src/generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentCategories { +namespace ApiSdk.Education.Classes.Item.AssignmentCategories +{ /// /// Provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. /// - public class AssignmentCategoriesRequestBuilder : BaseCliRequestBuilder + public class AssignmentCategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. @@ -212,7 +213,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs index a720c31d61..535afda73f 100644 --- a/src/generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Count { +namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaGetResponse.cs b/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaGetResponse.cs index b94e862ac6..0fa2cf49a7 100644 --- a/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs index 53e13fb6c3..d6d2fb4a52 100644 --- a/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Delta { +namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-1.0"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ { } /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs index 50e26a5103..2f42ceb292 100644 --- a/src/generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Item { +namespace ApiSdk.Education.Classes.Item.AssignmentCategories.Item +{ /// /// Provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. /// - public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder + public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an existing category. Only teachers can perform this operation. diff --git a/src/generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs index 99f01fa908..a5e16a05ac 100644 --- a/src/generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentDefaults { +namespace ApiSdk.Education.Classes.Item.AssignmentDefaults +{ /// /// Provides operations to manage the assignmentDefaults property of the microsoft.graph.educationClass entity. /// - public class AssignmentDefaultsRequestBuilder : BaseCliRequestBuilder + public class AssignmentDefaultsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignmentDefaults for education diff --git a/src/generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs index 7c4330aeb3..6c189c6f8e 100644 --- a/src/generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentSettings { +namespace ApiSdk.Education.Classes.Item.AssignmentSettings +{ /// /// Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity. /// - public class AssignmentSettingsRequestBuilder : BaseCliRequestBuilder + public class AssignmentSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignmentSettings for education diff --git a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Count/CountRequestBuilder.cs index 015dc16ddb..c8b1cc5928 100644 --- a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories.Count { +namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/GradingCategoriesRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/GradingCategoriesRequestBuilder.cs index 20dc397a44..bb2e69738a 100644 --- a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/GradingCategoriesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/GradingCategoriesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories { +namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories +{ /// /// Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. /// - public class GradingCategoriesRequestBuilder : BaseCliRequestBuilder + public class GradingCategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.cs b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.cs index 56bfc5cf3d..fe7ad9cd72 100644 --- a/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories.Item { +namespace ApiSdk.Education.Classes.Item.AssignmentSettings.GradingCategories.Item +{ /// /// Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. /// - public class EducationGradingCategoryItemRequestBuilder : BaseCliRequestBuilder + public class EducationGradingCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property gradingCategories for education @@ -120,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property gradingCategories in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationgradingcategory-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property gradingCategories in education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -230,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. + /// Update the navigation property gradingCategories in education /// /// A /// The request body diff --git a/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs index 75952eb440..b4d36d1cca 100644 --- a/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments { +namespace ApiSdk.Education.Classes.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationClass entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.educationClass entity. @@ -223,7 +224,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs index 3d127500a0..d2a8052560 100644 --- a/src/generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Delta/DeltaGetResponse.cs b/src/generated/Education/Classes/Item/Assignments/Delta/DeltaGetResponse.cs index a9747ac753..fe9d2a2b87 100644 --- a/src/generated/Education/Classes/Item/Assignments/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Classes/Item/Assignments/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Classes.Item.Assignments.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs index b23f98db8a..b5f79d6cba 100644 --- a/src/generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Delta { +namespace ApiSdk.Education.Classes.Item.Assignments.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-1.0"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ { } /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs index 16fd7b65bd..33cf509f88 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Activate { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Activate +{ /// /// Provides operations to call the activate method. /// - public class ActivateRequestBuilder : BaseCliRequestBuilder + public class ActivateRequestBuilder : BaseCliRequestBuilder { /// /// Activate an inactive educationAssignment to signal that the assignment has further action items for teachers or students. This action can only be performed by a teacher on currently inactive assignments. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs index 0b47f7f81a..864eab097f 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.educationAssignment entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.classes.item.assignments.item.categories.item collection @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property to categories for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property to categories for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -223,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -268,7 +269,7 @@ public CategoriesRequestBuilder(string rawUrl) : base("{+baseurl}/education/clas { } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +288,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property to categories for education /// /// A /// The request body @@ -308,7 +309,7 @@ public RequestInformation ToPostRequestInformation(EducationCategory body, Actio return requestInfo; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 4d29606c7e..5af5121827 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs index 5b2b5baa38..c55a5bf217 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index da0115f1d6..65ebbf9ba2 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Delta { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-1.0"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ { } /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs index b545b05e7c..97d3a2d342 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Item +{ /// /// Builds and executes requests for operations under \education\classes\{educationClass-id}\assignments\{educationAssignment-id}\categories\{educationCategory-id} /// - public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder + public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index d8829c2a46..461a2045ca 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -13,21 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Item.Ref { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -82,7 +82,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ed { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index fc10e6eca9..119bb6056a 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Ref { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Categories.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -150,7 +149,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -162,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property ref to categories for education /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property ref to categories for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -224,7 +224,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ed { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +262,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property ref to categories for education /// /// A /// The request body @@ -283,7 +283,7 @@ public RequestInformation ToPostRequestInformation(ReferenceCreate body, Action< return requestInfo; } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// public class RefRequestBuilderDeleteQueryParameters { @@ -299,7 +299,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs index 8b5ac243c5..22184c4dd1 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Deactivate { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Deactivate +{ /// /// Provides operations to call the deactivate method. /// - public class DeactivateRequestBuilder : BaseCliRequestBuilder + public class DeactivateRequestBuilder : BaseCliRequestBuilder { /// /// Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index 5cc9bc7afe..60327d1f4a 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationClass entity. /// - public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the activate method. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs index 14fbe40869..5e1b15801e 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.GradingCategory { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.GradingCategory +{ /// /// Provides operations to manage the gradingCategory property of the microsoft.graph.educationAssignment entity. /// - public class GradingCategoryRequestBuilder : BaseCliRequestBuilder + public class GradingCategoryRequestBuilder : BaseCliRequestBuilder { /// /// When set, enables users to weight assignments differently when computing a class average grade. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs index 7e08468b20..e4c393cf0a 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Publish { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs index 6eb4b62c1c..e527dfd261 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index 96fd4b5548..6d8f6b5783 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -211,7 +210,7 @@ public EducationAssignmentResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(EducationAssignmentResource return requestInfo; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs index fd381f7c61..ec21b68e76 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-resource?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/class { } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationAssignmentResource b return requestInfo; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index cb7c8f10b7..b293933e19 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Rubric.Ref { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Rubric.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete ref of navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property rubric for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -100,14 +99,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the ref of navigation property rubric in education /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the ref of navigation property rubric in education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -162,7 +160,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{ed { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete ref of navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +179,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +198,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the ref of navigation property rubric in education /// /// A /// The request body diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs index d7de112402..c129df328f 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Rubric { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Rubric +{ /// /// Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity. /// - public class RubricRequestBuilder : BaseCliRequestBuilder + public class RubricRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete navigation property rubric for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -64,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -123,14 +122,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property rubric in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the navigation property rubric in education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -214,7 +212,7 @@ public RubricRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/ { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -233,7 +231,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -252,7 +250,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the navigation property rubric in education /// /// A /// The request body @@ -273,7 +271,7 @@ public RequestInformation ToPatchRequestInformation(EducationRubric body, Action return requestInfo; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// public class RubricRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index e68515ec4d..037cadad5a 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.SetUpFeedbackResourcesFolder { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.SetUpFeedbackResourcesFolder +{ /// /// Provides operations to call the setUpFeedbackResourcesFolder method. /// - public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 5df0009550..1691482860 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index 06cb136794..7e2c4368b5 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index 028b33ba69..141c5124ad 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -1,4 +1,5 @@ // +using ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Excuse; using ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes; using ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Reassign; using ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources; @@ -22,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submissions for education @@ -76,14 +78,30 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. - /// Find more info here + /// Provides operations to call the excuse method. + /// + /// A + public Command BuildExcuseNavCommand() + { + var command = new Command("excuse"); + command.Description = "Provides operations to call the excuse method."; + var builder = new ExcuseRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildPostCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -403,7 +421,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -443,7 +461,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmission body, Ac return requestInfo; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs new file mode 100644 index 0000000000..e1f5b9d29a --- /dev/null +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs @@ -0,0 +1,109 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Excuse +{ + /// + /// Provides operations to call the excuse method. + /// + public class ExcuseRequestBuilder : BaseCliRequestBuilder + { + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// Find more info here + /// + /// A + public Command BuildPostCommand() + { + var command = new Command("post"); + command.Description = "Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0"; + var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { + }; + educationClassIdOption.IsRequired = true; + command.AddOption(educationClassIdOption); + var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { + }; + educationAssignmentIdOption.IsRequired = true; + command.AddOption(educationAssignmentIdOption); + var educationSubmissionIdOption = new Option("--education-submission-id", description: "The unique identifier of educationSubmission") { + }; + educationSubmissionIdOption.IsRequired = true; + command.AddOption(educationSubmissionIdOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var educationClassId = invocationContext.ParseResult.GetValueForOption(educationClassIdOption); + var educationAssignmentId = invocationContext.ParseResult.GetValueForOption(educationAssignmentIdOption); + var educationSubmissionId = invocationContext.ParseResult.GetValueForOption(educationSubmissionIdOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToPostRequestInformation(q => { + }); + if (educationClassId is not null) requestInfo.PathParameters.Add("educationClass%2Did", educationClassId); + if (educationAssignmentId is not null) requestInfo.PathParameters.Add("educationAssignment%2Did", educationAssignmentId); + if (educationSubmissionId is not null) requestInfo.PathParameters.Add("educationSubmission%2Did", educationSubmissionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public ExcuseRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public ExcuseRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", rawUrl) + { + } + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + } +} diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index 0d677c5747..bcb9728b0b 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index d4839b4b4d..6ed1f1b423 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes.Item +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder + public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. - /// Find more info here + /// Delete navigation property outcomes for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a feedback resource from a submission. This can only be done by a teacher.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property outcomes for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property outcomes in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an educationOutcome object. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property outcomes in education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -229,7 +228,7 @@ public EducationOutcomeItemRequestBuilder(string rawUrl) : base("{+baseurl}/educ { } /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. + /// Delete navigation property outcomes for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. + /// Update the navigation property outcomes in education /// /// A /// The request body diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index 1c8e1c85ca..09a890d209 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Outcomes +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class OutcomesRequestBuilder : BaseCliRequestBuilder + public class OutcomesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to outcomes for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to outcomes for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. - /// Find more info here + /// Get outcomes from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0"; + command.Description = "Get outcomes from education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -218,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -244,7 +245,7 @@ public OutcomesRequestBuilder(string rawUrl) : base("{+baseurl}/education/classe { } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +264,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. + /// Create new navigation property to outcomes for education /// /// A /// The request body @@ -284,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationOutcome body, Action return requestInfo; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// public class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index ae362d89ef..0cb24debf0 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Reassign { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Reassign +{ /// /// Provides operations to call the reassign method. /// - public class ReassignRequestBuilder : BaseCliRequestBuilder + public class ReassignRequestBuilder : BaseCliRequestBuilder { /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index c5b19a497a..1b6cdf2a17 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index efaa587957..56f002da7a 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -75,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. - /// Find more info here + /// Get resources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -229,7 +228,7 @@ public EducationSubmissionResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index 1550e047b8..8b2a4e84b8 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. - /// Find more info here + /// Get resources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -218,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -244,7 +245,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/class { } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +264,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -284,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index f5d58f1b16..2013f72e87 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Return { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Return +{ /// /// Provides operations to call the return method. /// - public class ReturnRequestBuilder : BaseCliRequestBuilder + public class ReturnRequestBuilder : BaseCliRequestBuilder { /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index d62b896714..ce19f4b2e9 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index ecc78c01e8..2b7f30463d 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Submit { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Submit +{ /// /// Provides operations to call the submit method. /// - public class SubmitRequestBuilder : BaseCliRequestBuilder + public class SubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index 6b30e7c19e..ded6230fa8 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources.Count { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 089ee81e8c..ae053aa578 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources.Item { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources.Item +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submittedResources for education @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmittedsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index 9cbde55503..f7676697be 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.SubmittedResources +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder + public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. @@ -116,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-submittedresources?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -217,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -243,7 +245,7 @@ public SubmittedResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/educat { } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -283,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// public class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index ce91d1e4c2..7c37c8e865 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Unsubmit { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions.Item.Unsubmit +{ /// /// Provides operations to call the unsubmit method. /// - public class UnsubmitRequestBuilder : BaseCliRequestBuilder + public class UnsubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index 7dee5ebef0..5cdc7fb9d7 100644 --- a/src/generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions { +namespace ApiSdk.Education.Classes.Item.Assignments.Item.Submissions +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class SubmissionsRequestBuilder : BaseCliRequestBuilder + public class SubmissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. @@ -32,6 +33,7 @@ public Tuple, List> BuildCommand() var commands = new List(); var builder = new EducationSubmissionItemRequestBuilder(PathParameters); executables.Add(builder.BuildDeleteCommand()); + commands.Add(builder.BuildExcuseNavCommand()); executables.Add(builder.BuildGetCommand()); commands.Add(builder.BuildOutcomesNavCommand()); executables.Add(builder.BuildPatchCommand()); @@ -119,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. - /// Find more info here + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -214,7 +215,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -240,7 +243,7 @@ public SubmissionsRequestBuilder(string rawUrl) : base("{+baseurl}/education/cla { } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -280,7 +283,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmission body, Act return requestInfo; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs index 46eedcf9f5..a10d5ae2e6 100644 --- a/src/generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item { +namespace ApiSdk.Education.Classes.Item +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationRoot entity. /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. diff --git a/src/generated/Education/Classes/Item/Group/GroupRequestBuilder.cs b/src/generated/Education/Classes/Item/Group/GroupRequestBuilder.cs index ba4c3ea9dc..8e81ea8183 100644 --- a/src/generated/Education/Classes/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Group { +namespace ApiSdk.Education.Classes.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.educationClass entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// The underlying Microsoft 365 group object. diff --git a/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 29de1be27c..d9483af04d 100644 --- a/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.Education.Classes.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e1f5dfaac8..d9a879dff4 100644 --- a/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.Education.Classes.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \education\classes\{educationClass-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs index 73005c6504..432b0e1274 100644 --- a/src/generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Members.Count { +namespace ApiSdk.Education.Classes.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Members/Item/EducationUserItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Members/Item/EducationUserItemRequestBuilder.cs index 009e563ab8..88a84e65af 100644 --- a/src/generated/Education/Classes/Item/Members/Item/EducationUserItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Members/Item/EducationUserItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Classes.Item.Members.Item { +namespace ApiSdk.Education.Classes.Item.Members.Item +{ /// /// Builds and executes requests for operations under \education\classes\{educationClass-id}\members\{educationUser-id} /// - public class EducationUserItemRequestBuilder : BaseCliRequestBuilder + public class EducationUserItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs index c275154567..a0ef770e52 100644 --- a/src/generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Members.Item.Ref { +namespace ApiSdk.Education.Classes.Item.Members.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an educationUser from an educationClass. diff --git a/src/generated/Education/Classes/Item/Members/MembersRequestBuilder.cs b/src/generated/Education/Classes/Item/Members/MembersRequestBuilder.cs index 93fc2cb657..0ffc7c8576 100644 --- a/src/generated/Education/Classes/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Members/MembersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Members { +namespace ApiSdk.Education.Classes.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.educationClass entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.classes.item.members.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs index 636d43c0dd..236befd905 100644 --- a/src/generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Members.Ref { +namespace ApiSdk.Education.Classes.Item.Members.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an educationUser from an educationClass. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Modules/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Count/CountRequestBuilder.cs index fc5aa24e1d..b43b7c4649 100644 --- a/src/generated/Education/Classes/Item/Modules/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Count { +namespace ApiSdk.Education.Classes.Item.Modules.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Modules/Item/EducationModuleItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/EducationModuleItemRequestBuilder.cs index ad00570458..ce6c41a2cc 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/EducationModuleItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/EducationModuleItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item { +namespace ApiSdk.Education.Classes.Item.Modules.Item +{ /// /// Provides operations to manage the modules property of the microsoft.graph.educationClass entity. /// - public class EducationModuleItemRequestBuilder : BaseCliRequestBuilder + public class EducationModuleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an existing module in a class. Only teachers within a class can delete modules. diff --git a/src/generated/Education/Classes/Item/Modules/Item/Pin/PinRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Pin/PinRequestBuilder.cs index 4dbb5b424b..e4a9de8c53 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Pin/PinRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Pin/PinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Pin { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Pin +{ /// /// Provides operations to call the pin method. /// - public class PinRequestBuilder : BaseCliRequestBuilder + public class PinRequestBuilder : BaseCliRequestBuilder { /// /// Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list. diff --git a/src/generated/Education/Classes/Item/Modules/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Publish/PublishRequestBuilder.cs index 26142a8d7a..36b196becf 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Publish/PublishRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Publish { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// /// Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students can't see the module. When you call this API, the module appears in the student's class work list. diff --git a/src/generated/Education/Classes/Item/Modules/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Resources/Count/CountRequestBuilder.cs index 91377e7f3f..2b1e19bb65 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources.Count { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.cs index fa941a33cb..a30f0cf427 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources.Item { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationModule entity. /// - public class EducationModuleResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationModuleResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationmoduleresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this module. Only teachers can modify this list. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -134,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. - /// Find more info here + /// Update the navigation property resources in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationmoduleresource-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property resources in education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -212,7 +210,7 @@ public EducationModuleResourceItemRequestBuilder(string rawUrl) : base("{+baseur { } /// - /// Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -250,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. + /// Update the navigation property resources in education /// /// A /// The request body @@ -271,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(EducationModuleResource body return requestInfo; } /// - /// Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// public class EducationModuleResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.cs index 2a680d2dd1..7c57c77e2f 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationModule entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationModule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationmodule-post-resources?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this module. Only teachers can modify this list. Nullable."; var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") { }; educationClassIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/class { } /// - /// Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationModuleResource body, return requestInfo; } /// - /// Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this module. Only teachers can modify this list. Nullable. /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Classes/Item/Modules/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index c5789b18d8..e6d4373171 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Classes.Item.Modules.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module. diff --git a/src/generated/Education/Classes/Item/Modules/Item/Unpin/UnpinRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/Item/Unpin/UnpinRequestBuilder.cs index 9ac5fde27c..101a0aaeb8 100644 --- a/src/generated/Education/Classes/Item/Modules/Item/Unpin/UnpinRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/Item/Unpin/UnpinRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules.Item.Unpin { +namespace ApiSdk.Education.Classes.Item.Modules.Item.Unpin +{ /// /// Provides operations to call the unpin method. /// - public class UnpinRequestBuilder : BaseCliRequestBuilder + public class UnpinRequestBuilder : BaseCliRequestBuilder { /// /// Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation. diff --git a/src/generated/Education/Classes/Item/Modules/ModulesRequestBuilder.cs b/src/generated/Education/Classes/Item/Modules/ModulesRequestBuilder.cs index bc07f7db79..d5e60362af 100644 --- a/src/generated/Education/Classes/Item/Modules/ModulesRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Modules/ModulesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Modules { +namespace ApiSdk.Education.Classes.Item.Modules +{ /// /// Provides operations to manage the modules property of the microsoft.graph.educationClass entity. /// - public class ModulesRequestBuilder : BaseCliRequestBuilder + public class ModulesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the modules property of the microsoft.graph.educationClass entity. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs index 5ceac316a0..75c019afff 100644 --- a/src/generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Schools.Count { +namespace ApiSdk.Education.Classes.Item.Schools.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs index 947fd4b047..a06774873d 100644 --- a/src/generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Schools.Item { +namespace ApiSdk.Education.Classes.Item.Schools.Item +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationClass entity. /// - public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder + public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder { /// /// All schools that this class is associated with. Nullable. diff --git a/src/generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs b/src/generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs index 20a9079acb..1ee84034fb 100644 --- a/src/generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Schools { +namespace ApiSdk.Education.Classes.Item.Schools +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationClass entity. /// - public class SchoolsRequestBuilder : BaseCliRequestBuilder + public class SchoolsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the schools property of the microsoft.graph.educationClass entity. @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs b/src/generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs index 45c5fc23ff..c1285457e0 100644 --- a/src/generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Teachers.Count { +namespace ApiSdk.Education.Classes.Item.Teachers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Classes/Item/Teachers/Item/EducationUserItemRequestBuilder.cs b/src/generated/Education/Classes/Item/Teachers/Item/EducationUserItemRequestBuilder.cs index 68066829cc..17a809ba13 100644 --- a/src/generated/Education/Classes/Item/Teachers/Item/EducationUserItemRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Teachers/Item/EducationUserItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Classes.Item.Teachers.Item { +namespace ApiSdk.Education.Classes.Item.Teachers.Item +{ /// /// Builds and executes requests for operations under \education\classes\{educationClass-id}\teachers\{educationUser-id} /// - public class EducationUserItemRequestBuilder : BaseCliRequestBuilder + public class EducationUserItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs index db95ea8d70..5c3ab74974 100644 --- a/src/generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Teachers.Item.Ref { +namespace ApiSdk.Education.Classes.Item.Teachers.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a teacher from an educationClass. diff --git a/src/generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs b/src/generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs index 0bc29ea22b..59f7ed998d 100644 --- a/src/generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Teachers.Ref { +namespace ApiSdk.Education.Classes.Item.Teachers.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a teacher from an educationClass. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs b/src/generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs index 844eee6c37..b01c8fd3e8 100644 --- a/src/generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs +++ b/src/generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Classes.Item.Teachers { +namespace ApiSdk.Education.Classes.Item.Teachers +{ /// /// Provides operations to manage the teachers property of the microsoft.graph.educationClass entity. /// - public class TeachersRequestBuilder : BaseCliRequestBuilder + public class TeachersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.classes.item.teachers.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/EducationRequestBuilder.cs b/src/generated/Education/EducationRequestBuilder.cs index 70bf7d193a..c8ddcc5166 100644 --- a/src/generated/Education/EducationRequestBuilder.cs +++ b/src/generated/Education/EducationRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education { +namespace ApiSdk.Education +{ /// /// Provides operations to manage the educationRoot singleton. /// - public class EducationRequestBuilder : BaseCliRequestBuilder + public class EducationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the classes property of the microsoft.graph.educationRoot entity. diff --git a/src/generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs b/src/generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs index 253b2956f7..45d6503f1a 100644 --- a/src/generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments { +namespace ApiSdk.Education.Me.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. @@ -210,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Me/Assignments/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Count/CountRequestBuilder.cs index d16891faeb..7b3f60d6b0 100644 --- a/src/generated/Education/Me/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Count { +namespace ApiSdk.Education.Me.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Delta/DeltaGetResponse.cs b/src/generated/Education/Me/Assignments/Delta/DeltaGetResponse.cs index eb3e2c2f31..4b9221942e 100644 --- a/src/generated/Education/Me/Assignments/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Me/Assignments/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Me.Assignments.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Me.Assignments.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs index 80e569b1fb..8a74708ce1 100644 --- a/src/generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Delta { +namespace ApiSdk.Education.Me.Assignments.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assign { } /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Activate/ActivateRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Activate/ActivateRequestBuilder.cs index a609fd0647..8e989e1e81 100644 --- a/src/generated/Education/Me/Assignments/Item/Activate/ActivateRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Activate/ActivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Activate { +namespace ApiSdk.Education.Me.Assignments.Item.Activate +{ /// /// Provides operations to call the activate method. /// - public class ActivateRequestBuilder : BaseCliRequestBuilder + public class ActivateRequestBuilder : BaseCliRequestBuilder { /// /// Activate an inactive educationAssignment to signal that the assignment has further action items for teachers or students. This action can only be performed by a teacher on currently inactive assignments. diff --git a/src/generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs index 45ea6aa102..86dfd14bde 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories { +namespace ApiSdk.Education.Me.Assignments.Item.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.educationAssignment entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.me.assignments.item.categories.item collection @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property to categories for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property to categories for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -122,14 +122,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -211,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -256,7 +257,7 @@ public CategoriesRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/a { } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -275,7 +276,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property to categories for education /// /// A /// The request body @@ -296,7 +297,7 @@ public RequestInformation ToPostRequestInformation(EducationCategory body, Actio return requestInfo; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 26826b87ad..d1b69b5591 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaGetResponse.cs b/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaGetResponse.cs index 7d8416ff43..c1aa2bb5dc 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index 6fff3e50d6..a3bbb0527c 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Delta { +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-1.0"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assign { } /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs index b5f9b3b323..2f1d07c97a 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Item +{ /// /// Builds and executes requests for operations under \education\me\assignments\{educationAssignment-id}\categories\{educationCategory-id} /// - public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder + public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index d13c3ae5b7..4d5bddaaa6 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -13,21 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Item.Ref { +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -76,7 +76,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assignme { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 160e43c678..fbed1079a9 100644 --- a/src/generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Categories.Ref { +namespace ApiSdk.Education.Me.Assignments.Item.Categories.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -138,7 +137,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -150,14 +151,13 @@ public Command BuildGetCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property ref to categories for education /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property ref to categories for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -206,7 +206,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assignme { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +225,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property ref to categories for education /// /// A /// The request body @@ -265,7 +265,7 @@ public RequestInformation ToPostRequestInformation(ReferenceCreate body, Action< return requestInfo; } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// public class RefRequestBuilderDeleteQueryParameters { @@ -281,7 +281,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs index 7f9b3d9ab5..45d3221911 100644 --- a/src/generated/Education/Me/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Deactivate { +namespace ApiSdk.Education.Me.Assignments.Item.Deactivate +{ /// /// Provides operations to call the deactivate method. /// - public class DeactivateRequestBuilder : BaseCliRequestBuilder + public class DeactivateRequestBuilder : BaseCliRequestBuilder { /// /// Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. diff --git a/src/generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index a1549952f9..d8f71d67e7 100644 --- a/src/generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item { +namespace ApiSdk.Education.Me.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. /// - public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the activate method. diff --git a/src/generated/Education/Me/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs index 7bcbf15a4a..1a351ef67e 100644 --- a/src/generated/Education/Me/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.GradingCategory { +namespace ApiSdk.Education.Me.Assignments.Item.GradingCategory +{ /// /// Provides operations to manage the gradingCategory property of the microsoft.graph.educationAssignment entity. /// - public class GradingCategoryRequestBuilder : BaseCliRequestBuilder + public class GradingCategoryRequestBuilder : BaseCliRequestBuilder { /// /// When set, enables users to weight assignments differently when computing a class average grade. diff --git a/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs index b265e44eab..440b40e8a8 100644 --- a/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Publish { +namespace ApiSdk.Education.Me.Assignments.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs index 48850fa2a9..04a39d205e 100644 --- a/src/generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Resources.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index 2d864542ce..50246bb497 100644 --- a/src/generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Resources.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -193,7 +192,7 @@ public EducationAssignmentResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -212,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -252,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(EducationAssignmentResource return requestInfo; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs index bf5bb6ce71..9b4d5f9ead 100644 --- a/src/generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Resources { +namespace ApiSdk.Education.Me.Assignments.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-resource?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/as { } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(EducationAssignmentResource b return requestInfo; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index 3da0142f7c..2f0f1eb838 100644 --- a/src/generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Rubric.Ref { +namespace ApiSdk.Education.Me.Assignments.Item.Rubric.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete ref of navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property rubric for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -57,14 +57,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -88,14 +87,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the ref of navigation property rubric in education /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the ref of navigation property rubric in education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -144,7 +142,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assignme { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete ref of navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -163,7 +161,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +180,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the ref of navigation property rubric in education /// /// A /// The request body diff --git a/src/generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs index 28edbfb061..67a210347a 100644 --- a/src/generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Rubric { +namespace ApiSdk.Education.Me.Assignments.Item.Rubric +{ /// /// Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity. /// - public class RubricRequestBuilder : BaseCliRequestBuilder + public class RubricRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete navigation property rubric for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -58,14 +58,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -111,14 +110,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property rubric in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the navigation property rubric in education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -196,7 +194,7 @@ public RubricRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assig { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -215,7 +213,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -234,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the navigation property rubric in education /// /// A /// The request body @@ -255,7 +253,7 @@ public RequestInformation ToPatchRequestInformation(EducationRubric body, Action return requestInfo; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// public class RubricRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index 112305241c..b3e33a372f 100644 --- a/src/generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.SetUpFeedbackResourcesFolder { +namespace ApiSdk.Education.Me.Assignments.Item.SetUpFeedbackResourcesFolder +{ /// /// Provides operations to call the setUpFeedbackResourcesFolder method. /// - public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index f4dc60c75d..1c1d3e3fac 100644 --- a/src/generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Me.Assignments.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index 32a52734d2..17df059864 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index 0b6836a336..09b3421916 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -1,4 +1,5 @@ // +using ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Excuse; using ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes; using ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Reassign; using ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources; @@ -22,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submissions for education @@ -70,14 +72,30 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. - /// Find more info here + /// Provides operations to call the excuse method. + /// + /// A + public Command BuildExcuseNavCommand() + { + var command = new Command("excuse"); + command.Description = "Provides operations to call the excuse method."; + var builder = new ExcuseRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildPostCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -385,7 +403,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -425,7 +443,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmission body, Ac return requestInfo; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs new file mode 100644 index 0000000000..b494f4f27e --- /dev/null +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs @@ -0,0 +1,103 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Excuse +{ + /// + /// Provides operations to call the excuse method. + /// + public class ExcuseRequestBuilder : BaseCliRequestBuilder + { + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// Find more info here + /// + /// A + public Command BuildPostCommand() + { + var command = new Command("post"); + command.Description = "Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0"; + var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { + }; + educationAssignmentIdOption.IsRequired = true; + command.AddOption(educationAssignmentIdOption); + var educationSubmissionIdOption = new Option("--education-submission-id", description: "The unique identifier of educationSubmission") { + }; + educationSubmissionIdOption.IsRequired = true; + command.AddOption(educationSubmissionIdOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var educationAssignmentId = invocationContext.ParseResult.GetValueForOption(educationAssignmentIdOption); + var educationSubmissionId = invocationContext.ParseResult.GetValueForOption(educationSubmissionIdOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToPostRequestInformation(q => { + }); + if (educationAssignmentId is not null) requestInfo.PathParameters.Add("educationAssignment%2Did", educationAssignmentId); + if (educationSubmissionId is not null) requestInfo.PathParameters.Add("educationSubmission%2Did", educationSubmissionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public ExcuseRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public ExcuseRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", rawUrl) + { + } + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + } +} diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index b69e0eb5bd..fdc3060eb0 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index f60d37ccd8..030d6932d1 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes.Item +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder + public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. - /// Find more info here + /// Delete navigation property outcomes for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a feedback resource from a submission. This can only be done by a teacher.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property outcomes for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property outcomes in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an educationOutcome object. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property outcomes in education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -211,7 +210,7 @@ public EducationOutcomeItemRequestBuilder(string rawUrl) : base("{+baseurl}/educ { } /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. + /// Delete navigation property outcomes for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. + /// Update the navigation property outcomes in education /// /// A /// The request body diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index f71fccb8eb..92b84a5735 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Outcomes +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class OutcomesRequestBuilder : BaseCliRequestBuilder + public class OutcomesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to outcomes for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to outcomes for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. - /// Find more info here + /// Get outcomes from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0"; + command.Description = "Get outcomes from education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public OutcomesRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/ass { } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. + /// Create new navigation property to outcomes for education /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationOutcome body, Action return requestInfo; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// public class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index 6523c23742..7dc91e7b3c 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Reassign { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Reassign +{ /// /// Provides operations to call the reassign method. /// - public class ReassignRequestBuilder : BaseCliRequestBuilder + public class ReassignRequestBuilder : BaseCliRequestBuilder { /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index f58ef689c5..b0feb7f338 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 184f5e3c7a..01202cc555 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. - /// Find more info here + /// Get resources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -211,7 +210,7 @@ public EducationSubmissionResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index 4583c4c077..2e38647af3 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. - /// Find more info here + /// Get resources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/as { } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index a3b7357fc9..203269d4dc 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Return { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Return +{ /// /// Provides operations to call the return method. /// - public class ReturnRequestBuilder : BaseCliRequestBuilder + public class ReturnRequestBuilder : BaseCliRequestBuilder { /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 1c24fae357..ea88c2e5f0 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index 151a4df4c3..54f65d22ea 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Submit { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Submit +{ /// /// Provides operations to call the submit method. /// - public class SubmitRequestBuilder : BaseCliRequestBuilder + public class SubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index 11bf6c6487..563881ae8b 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources.Count { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index b6507fbbef..549601992b 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources.Item { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources.Item +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submittedResources for education @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmittedsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index a2d3051ca6..e6ef5b08b0 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.SubmittedResources +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder + public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-submittedresources?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public SubmittedResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/educat { } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// public class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index 8d840f1a8f..bf651c4928 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Unsubmit { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions.Item.Unsubmit +{ /// /// Provides operations to call the unsubmit method. /// - public class UnsubmitRequestBuilder : BaseCliRequestBuilder + public class UnsubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index 490387f83f..68cd737c16 100644 --- a/src/generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Assignments.Item.Submissions { +namespace ApiSdk.Education.Me.Assignments.Item.Submissions +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class SubmissionsRequestBuilder : BaseCliRequestBuilder + public class SubmissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. @@ -32,6 +33,7 @@ public Tuple, List> BuildCommand() var commands = new List(); var builder = new EducationSubmissionItemRequestBuilder(PathParameters); executables.Add(builder.BuildDeleteCommand()); + commands.Add(builder.BuildExcuseNavCommand()); executables.Add(builder.BuildGetCommand()); commands.Add(builder.BuildOutcomesNavCommand()); executables.Add(builder.BuildPatchCommand()); @@ -113,14 +115,13 @@ public Command BuildCreateCommand() return command; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. - /// Find more info here + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { }; educationAssignmentIdOption.IsRequired = true; @@ -202,7 +203,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -228,7 +231,7 @@ public SubmissionsRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/ { } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +271,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmission body, Act return requestInfo; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/Classes/ClassesRequestBuilder.cs b/src/generated/Education/Me/Classes/ClassesRequestBuilder.cs index a07368b7fd..7cd4160153 100644 --- a/src/generated/Education/Me/Classes/ClassesRequestBuilder.cs +++ b/src/generated/Education/Me/Classes/ClassesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Classes { +namespace ApiSdk.Education.Me.Classes +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. /// - public class ClassesRequestBuilder : BaseCliRequestBuilder + public class ClassesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. @@ -134,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Me/Classes/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Classes/Count/CountRequestBuilder.cs index dd4c33d42c..a593a2a4de 100644 --- a/src/generated/Education/Me/Classes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Classes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Classes.Count { +namespace ApiSdk.Education.Me.Classes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs index c77d9d6dfd..4a04a84666 100644 --- a/src/generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Classes.Item { +namespace ApiSdk.Education.Me.Classes.Item +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Classes to which the user belongs. Nullable. diff --git a/src/generated/Education/Me/MeRequestBuilder.cs b/src/generated/Education/Me/MeRequestBuilder.cs index 0796800066..ed28ed5ac3 100644 --- a/src/generated/Education/Me/MeRequestBuilder.cs +++ b/src/generated/Education/Me/MeRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me { +namespace ApiSdk.Education.Me +{ /// /// Provides operations to manage the me property of the microsoft.graph.educationRoot entity. /// - public class MeRequestBuilder : BaseCliRequestBuilder + public class MeRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. diff --git a/src/generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs index 0d8d3b8ebd..6b1270cac1 100644 --- a/src/generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Rubrics.Count { +namespace ApiSdk.Education.Me.Rubrics.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs b/src/generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs index 2e5f8b0e9e..ed976174d4 100644 --- a/src/generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs +++ b/src/generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Rubrics.Item { +namespace ApiSdk.Education.Me.Rubrics.Item +{ /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. /// - public class EducationRubricItemRequestBuilder : BaseCliRequestBuilder + public class EducationRubricItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an educationRubric object. Only teachers can perform this operation. diff --git a/src/generated/Education/Me/Rubrics/RubricsRequestBuilder.cs b/src/generated/Education/Me/Rubrics/RubricsRequestBuilder.cs index 95686fa2f6..3eeb82de30 100644 --- a/src/generated/Education/Me/Rubrics/RubricsRequestBuilder.cs +++ b/src/generated/Education/Me/Rubrics/RubricsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Rubrics { +namespace ApiSdk.Education.Me.Rubrics +{ /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. /// - public class RubricsRequestBuilder : BaseCliRequestBuilder + public class RubricsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Me/Schools/Count/CountRequestBuilder.cs b/src/generated/Education/Me/Schools/Count/CountRequestBuilder.cs index d31d4cbb3c..1fdec50a20 100644 --- a/src/generated/Education/Me/Schools/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/Schools/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Schools.Count { +namespace ApiSdk.Education.Me.Schools.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs index 674b2fadba..a798fc4ab1 100644 --- a/src/generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Schools.Item { +namespace ApiSdk.Education.Me.Schools.Item +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. /// - public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder + public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder { /// /// Schools to which the user belongs. Nullable. diff --git a/src/generated/Education/Me/Schools/SchoolsRequestBuilder.cs b/src/generated/Education/Me/Schools/SchoolsRequestBuilder.cs index 031c29dcc9..aa5c402084 100644 --- a/src/generated/Education/Me/Schools/SchoolsRequestBuilder.cs +++ b/src/generated/Education/Me/Schools/SchoolsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.Schools { +namespace ApiSdk.Education.Me.Schools +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. /// - public class SchoolsRequestBuilder : BaseCliRequestBuilder + public class SchoolsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. @@ -134,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs b/src/generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs index f4e8dfef62..3d40ba9e03 100644 --- a/src/generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.TaughtClasses.Count { +namespace ApiSdk.Education.Me.TaughtClasses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs index c8573eb98c..bcbba81a71 100644 --- a/src/generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.TaughtClasses.Item { +namespace ApiSdk.Education.Me.TaughtClasses.Item +{ /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Classes for which the user is a teacher. diff --git a/src/generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs b/src/generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs index 5ca45b595d..d25f2c5efb 100644 --- a/src/generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs +++ b/src/generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.TaughtClasses { +namespace ApiSdk.Education.Me.TaughtClasses +{ /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. /// - public class TaughtClassesRequestBuilder : BaseCliRequestBuilder + public class TaughtClassesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the educationClass resources owned by an educationUser. - /// Find more info here + /// Classes for which the user is a teacher. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the educationClass resources owned by an educationUser.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-list-taughtclasses?view=graph-rest-1.0"; + command.Description = "Classes for which the user is a teacher."; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -134,7 +134,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +162,7 @@ public TaughtClassesRequestBuilder(string rawUrl) : base("{+baseurl}/education/m { } /// - /// Get the educationClass resources owned by an educationUser. + /// Classes for which the user is a teacher. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +181,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the educationClass resources owned by an educationUser. + /// Classes for which the user is a teacher. /// public class TaughtClassesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs index e7db41cc9a..70912845dd 100644 --- a/src/generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.User.MailboxSettings { +namespace ApiSdk.Education.Me.User.MailboxSettings +{ /// /// Builds and executes requests for operations under \education\me\user\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Education/Me/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Education/Me/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index c11d300719..a1acd01fae 100644 --- a/src/generated/Education/Me/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Me/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.User.ServiceProvisioningErrors.Count { +namespace ApiSdk.Education.Me.User.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index f335f684cb..68573368b1 100644 --- a/src/generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.User.ServiceProvisioningErrors { +namespace ApiSdk.Education.Me.User.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \education\me\user\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Me/User/UserRequestBuilder.cs b/src/generated/Education/Me/User/UserRequestBuilder.cs index 5ae73f7ecc..191d3a8bcb 100644 --- a/src/generated/Education/Me/User/UserRequestBuilder.cs +++ b/src/generated/Education/Me/User/UserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Me.User { +namespace ApiSdk.Education.Me.User +{ /// /// Provides operations to manage the user property of the microsoft.graph.educationUser entity. /// - public class UserRequestBuilder : BaseCliRequestBuilder + public class UserRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the simple directory user that corresponds to this educationUser. diff --git a/src/generated/Education/Schools/Count/CountRequestBuilder.cs b/src/generated/Education/Schools/Count/CountRequestBuilder.cs index f468604aed..855dd69c31 100644 --- a/src/generated/Education/Schools/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Schools/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Count { +namespace ApiSdk.Education.Schools.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Schools/Delta/DeltaGetResponse.cs b/src/generated/Education/Schools/Delta/DeltaGetResponse.cs index e4f226b08d..c5977e8d39 100644 --- a/src/generated/Education/Schools/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Schools/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Schools.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Schools.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Schools/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Schools/Delta/DeltaRequestBuilder.cs index 490c34b4de..b508d140e6 100644 --- a/src/generated/Education/Schools/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Schools/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Delta { +namespace ApiSdk.Education.Schools.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationschool-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/schools/d { } /// - /// Invoke function delta + /// Get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs b/src/generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs index bcd71d0a74..70900ef423 100644 --- a/src/generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.AdministrativeUnit { +namespace ApiSdk.Education.Schools.Item.AdministrativeUnit +{ /// /// Provides operations to manage the administrativeUnit property of the microsoft.graph.educationSchool entity. /// - public class AdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class AdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// - /// Get a list of administrativeUnits associated with an educationSchool object. - /// Find more info here + /// The underlying administrativeUnit for this school. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a list of administrativeUnits associated with an educationSchool object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationschool-list-administrativeunit?view=graph-rest-1.0"; + command.Description = "The underlying administrativeUnit for this school."; var educationSchoolIdOption = new Option("--education-school-id", description: "The unique identifier of educationSchool") { }; educationSchoolIdOption.IsRequired = true; @@ -139,7 +139,7 @@ public AdministrativeUnitRequestBuilder(string rawUrl) : base("{+baseurl}/educat { } /// - /// Get a list of administrativeUnits associated with an educationSchool object. + /// The underlying administrativeUnit for this school. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +179,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Administrative return requestInfo; } /// - /// Get a list of administrativeUnits associated with an educationSchool object. + /// The underlying administrativeUnit for this school. /// public class AdministrativeUnitRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs b/src/generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs index 34334880f9..e383b94cc6 100644 --- a/src/generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Classes { +namespace ApiSdk.Education.Schools.Item.Classes +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationSchool entity. /// - public class ClassesRequestBuilder : BaseCliRequestBuilder + public class ClassesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.schools.item.classes.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs b/src/generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs index b81e1f459c..b8ce774b88 100644 --- a/src/generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Classes.Count { +namespace ApiSdk.Education.Schools.Item.Classes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Schools/Item/Classes/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Schools/Item/Classes/Item/EducationClassItemRequestBuilder.cs index 57c99ec447..1325fd372d 100644 --- a/src/generated/Education/Schools/Item/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Classes/Item/EducationClassItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Schools.Item.Classes.Item { +namespace ApiSdk.Education.Schools.Item.Classes.Item +{ /// /// Builds and executes requests for operations under \education\schools\{educationSchool-id}\classes\{educationClass-id} /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs index eee129b942..452b4ec477 100644 --- a/src/generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Classes.Item.Ref { +namespace ApiSdk.Education.Schools.Item.Classes.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete a class from a school. diff --git a/src/generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs b/src/generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs index ddd18af8e4..210a034517 100644 --- a/src/generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Classes.Ref { +namespace ApiSdk.Education.Schools.Item.Classes.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete a class from a school. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs index a52d28d204..f322677a66 100644 --- a/src/generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item { +namespace ApiSdk.Education.Schools.Item +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationRoot entity. /// - public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder + public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the administrativeUnit property of the microsoft.graph.educationSchool entity. diff --git a/src/generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs b/src/generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs index b332ad705b..eed9c70515 100644 --- a/src/generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Users.Count { +namespace ApiSdk.Education.Schools.Item.Users.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Schools/Item/Users/Item/EducationUserItemRequestBuilder.cs b/src/generated/Education/Schools/Item/Users/Item/EducationUserItemRequestBuilder.cs index eb94c122a0..be773378f1 100644 --- a/src/generated/Education/Schools/Item/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Users/Item/EducationUserItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Schools.Item.Users.Item { +namespace ApiSdk.Education.Schools.Item.Users.Item +{ /// /// Builds and executes requests for operations under \education\schools\{educationSchool-id}\users\{educationUser-id} /// - public class EducationUserItemRequestBuilder : BaseCliRequestBuilder + public class EducationUserItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs index a674291321..d0689af90d 100644 --- a/src/generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Users.Item.Ref { +namespace ApiSdk.Education.Schools.Item.Users.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete a user from a school. diff --git a/src/generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs b/src/generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs index 49d0cd6536..069ce73690 100644 --- a/src/generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Users.Ref { +namespace ApiSdk.Education.Schools.Item.Users.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete a user from a school. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Schools/Item/Users/UsersRequestBuilder.cs b/src/generated/Education/Schools/Item/Users/UsersRequestBuilder.cs index 999b19e75a..dff05108d0 100644 --- a/src/generated/Education/Schools/Item/Users/UsersRequestBuilder.cs +++ b/src/generated/Education/Schools/Item/Users/UsersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools.Item.Users { +namespace ApiSdk.Education.Schools.Item.Users +{ /// /// Provides operations to manage the users property of the microsoft.graph.educationSchool entity. /// - public class UsersRequestBuilder : BaseCliRequestBuilder + public class UsersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.schools.item.users.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Schools/SchoolsRequestBuilder.cs b/src/generated/Education/Schools/SchoolsRequestBuilder.cs index 79a483d906..b5815e3579 100644 --- a/src/generated/Education/Schools/SchoolsRequestBuilder.cs +++ b/src/generated/Education/Schools/SchoolsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Schools { +namespace ApiSdk.Education.Schools +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationRoot entity. /// - public class SchoolsRequestBuilder : BaseCliRequestBuilder + public class SchoolsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the schools property of the microsoft.graph.educationRoot entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Users/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Count/CountRequestBuilder.cs index f4693cc87f..0009a8a879 100644 --- a/src/generated/Education/Users/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Count { +namespace ApiSdk.Education.Users.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Delta/DeltaGetResponse.cs b/src/generated/Education/Users/Delta/DeltaGetResponse.cs index f31ce0cdf3..2c51d04da1 100644 --- a/src/generated/Education/Users/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Users/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Users.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Users.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Users/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Users/Delta/DeltaRequestBuilder.cs index a2313154d9..d54b963900 100644 --- a/src/generated/Education/Users/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Users/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Delta { +namespace ApiSdk.Education.Users.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/del { } /// - /// Invoke function delta + /// Get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs index 8cf178836b..c13c8b0c07 100644 --- a/src/generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments { +namespace ApiSdk.Education.Users.Item.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. @@ -222,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs index 818badb65d..61c0dba9e3 100644 --- a/src/generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Delta/DeltaGetResponse.cs b/src/generated/Education/Users/Item/Assignments/Delta/DeltaGetResponse.cs index 456cedd9c4..1f57ceaedf 100644 --- a/src/generated/Education/Users/Item/Assignments/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Users/Item/Assignments/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Users.Item.Assignments.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs index 43eccbb795..09740a8a55 100644 --- a/src/generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Delta { +namespace ApiSdk.Education.Users.Item.Assignments.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-1.0"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{ed { } /// - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly-created or updated assignments without reading the whole collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs index 31787651de..a6f9bc937f 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Activate/ActivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Activate { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Activate +{ /// /// Provides operations to call the activate method. /// - public class ActivateRequestBuilder : BaseCliRequestBuilder + public class ActivateRequestBuilder : BaseCliRequestBuilder { /// /// Activate an inactive educationAssignment to signal that the assignment has further action items for teachers or students. This action can only be performed by a teacher on currently inactive assignments. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs index cb9d679e15..da3ccdac08 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories +{ /// /// Provides operations to manage the categories property of the microsoft.graph.educationAssignment entity. /// - public class CategoriesRequestBuilder : BaseCliRequestBuilder + public class CategoriesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.education.users.item.assignments.item.categories.item collection @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property to categories for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property to categories for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -223,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -268,7 +269,7 @@ public CategoriesRequestBuilder(string rawUrl) : base("{+baseurl}/education/user { } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +288,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property to categories for education /// /// A /// The request body @@ -308,7 +309,7 @@ public RequestInformation ToPostRequestInformation(EducationCategory body, Actio return requestInfo; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 54e3b43bca..1bbed0c1e3 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs index 09e6496292..cf7311d4ee 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index 45f65f2cf5..501b4eda10 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Delta { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-1.0"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{ed { } /// - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get a list of newly created or updated educationCategory objects without having to perform a full read of the collection. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs index a2728103d4..f2a9da52aa 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/EducationCategoryItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Item +{ /// /// Builds and executes requests for operations under \education\users\{educationUser-id}\assignments\{educationAssignment-id}\categories\{educationCategory-id} /// - public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder + public class EducationCategoryItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of educationRoot entities. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index 91445be185..c58b93330d 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -13,21 +13,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Item.Ref { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Item.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -82,7 +82,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{educ { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 8a1c5e866d..50edeea8dc 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Ref { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Categories.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Delete ref of navigation property categories for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property categories for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0"; + command.Description = "When set, enables users to easily find assignments of a given type. Read-only. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -150,7 +149,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -162,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Create new navigation property ref to categories for education /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0"; + command.Description = "Create new navigation property ref to categories for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -224,7 +224,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{educ { } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +262,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. + /// Create new navigation property ref to categories for education /// /// A /// The request body @@ -283,7 +283,7 @@ public RequestInformation ToPostRequestInformation(ReferenceCreate body, Action< return requestInfo; } /// - /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. + /// Delete ref of navigation property categories for education /// public class RefRequestBuilderDeleteQueryParameters { @@ -299,7 +299,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, enables users to easily find assignments of a given type. Read-only. Nullable. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs index 9917fb7b2e..741a62de97 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Deactivate/DeactivateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Deactivate { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Deactivate +{ /// /// Provides operations to call the deactivate method. /// - public class DeactivateRequestBuilder : BaseCliRequestBuilder + public class DeactivateRequestBuilder : BaseCliRequestBuilder { /// /// Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. diff --git a/src/generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index ed831bf92a..eb5a6c2904 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. /// - public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the activate method. diff --git a/src/generated/Education/Users/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs index a297c60540..a181eb991d 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/GradingCategory/GradingCategoryRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.GradingCategory { +namespace ApiSdk.Education.Users.Item.Assignments.Item.GradingCategory +{ /// /// Provides operations to manage the gradingCategory property of the microsoft.graph.educationAssignment entity. /// - public class GradingCategoryRequestBuilder : BaseCliRequestBuilder + public class GradingCategoryRequestBuilder : BaseCliRequestBuilder { /// /// When set, enables users to weight assignments differently when computing a class average grade. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs index b13eab7d8c..bcc5cfe7ad 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Publish { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs index c5f2ad5b46..0b93fbfee3 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index 58b9c085bd..90a67507b8 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationAssignmentResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -211,7 +210,7 @@ public EducationAssignmentResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(EducationAssignmentResource return requestInfo; } /// - /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs index 0320005be4..aba72ae496 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-post-resource?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0"; + command.Description = "Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/users { } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(EducationAssignmentResource b return requestInfo; } /// - /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. + /// Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index 9a381b6f7a..54e1f3aa3c 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Rubric.Ref { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Rubric.Ref +{ /// /// Provides operations to manage the collection of educationRoot entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete ref of navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete ref of navigation property rubric for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -100,14 +99,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the ref of navigation property rubric in education /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the ref of navigation property rubric in education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -162,7 +160,7 @@ public RefRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{educ { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete ref of navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +179,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +198,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the ref of navigation property rubric in education /// /// A /// The request body diff --git a/src/generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs index 9f5337f436..d4bdb653ac 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Rubric { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Rubric +{ /// /// Provides operations to manage the rubric property of the microsoft.graph.educationAssignment entity. /// - public class RubricRequestBuilder : BaseCliRequestBuilder + public class RubricRequestBuilder : BaseCliRequestBuilder { /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. - /// Find more info here + /// Delete navigation property rubric for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0"; + command.Description = "Delete navigation property rubric for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -64,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to this assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to this assignment."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -123,14 +122,13 @@ public Command BuildGetCommand() return command; } /// - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property rubric in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0"; + command.Description = "Update the navigation property rubric in education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -214,7 +212,7 @@ public RubricRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{e { } /// - /// Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. + /// Delete navigation property rubric for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -233,7 +231,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -252,7 +250,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. + /// Update the navigation property rubric in education /// /// A /// The request body @@ -273,7 +271,7 @@ public RequestInformation ToPatchRequestInformation(EducationRubric body, Action return requestInfo; } /// - /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. + /// When set, the grading rubric attached to this assignment. /// public class RubricRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index 602eb4af89..9efa35dad9 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.SetUpFeedbackResourcesFolder { +namespace ApiSdk.Education.Users.Item.Assignments.Item.SetUpFeedbackResourcesFolder +{ /// /// Provides operations to call the setUpFeedbackResourcesFolder method. /// - public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpFeedbackResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index ff3160242d..f4a8c3f7b0 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Users.Item.Assignments.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index 7be413784d..805e69e84d 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index b575ceaa3b..6e3cc2c57a 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -1,4 +1,5 @@ // +using ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Excuse; using ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes; using ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Reassign; using ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources; @@ -22,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submissions for education @@ -76,14 +78,30 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. - /// Find more info here + /// Provides operations to call the excuse method. + /// + /// A + public Command BuildExcuseNavCommand() + { + var command = new Command("excuse"); + command.Description = "Provides operations to call the excuse method."; + var builder = new ExcuseRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildPostCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -403,7 +421,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -443,7 +461,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmission body, Ac return requestInfo; } /// - /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs new file mode 100644 index 0000000000..a804336cdb --- /dev/null +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Excuse/ExcuseRequestBuilder.cs @@ -0,0 +1,109 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Excuse +{ + /// + /// Provides operations to call the excuse method. + /// + public class ExcuseRequestBuilder : BaseCliRequestBuilder + { + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// Find more info here + /// + /// A + public Command BuildPostCommand() + { + var command = new Command("post"); + command.Description = "Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0"; + var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { + }; + educationUserIdOption.IsRequired = true; + command.AddOption(educationUserIdOption); + var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") { + }; + educationAssignmentIdOption.IsRequired = true; + command.AddOption(educationAssignmentIdOption); + var educationSubmissionIdOption = new Option("--education-submission-id", description: "The unique identifier of educationSubmission") { + }; + educationSubmissionIdOption.IsRequired = true; + command.AddOption(educationSubmissionIdOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var educationUserId = invocationContext.ParseResult.GetValueForOption(educationUserIdOption); + var educationAssignmentId = invocationContext.ParseResult.GetValueForOption(educationAssignmentIdOption); + var educationSubmissionId = invocationContext.ParseResult.GetValueForOption(educationSubmissionIdOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToPostRequestInformation(q => { + }); + if (educationUserId is not null) requestInfo.PathParameters.Add("educationUser%2Did", educationUserId); + if (educationAssignmentId is not null) requestInfo.PathParameters.Add("educationAssignment%2Did", educationAssignmentId); + if (educationSubmissionId is not null) requestInfo.PathParameters.Add("educationSubmission%2Did", educationSubmissionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public ExcuseRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public ExcuseRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", rawUrl) + { + } + /// + /// Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission shows the excused status. Otherwise, the submission status retains the returned status. For more information about how to use this header, see the Examples section. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + } +} diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index b0bdb48802..0bc67022cd 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index 0bf97a7948..d11c0cb9a4 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes.Item +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder + public class EducationOutcomeItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. - /// Find more info here + /// Delete navigation property outcomes for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a feedback resource from a submission. This can only be done by a teacher.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property outcomes for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. - /// Find more info here + /// Update the navigation property outcomes in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an educationOutcome object. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property outcomes in education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -229,7 +228,7 @@ public EducationOutcomeItemRequestBuilder(string rawUrl) : base("{+baseurl}/educ { } /// - /// Delete a feedback resource from a submission. This can only be done by a teacher. + /// Delete navigation property outcomes for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationOutcome object. Only teachers can perform this operation. + /// Update the navigation property outcomes in education /// /// A /// The request body diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index c640db1e93..dc9107eff9 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Outcomes +{ /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. /// - public class OutcomesRequestBuilder : BaseCliRequestBuilder + public class OutcomesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to outcomes for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to outcomes for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. - /// Find more info here + /// Get outcomes from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0"; + command.Description = "Get outcomes from education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -218,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -244,7 +245,7 @@ public OutcomesRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/ { } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +264,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. + /// Create new navigation property to outcomes for education /// /// A /// The request body @@ -284,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationOutcome body, Action return requestInfo; } /// - /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. + /// Get outcomes from education /// public class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index 915bfa591e..a5b11fa916 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Reassign { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Reassign +{ /// /// Provides operations to call the reassign method. /// - public class ReassignRequestBuilder : BaseCliRequestBuilder + public class ReassignRequestBuilder : BaseCliRequestBuilder { /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index aa20801c57..bea1479531 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index fce65d9623..92131d00d0 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. - /// Find more info here + /// Delete navigation property resources for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property resources for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -75,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. - /// Find more info here + /// Get resources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -229,7 +228,7 @@ public EducationSubmissionResourceItemRequestBuilder(string rawUrl) : base("{+ba { } /// - /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. + /// Delete navigation property resources for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. + /// Get resources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index 4814f09333..55d7c43b87 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. - /// Find more info here + /// Create new navigation property to resources for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0"; + command.Description = "Create new navigation property to resources for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. - /// Find more info here + /// Get resources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0"; + command.Description = "Get resources from education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -218,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -244,7 +245,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/education/users { } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +264,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. + /// Create new navigation property to resources for education /// /// A /// The request body @@ -284,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. + /// Get resources from education /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index ec7b589e79..38cb9a358a 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Return { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Return +{ /// /// Provides operations to call the return method. /// - public class ReturnRequestBuilder : BaseCliRequestBuilder + public class ReturnRequestBuilder : BaseCliRequestBuilder { /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 86092946a4..966bf8cf96 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SetUpResourcesFolder { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SetUpResourcesFolder +{ /// /// Provides operations to call the setUpResourcesFolder method. /// - public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder + public class SetUpResourcesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index 0b49ec6cd9..798af2ae23 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Submit { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Submit +{ /// /// Provides operations to call the submit method. /// - public class SubmitRequestBuilder : BaseCliRequestBuilder + public class SubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index 69333f6f14..3027759c7f 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources.Count { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 1841d5b73b..c843e3bfe8 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources.Item { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources.Item +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder + public class EducationSubmissionResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property submittedResources for education @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmittedsubmissionresource-get?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(EducationSubmissionResource return requestInfo; } /// - /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. + /// Get submittedResources from education /// public class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index 5ed8004013..c3abc255e6 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.SubmittedResources +{ /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. /// - public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder + public class SubmittedResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. @@ -116,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. - /// Find more info here + /// Get submittedResources from education /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationsubmission-list-submittedresources?view=graph-rest-1.0"; + command.Description = "Get submittedResources from education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -217,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -243,7 +245,7 @@ public SubmittedResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/educat { } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -283,7 +285,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmissionResource b return requestInfo; } /// - /// List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. + /// Get submittedResources from education /// public class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index 9d02203e6b..e598e39067 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Unsubmit { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions.Item.Unsubmit +{ /// /// Provides operations to call the unsubmit method. /// - public class UnsubmitRequestBuilder : BaseCliRequestBuilder + public class UnsubmitRequestBuilder : BaseCliRequestBuilder { /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index 33d119d529..7755086e9e 100644 --- a/src/generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions { +namespace ApiSdk.Education.Users.Item.Assignments.Item.Submissions +{ /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. /// - public class SubmissionsRequestBuilder : BaseCliRequestBuilder + public class SubmissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. @@ -32,6 +33,7 @@ public Tuple, List> BuildCommand() var commands = new List(); var builder = new EducationSubmissionItemRequestBuilder(PathParameters); executables.Add(builder.BuildDeleteCommand()); + commands.Add(builder.BuildExcuseNavCommand()); executables.Add(builder.BuildGetCommand()); commands.Add(builder.BuildOutcomesNavCommand()); executables.Add(builder.BuildPatchCommand()); @@ -119,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. - /// Find more info here + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0"; + command.Description = "Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -214,7 +215,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -240,7 +243,7 @@ public SubmissionsRequestBuilder(string rawUrl) : base("{+baseurl}/education/use { } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -280,7 +283,7 @@ public RequestInformation ToPostRequestInformation(EducationSubmission body, Act return requestInfo; } /// - /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. + /// Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. /// public class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs b/src/generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs index c1aaa70672..9e08bc00ae 100644 --- a/src/generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Classes { +namespace ApiSdk.Education.Users.Item.Classes +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. /// - public class ClassesRequestBuilder : BaseCliRequestBuilder + public class ClassesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the educationClass resources an educationUser is a member of. - /// Find more info here + /// Classes to which the user belongs. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the educationClass resources an educationUser is a member of.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-list-classes?view=graph-rest-1.0"; + command.Description = "Classes to which the user belongs. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -140,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -166,7 +168,7 @@ public ClassesRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{ { } /// - /// Get the educationClass resources an educationUser is a member of. + /// Classes to which the user belongs. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +187,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the educationClass resources an educationUser is a member of. + /// Classes to which the user belongs. Nullable. /// public class ClassesRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs index 7bfd309410..8852bc7c4a 100644 --- a/src/generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Classes.Count { +namespace ApiSdk.Education.Users.Item.Classes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs index 81f694041e..b1a2b55357 100644 --- a/src/generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Classes.Item { +namespace ApiSdk.Education.Users.Item.Classes.Item +{ /// /// Provides operations to manage the classes property of the microsoft.graph.educationUser entity. /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Classes to which the user belongs. Nullable. diff --git a/src/generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index a3845de426..4e6d4c50d7 100644 --- a/src/generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item { +namespace ApiSdk.Education.Users.Item +{ /// /// Provides operations to manage the users property of the microsoft.graph.educationRoot entity. /// - public class EducationUserItemRequestBuilder : BaseCliRequestBuilder + public class EducationUserItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignments property of the microsoft.graph.educationUser entity. diff --git a/src/generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs index 761d903bc8..04aa28d006 100644 --- a/src/generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Rubrics.Count { +namespace ApiSdk.Education.Users.Item.Rubrics.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs b/src/generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs index 8b91ee7176..a1cc909869 100644 --- a/src/generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Rubrics.Item { +namespace ApiSdk.Education.Users.Item.Rubrics.Item +{ /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. /// - public class EducationRubricItemRequestBuilder : BaseCliRequestBuilder + public class EducationRubricItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an educationRubric object. Only teachers can perform this operation. - /// Find more info here + /// Delete navigation property rubrics for education /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an educationRubric object. Only teachers can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationrubric-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property rubrics for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. - /// Find more info here + /// When set, the grading rubric attached to the assignment. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationrubric-get?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to the assignment."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. - /// Find more info here + /// Update the navigation property rubrics in education /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationrubric-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property rubrics in education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public EducationRubricItemRequestBuilder(string rawUrl) : base("{+baseurl}/educa { } /// - /// Delete an educationRubric object. Only teachers can perform this operation. + /// Delete navigation property rubrics for education /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. + /// When set, the grading rubric attached to the assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. + /// Update the navigation property rubrics in education /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(EducationRubric body, Action return requestInfo; } /// - /// Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. + /// When set, the grading rubric attached to the assignment. /// public class EducationRubricItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs b/src/generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs index 887add5b27..7efad877b0 100644 --- a/src/generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Rubrics { +namespace ApiSdk.Education.Users.Item.Rubrics +{ /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. /// - public class RubricsRequestBuilder : BaseCliRequestBuilder + public class RubricsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new educationRubric object. - /// Find more info here + /// Create new navigation property to rubrics for education /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new educationRubric object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-post-rubrics?view=graph-rest-1.0"; + command.Description = "Create new navigation property to rubrics for education"; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of educationRubric objects. - /// Find more info here + /// When set, the grading rubric attached to the assignment. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of educationRubric objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-list-rubrics?view=graph-rest-1.0"; + command.Description = "When set, the grading rubric attached to the assignment."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public RubricsRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{ { } /// - /// Retrieve a list of educationRubric objects. + /// When set, the grading rubric attached to the assignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new educationRubric object. + /// Create new navigation property to rubrics for education /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(EducationRubric body, Action< return requestInfo; } /// - /// Retrieve a list of educationRubric objects. + /// When set, the grading rubric attached to the assignment. /// public class RubricsRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs index 7227e364e1..d3ce670d08 100644 --- a/src/generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Schools.Count { +namespace ApiSdk.Education.Users.Item.Schools.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs index 1777436c59..778d3c85e1 100644 --- a/src/generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Schools.Item { +namespace ApiSdk.Education.Users.Item.Schools.Item +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. /// - public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder + public class EducationSchoolItemRequestBuilder : BaseCliRequestBuilder { /// /// Schools to which the user belongs. Nullable. diff --git a/src/generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs b/src/generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs index d39dd6e294..448103807a 100644 --- a/src/generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.Schools { +namespace ApiSdk.Education.Users.Item.Schools +{ /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. /// - public class SchoolsRequestBuilder : BaseCliRequestBuilder + public class SchoolsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the schools property of the microsoft.graph.educationUser entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of schools for a user. - /// Find more info here + /// Schools to which the user belongs. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of schools for a user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-list-schools?view=graph-rest-1.0"; + command.Description = "Schools to which the user belongs. Nullable."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -140,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -166,7 +168,7 @@ public SchoolsRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{ { } /// - /// Retrieve a list of schools for a user. + /// Schools to which the user belongs. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +187,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of schools for a user. + /// Schools to which the user belongs. Nullable. /// public class SchoolsRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs index ceb741e80b..4b763dfb11 100644 --- a/src/generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.TaughtClasses.Count { +namespace ApiSdk.Education.Users.Item.TaughtClasses.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs b/src/generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs index 69b112109f..32855795c4 100644 --- a/src/generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs +++ b/src/generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.TaughtClasses.Item { +namespace ApiSdk.Education.Users.Item.TaughtClasses.Item +{ /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. /// - public class EducationClassItemRequestBuilder : BaseCliRequestBuilder + public class EducationClassItemRequestBuilder : BaseCliRequestBuilder { /// /// Classes for which the user is a teacher. diff --git a/src/generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs b/src/generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs index 2302158084..c8fd473519 100644 --- a/src/generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs +++ b/src/generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.TaughtClasses { +namespace ApiSdk.Education.Users.Item.TaughtClasses +{ /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. /// - public class TaughtClassesRequestBuilder : BaseCliRequestBuilder + public class TaughtClassesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs index c355482834..b908a4b295 100644 --- a/src/generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.User.MailboxSettings { +namespace ApiSdk.Education.Users.Item.User.MailboxSettings +{ /// /// Builds and executes requests for operations under \education\users\{educationUser-id}\user\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 9e116502ad..b3c8d21353 100644 --- a/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.User.ServiceProvisioningErrors.Count { +namespace ApiSdk.Education.Users.Item.User.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 584d084619..181d3fc690 100644 --- a/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.User.ServiceProvisioningErrors { +namespace ApiSdk.Education.Users.Item.User.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \education\users\{educationUser-id}\user\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Education/Users/Item/User/UserRequestBuilder.cs b/src/generated/Education/Users/Item/User/UserRequestBuilder.cs index 405e3423e5..3190c399e2 100644 --- a/src/generated/Education/Users/Item/User/UserRequestBuilder.cs +++ b/src/generated/Education/Users/Item/User/UserRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users.Item.User { +namespace ApiSdk.Education.Users.Item.User +{ /// /// Provides operations to manage the user property of the microsoft.graph.educationUser entity. /// - public class UserRequestBuilder : BaseCliRequestBuilder + public class UserRequestBuilder : BaseCliRequestBuilder { /// - /// Retrieve the simple directory user that corresponds to this educationUser. - /// Find more info here + /// The directory user that corresponds to this user. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the simple directory user that corresponds to this educationUser.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-1.0"; + command.Description = "The directory user that corresponds to this user."; var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") { }; educationUserIdOption.IsRequired = true; @@ -131,7 +131,7 @@ public UserRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{edu { } /// - /// Retrieve the simple directory user that corresponds to this educationUser. + /// The directory user that corresponds to this user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the simple directory user that corresponds to this educationUser. + /// The directory user that corresponds to this user. /// public class UserRequestBuilderGetQueryParameters { diff --git a/src/generated/Education/Users/UsersRequestBuilder.cs b/src/generated/Education/Users/UsersRequestBuilder.cs index a0f7ff3489..4a8f114e38 100644 --- a/src/generated/Education/Users/UsersRequestBuilder.cs +++ b/src/generated/Education/Users/UsersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Education.Users { +namespace ApiSdk.Education.Users +{ /// /// Provides operations to manage the users property of the microsoft.graph.educationRoot entity. /// - public class UsersRequestBuilder : BaseCliRequestBuilder + public class UsersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the users property of the microsoft.graph.educationRoot entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 5db7c5af39..ed09c107a6 100644 --- a/src/generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience { +namespace ApiSdk.EmployeeExperience +{ /// /// Provides operations to manage the employeeExperience singleton. /// - public class EmployeeExperienceRequestBuilder : BaseCliRequestBuilder + public class EmployeeExperienceRequestBuilder : BaseCliRequestBuilder { /// /// Get employeeExperience diff --git a/src/generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs index 3534d2cd82..0a2bc4c5f7 100644 --- a/src/generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningCourseActivities.Count { +namespace ApiSdk.EmployeeExperience.LearningCourseActivities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index 4855dac6d4..afb1d886b2 100644 --- a/src/generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningCourseActivities.Item { +namespace ApiSdk.EmployeeExperience.LearningCourseActivities.Item +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. /// - public class LearningCourseActivityItemRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property learningCourseActivities for employeeExperience diff --git a/src/generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index 08f4f16589..5d88c46360 100644 --- a/src/generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningCourseActivities { +namespace ApiSdk.EmployeeExperience.LearningCourseActivities +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. /// - public class LearningCourseActivitiesRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs b/src/generated/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs index 1bbf943bad..4b1f5e5c1f 100644 --- a/src/generated/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId { +namespace ApiSdk.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. /// - public class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property learningCourseActivities for employeeExperience diff --git a/src/generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs index 2a56959561..685b905e69 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Count { +namespace ApiSdk.EmployeeExperience.LearningProviders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs index 1217175aae..bc7234eb20 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents.Count { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs index a4ad3bfcb7..fa2b0c67a1 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents.Item { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents.Item +{ /// /// Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. /// - public class LearningContentItemRequestBuilder : BaseCliRequestBuilder + public class LearningContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs index b1fd943e75..4c6930e02c 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContents +{ /// /// Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. /// - public class LearningContentsRequestBuilder : BaseCliRequestBuilder + public class LearningContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContentsWithExternalId/LearningContentsWithExternalIdRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContentsWithExternalId/LearningContentsWithExternalIdRequestBuilder.cs index c5e9c55432..d3042d5f95 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningContentsWithExternalId/LearningContentsWithExternalIdRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningContentsWithExternalId/LearningContentsWithExternalIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContentsWithExternalId { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningContentsWithExternalId +{ /// /// Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. /// - public class LearningContentsWithExternalIdRequestBuilder : BaseCliRequestBuilder + public class LearningContentsWithExternalIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs index c96cfca4a8..7ef5fdf0cd 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities.Count { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index 9815b5ab1d..f5362e6828 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities.Item { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities.Item +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. /// - public class LearningCourseActivityItemRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a learningCourseActivity object using the course activity ID of either an assignment or a self-initiated activity. diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index 5efaed1f4a..fc77b39f3c 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivities +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. /// - public class LearningCourseActivitiesRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. @@ -105,13 +106,14 @@ public Command BuildCreateCommand() return command; } /// - /// Get learningCourseActivities from employeeExperience + /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get learningCourseActivities from employeeExperience"; + command.Description = "Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0"; var learningProviderIdOption = new Option("--learning-provider-id", description: "The unique identifier of learningProvider") { }; learningProviderIdOption.IsRequired = true; @@ -193,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -219,7 +223,7 @@ public LearningCourseActivitiesRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Get learningCourseActivities from employeeExperience + /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -259,7 +263,7 @@ public RequestInformation ToPostRequestInformation(LearningCourseActivity body, return requestInfo; } /// - /// Get learningCourseActivities from employeeExperience + /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. /// public class LearningCourseActivitiesRequestBuilderGetQueryParameters { diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs index 2f0d1f5a9b..58388a55c0 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivitiesWithExternalcourseActivityId/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivitiesWithExternalcourseActivityId { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item.LearningCourseActivitiesWithExternalcourseActivityId +{ /// /// Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. /// - public class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder : BaseCliRequestBuilder + public class LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder : BaseCliRequestBuilder { /// /// Delete a learningCourseActivity object using the course activity ID of either an assignment or a self-initiated activity. diff --git a/src/generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs index 5553526bdb..609eb90ba0 100644 --- a/src/generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders.Item { +namespace ApiSdk.EmployeeExperience.LearningProviders.Item +{ /// /// Provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity. /// - public class LearningProviderItemRequestBuilder : BaseCliRequestBuilder + public class LearningProviderItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a learningProvider resource and remove its registration in Viva Learning for a tenant. diff --git a/src/generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs b/src/generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs index 20dc514c7d..ded363d490 100644 --- a/src/generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs +++ b/src/generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.EmployeeExperience.LearningProviders { +namespace ApiSdk.EmployeeExperience.LearningProviders +{ /// /// Provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity. /// - public class LearningProvidersRequestBuilder : BaseCliRequestBuilder + public class LearningProvidersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity. @@ -187,7 +188,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/ConnectionsRequestBuilder.cs b/src/generated/External/Connections/ConnectionsRequestBuilder.cs index 8ce91903e7..ddc2f4c749 100644 --- a/src/generated/External/Connections/ConnectionsRequestBuilder.cs +++ b/src/generated/External/Connections/ConnectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections { +namespace ApiSdk.External.Connections +{ /// /// Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. /// - public class ConnectionsRequestBuilder : BaseCliRequestBuilder + public class ConnectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. @@ -187,7 +188,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Count/CountRequestBuilder.cs index e5488a2a17..fee6b8c4a6 100644 --- a/src/generated/External/Connections/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Count { +namespace ApiSdk.External.Connections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs b/src/generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs index bbd056ecb4..236eb8fa0e 100644 --- a/src/generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item { +namespace ApiSdk.External.Connections.Item +{ /// /// Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. /// - public class ExternalConnectionItemRequestBuilder : BaseCliRequestBuilder + public class ExternalConnectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes an externalConnection object. diff --git a/src/generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs index 8582ca9750..37cbb0af39 100644 --- a/src/generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups.Count { +namespace ApiSdk.External.Connections.Item.Groups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs index 3302f9eb0e..9b7a5b022a 100644 --- a/src/generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups { +namespace ApiSdk.External.Connections.Item.Groups +{ /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class GroupsRequestBuilder : BaseCliRequestBuilder + public class GroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs index b5b7fa432b..1e82b37448 100644 --- a/src/generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups.Item { +namespace ApiSdk.External.Connections.Item.Groups.Item +{ /// /// Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ExternalGroupItemRequestBuilder : BaseCliRequestBuilder + public class ExternalGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an externalGroup object. diff --git a/src/generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs index 656fb1bb4a..add28009cf 100644 --- a/src/generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups.Item.Members.Count { +namespace ApiSdk.External.Connections.Item.Groups.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs index 2b6ac4539f..8d0a86f813 100644 --- a/src/generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups.Item.Members.Item { +namespace ApiSdk.External.Connections.Item.Groups.Item.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. /// - public class IdentityItemRequestBuilder : BaseCliRequestBuilder + public class IdentityItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an identity resource to remove the corresponding member from an externalGroup. - /// Find more info here + /// Delete navigation property members for external /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an identity resource to remove the corresponding member from an externalGroup.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for external"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -210,7 +210,7 @@ public IdentityItemRequestBuilder(string rawUrl) : base("{+baseurl}/external/con { } /// - /// Delete an identity resource to remove the corresponding member from an externalGroup. + /// Delete navigation property members for external /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs b/src/generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs index e5f3eaa291..544b6a1c28 100644 --- a/src/generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Groups.Item.Members { +namespace ApiSdk.External.Connections.Item.Groups.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an identity resource for a new member in an externalGroup. - /// Find more info here + /// Create new navigation property to members for external /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an identity resource for a new member in an externalGroup.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for external"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an identity resource for a new member in an externalGroup. + /// Create new navigation property to members for external /// /// A /// The request body diff --git a/src/generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs index 3911bf534c..69ca7704fa 100644 --- a/src/generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Count { +namespace ApiSdk.External.Connections.Item.Items.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs index 637a1bd4bc..b1a373e7f7 100644 --- a/src/generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.Activities { +namespace ApiSdk.External.Connections.Item.Items.Item.Activities +{ /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. /// - public class ActivitiesRequestBuilder : BaseCliRequestBuilder + public class ActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs index 17610fc6a4..96b268abdf 100644 --- a/src/generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Count { +namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs index 9dfd321ef2..d8e2e5828b 100644 --- a/src/generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Item { +namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Item +{ /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. /// - public class ExternalActivityItemRequestBuilder : BaseCliRequestBuilder + public class ExternalActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property activities for external diff --git a/src/generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs index f71ede00e9..f85440dc63 100644 --- a/src/generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Item.PerformedBy { +namespace ApiSdk.External.Connections.Item.Items.Item.Activities.Item.PerformedBy +{ /// /// Provides operations to manage the performedBy property of the microsoft.graph.externalConnectors.externalActivity entity. /// - public class PerformedByRequestBuilder : BaseCliRequestBuilder + public class PerformedByRequestBuilder : BaseCliRequestBuilder { /// /// Represents an identity used to identify who is responsible for the activity. diff --git a/src/generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index 03a2ae9774..28d3e10d3b 100644 --- a/src/generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item { +namespace ApiSdk.External.Connections.Item.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ExternalItemItemRequestBuilder : BaseCliRequestBuilder + public class ExternalItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. @@ -168,13 +169,14 @@ public Command BuildMicrosoftGraphExternalConnectorsAddActivitiesNavCommand() return command; } /// - /// Update the navigation property items in external + /// Create a new externalItem object. + /// Find more info here /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update the navigation property items in external"; + command.Description = "Create a new externalItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0"; var externalConnectionIdOption = new Option("--external-connection-id", description: "The unique identifier of externalConnection") { }; externalConnectionIdOption.IsRequired = true; @@ -277,7 +279,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property items in external + /// Create a new externalItem object. /// /// A /// The request body diff --git a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs index 888bc3f0d9..ffb470cc6b 100644 --- a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs +++ b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { - public class AddActivitiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ + #pragma warning disable CS1591 + public class AddActivitiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs index f41ed3f1a9..ab569145e2 100644 --- a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs +++ b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/AddActivitiesPostResponse.cs @@ -6,8 +6,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { - public class AddActivitiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ + #pragma warning disable CS1591 + public class AddActivitiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivityResult.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivityResult.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs index 3ae2751d84..4c81b11e02 100644 --- a/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities { +namespace ApiSdk.External.Connections.Item.Items.Item.MicrosoftGraphExternalConnectorsAddActivities +{ /// /// Provides operations to call the addActivities method. /// - public class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action addActivities @@ -76,7 +77,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Item/Items/ItemsRequestBuilder.cs b/src/generated/External/Connections/Item/Items/ItemsRequestBuilder.cs index 30eef224d2..a9666c3d32 100644 --- a/src/generated/External/Connections/Item/Items/ItemsRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Items/ItemsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Items { +namespace ApiSdk.External.Connections.Item.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs index 1b086607da..c7869f197d 100644 --- a/src/generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Operations.Count { +namespace ApiSdk.External.Connections.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs b/src/generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs index 4b9efe52a9..6a154c8830 100644 --- a/src/generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Operations.Item { +namespace ApiSdk.External.Connections.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class ConnectionOperationItemRequestBuilder : BaseCliRequestBuilder + public class ConnectionOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for external diff --git a/src/generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs b/src/generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs index fa9e2741b2..28754d61ea 100644 --- a/src/generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Operations { +namespace ApiSdk.External.Connections.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs index b7f37481ca..028bd19b5f 100644 --- a/src/generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External.Connections.Item.Schema { +namespace ApiSdk.External.Connections.Item.Schema +{ /// /// Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity. /// - public class SchemaRequestBuilder : BaseCliRequestBuilder + public class SchemaRequestBuilder : BaseCliRequestBuilder { /// /// Read the properties and relationships of a schema object. diff --git a/src/generated/External/ExternalRequestBuilder.cs b/src/generated/External/ExternalRequestBuilder.cs index de6f454436..b6b60a05c0 100644 --- a/src/generated/External/ExternalRequestBuilder.cs +++ b/src/generated/External/ExternalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.External { +namespace ApiSdk.External +{ /// /// Provides operations to manage the external singleton. /// - public class ExternalRequestBuilder : BaseCliRequestBuilder + public class ExternalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. diff --git a/src/generated/FilterOperators/Count/CountRequestBuilder.cs b/src/generated/FilterOperators/Count/CountRequestBuilder.cs index f6cfc1ecd7..0054b73718 100644 --- a/src/generated/FilterOperators/Count/CountRequestBuilder.cs +++ b/src/generated/FilterOperators/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.FilterOperators.Count { +namespace ApiSdk.FilterOperators.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/generated/FilterOperators/FilterOperatorsRequestBuilder.cs index c1081ef5a1..4ee7b5673c 100644 --- a/src/generated/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/generated/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.FilterOperators { +namespace ApiSdk.FilterOperators +{ /// /// Provides operations to manage the collection of filterOperatorSchema entities. /// - public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder + public class FilterOperatorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of filterOperatorSchema entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs b/src/generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs index 94a3bad631..78a1571d65 100644 --- a/src/generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs +++ b/src/generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.FilterOperators.Item { +namespace ApiSdk.FilterOperators.Item +{ /// /// Provides operations to manage the collection of filterOperatorSchema entities. /// - public class FilterOperatorSchemaItemRequestBuilder : BaseCliRequestBuilder + public class FilterOperatorSchemaItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from filterOperators diff --git a/src/generated/Functions/Count/CountRequestBuilder.cs b/src/generated/Functions/Count/CountRequestBuilder.cs index 1fd78506ef..de5677034a 100644 --- a/src/generated/Functions/Count/CountRequestBuilder.cs +++ b/src/generated/Functions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Functions.Count { +namespace ApiSdk.Functions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Functions/FunctionsRequestBuilder.cs b/src/generated/Functions/FunctionsRequestBuilder.cs index 67fbd598b0..da94a0359a 100644 --- a/src/generated/Functions/FunctionsRequestBuilder.cs +++ b/src/generated/Functions/FunctionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Functions { +namespace ApiSdk.Functions +{ /// /// Provides operations to manage the collection of attributeMappingFunctionSchema entities. /// - public class FunctionsRequestBuilder : BaseCliRequestBuilder + public class FunctionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of attributeMappingFunctionSchema entities. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs b/src/generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs index fcc3d2f300..73d108fafe 100644 --- a/src/generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs +++ b/src/generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Functions.Item { +namespace ApiSdk.Functions.Item +{ /// /// Provides operations to manage the collection of attributeMappingFunctionSchema entities. /// - public class AttributeMappingFunctionSchemaItemRequestBuilder : BaseCliRequestBuilder + public class AttributeMappingFunctionSchemaItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from functions diff --git a/src/generated/GraphClient.cs b/src/generated/GraphClient.cs index b24e0b4683..7b48e656f4 100644 --- a/src/generated/GraphClient.cs +++ b/src/generated/GraphClient.cs @@ -87,11 +87,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk { +namespace ApiSdk +{ /// /// The main entry point of the SDK, exposes the configuration and the fluent API. /// - public class GraphClient : BaseCliRequestBuilder + public class GraphClient : BaseCliRequestBuilder { /// /// Provides operations to manage the admin singleton. @@ -778,6 +779,8 @@ public Command BuildDirectoryNavCommand() execCommands.Add(builder.BuildGetCommand()); nonExecCommands.Add(builder.BuildOnPremisesSynchronizationNavCommand()); execCommands.Add(builder.BuildPatchCommand()); + nonExecCommands.Add(builder.BuildSubscriptionsNavCommand()); + nonExecCommands.Add(builder.BuildSubscriptionsWithCommerceSubscriptionIdRbCommand()); foreach (var cmd in execCommands) { command.AddCommand(cmd); @@ -1287,8 +1290,10 @@ public Command BuildIdentityNavCommand() var execCommands = new List(); var nonExecCommands = new List(); nonExecCommands.Add(builder.BuildApiConnectorsNavCommand()); + nonExecCommands.Add(builder.BuildAuthenticationEventListenersNavCommand()); nonExecCommands.Add(builder.BuildB2xUserFlowsNavCommand()); nonExecCommands.Add(builder.BuildConditionalAccessNavCommand()); + nonExecCommands.Add(builder.BuildCustomAuthenticationExtensionsNavCommand()); execCommands.Add(builder.BuildGetCommand()); nonExecCommands.Add(builder.BuildIdentityProvidersNavCommand()); execCommands.Add(builder.BuildPatchCommand()); @@ -1979,6 +1984,7 @@ public Command BuildSecurityNavCommand() nonExecCommands.Add(builder.BuildAttackSimulationNavCommand()); nonExecCommands.Add(builder.BuildCasesNavCommand()); execCommands.Add(builder.BuildGetCommand()); + nonExecCommands.Add(builder.BuildIdentitiesNavCommand()); nonExecCommands.Add(builder.BuildIncidentsNavCommand()); nonExecCommands.Add(builder.BuildLabelsNavCommand()); nonExecCommands.Add(builder.BuildMicrosoftGraphSecurityRunHuntingQueryNavCommand()); @@ -2283,6 +2289,7 @@ public Command BuildTenantRelationshipsNavCommand() nonExecCommands.Add(builder.BuildFindTenantInformationByDomainNameWithDomainNameRbCommand()); nonExecCommands.Add(builder.BuildFindTenantInformationByTenantIdWithTenantIdRbCommand()); execCommands.Add(builder.BuildGetCommand()); + nonExecCommands.Add(builder.BuildMultiTenantOrganizationNavCommand()); execCommands.Add(builder.BuildPatchCommand()); foreach (var cmd in execCommands) { diff --git a/src/generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs b/src/generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs index eec7fd5a54..d407cb2822 100644 --- a/src/generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs +++ b/src/generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupLifecyclePolicies.Count { +namespace ApiSdk.GroupLifecyclePolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs b/src/generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs index c7b54ca39e..b0c15deeb6 100644 --- a/src/generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs +++ b/src/generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupLifecyclePolicies { +namespace ApiSdk.GroupLifecyclePolicies +{ /// /// Provides operations to manage the collection of groupLifecyclePolicy entities. /// - public class GroupLifecyclePoliciesRequestBuilder : BaseCliRequestBuilder + public class GroupLifecyclePoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of groupLifecyclePolicy entities. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs index 30665cfcc3..aa5949dc89 100644 --- a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs +++ b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup { - public class AddGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup +{ + #pragma warning disable CS1591 + public class AddGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index da59cd7614..e45cfeafe8 100644 --- a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup { - public class AddGroupPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup +{ + #pragma warning disable CS1591 + public class AddGroupPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index 96d11188a2..18247d5f8a 100644 --- a/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup { +namespace ApiSdk.GroupLifecyclePolicies.Item.AddGroup +{ /// /// Provides operations to call the addGroup method. /// - public class AddGroupRequestBuilder : BaseCliRequestBuilder + public class AddGroupRequestBuilder : BaseCliRequestBuilder { /// /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. diff --git a/src/generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs b/src/generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs index f3ae4d7e0c..649647b543 100644 --- a/src/generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs +++ b/src/generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item { +namespace ApiSdk.GroupLifecyclePolicies.Item +{ /// /// Provides operations to manage the collection of groupLifecyclePolicy entities. /// - public class GroupLifecyclePolicyItemRequestBuilder : BaseCliRequestBuilder + public class GroupLifecyclePolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addGroup method. diff --git a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs index 8bd83488bf..aabc3fb6f1 100644 --- a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs +++ b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup { - public class RemoveGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup +{ + #pragma warning disable CS1591 + public class RemoveGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index 8891a97a7d..9ff4afec51 100644 --- a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup { - public class RemoveGroupPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup +{ + #pragma warning disable CS1591 + public class RemoveGroupPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs index 8e4f29ed28..057fc207c9 100644 --- a/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs +++ b/src/generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup { +namespace ApiSdk.GroupLifecyclePolicies.Item.RemoveGroup +{ /// /// Provides operations to call the removeGroup method. /// - public class RemoveGroupRequestBuilder : BaseCliRequestBuilder + public class RemoveGroupRequestBuilder : BaseCliRequestBuilder { /// /// Removes a group from a lifecycle policy. diff --git a/src/generated/GroupSettingTemplates/Count/CountRequestBuilder.cs b/src/generated/GroupSettingTemplates/Count/CountRequestBuilder.cs index 16101a505d..d2f4cca813 100644 --- a/src/generated/GroupSettingTemplates/Count/CountRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Count { +namespace ApiSdk.GroupSettingTemplates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/GroupSettingTemplates/Delta/DeltaGetResponse.cs b/src/generated/GroupSettingTemplates/Delta/DeltaGetResponse.cs index 8415f95c68..49f5b12083 100644 --- a/src/generated/GroupSettingTemplates/Delta/DeltaGetResponse.cs +++ b/src/generated/GroupSettingTemplates/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs b/src/generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs index 1728a0578e..a724447f6a 100644 --- a/src/generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Delta { +namespace ApiSdk.GroupSettingTemplates.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groupSettingTemplat { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 709f8d86d9..656073b066 100644 --- a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index c0aea86f1b..9993740950 100644 --- a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index a2c9cebb77..fc431d831d 100644 --- a/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties { +namespace ApiSdk.GroupSettingTemplates.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostRequestBody.cs index f0cf6c4f6f..00a8acb128 100644 --- a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostResponse.cs b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostResponse.cs index f8faf8aeec..34d4e6d916 100644 --- a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs index 085d9cf6d0..fe9904c281 100644 --- a/src/generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.GetByIds { +namespace ApiSdk.GroupSettingTemplates.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs b/src/generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs index 15e2541514..92705de280 100644 --- a/src/generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates { +namespace ApiSdk.GroupSettingTemplates +{ /// /// Provides operations to manage the collection of groupSettingTemplate entities. /// - public class GroupSettingTemplatesRequestBuilder : BaseCliRequestBuilder + public class GroupSettingTemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of groupSettingTemplate entities. @@ -242,7 +243,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index abb2bd17ae..4be9419c5d 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index 152f9c0c64..455ef3e298 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 7b76413d5c..38c23c7324 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups { +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index 1406641b72..826de46a78 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index aca2841351..00c771c083 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 746de05598..cb092c4c07 100644 --- a/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects { +namespace ApiSdk.GroupSettingTemplates.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 13fc6060f6..8c895cc74f 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 91c4174a85..fef3e5814e 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 50669fd09b..4e59085478 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups { +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index b580116f6e..95a84ad708 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index b271b15f22..ac090a2f40 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 4c2cd55b84..b750558a89 100644 --- a/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects { +namespace ApiSdk.GroupSettingTemplates.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs index 3261e1407d..5bb53a4759 100644 --- a/src/generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item { +namespace ApiSdk.GroupSettingTemplates.Item +{ /// /// Provides operations to manage the collection of groupSettingTemplate entities. /// - public class GroupSettingTemplateItemRequestBuilder : BaseCliRequestBuilder + public class GroupSettingTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the checkMemberGroups method. diff --git a/src/generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index b9d094e9bb..45cdfa3418 100644 --- a/src/generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.Item.Restore { +namespace ApiSdk.GroupSettingTemplates.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 4e77d29d1e..419be295ef 100644 --- a/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.GroupSettingTemplates.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.GroupSettingTemplates.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs index ff7ba711db..c1036b6a4d 100644 --- a/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettingTemplates.ValidateProperties { +namespace ApiSdk.GroupSettingTemplates.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/GroupSettings/Count/CountRequestBuilder.cs b/src/generated/GroupSettings/Count/CountRequestBuilder.cs index ab3de61767..c9e63086e5 100644 --- a/src/generated/GroupSettings/Count/CountRequestBuilder.cs +++ b/src/generated/GroupSettings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettings.Count { +namespace ApiSdk.GroupSettings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/GroupSettings/GroupSettingsRequestBuilder.cs b/src/generated/GroupSettings/GroupSettingsRequestBuilder.cs index 268f1b77a8..aa47f92671 100644 --- a/src/generated/GroupSettings/GroupSettingsRequestBuilder.cs +++ b/src/generated/GroupSettings/GroupSettingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettings { +namespace ApiSdk.GroupSettings +{ /// /// Provides operations to manage the collection of groupSetting entities. /// - public class GroupSettingsRequestBuilder : BaseCliRequestBuilder + public class GroupSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of groupSetting entities. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs b/src/generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs index 6202d0945e..1b4f9f4973 100644 --- a/src/generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs +++ b/src/generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupSettings.Item { +namespace ApiSdk.GroupSettings.Item +{ /// /// Provides operations to manage the collection of groupSetting entities. /// - public class GroupSettingItemRequestBuilder : BaseCliRequestBuilder + public class GroupSettingItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a tenant-level or group-specific groupSetting object. diff --git a/src/generated/Groups/Count/CountRequestBuilder.cs b/src/generated/Groups/Count/CountRequestBuilder.cs index 423b01c50c..881cdfb994 100644 --- a/src/generated/Groups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Count { +namespace ApiSdk.Groups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Delta/DeltaGetResponse.cs b/src/generated/Groups/Delta/DeltaGetResponse.cs index 120e65417c..3a9b56eec8 100644 --- a/src/generated/Groups/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Group.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Group.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Delta/DeltaRequestBuilder.cs index 423cd4f0cc..56c45ec786 100644 --- a/src/generated/Groups/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Delta { +namespace ApiSdk.Groups.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-delta?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/delta(){?%24 { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index e6e0bf4a33..bb2aff5208 100644 --- a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs index 285ca69a14..2f8be12832 100644 --- a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs +++ b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.GetAvailableExtensionProperties { - public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.GetAvailableExtensionProperties +{ + #pragma warning disable CS1591 + public class GetAvailableExtensionPropertiesPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 913bd91ad4..a6d89ce187 100644 --- a/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.GetAvailableExtensionProperties { +namespace ApiSdk.Groups.GetAvailableExtensionProperties +{ /// /// Provides operations to call the getAvailableExtensionProperties method. /// - public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder + public class GetAvailableExtensionPropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/GetByIds/GetByIdsPostRequestBody.cs b/src/generated/Groups/GetByIds/GetByIdsPostRequestBody.cs index 529988993c..cd57ed7f0d 100644 --- a/src/generated/Groups/GetByIds/GetByIdsPostRequestBody.cs +++ b/src/generated/Groups/GetByIds/GetByIdsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.GetByIds { - public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/GetByIds/GetByIdsPostResponse.cs b/src/generated/Groups/GetByIds/GetByIdsPostResponse.cs index e9cd820c9a..795955f68e 100644 --- a/src/generated/Groups/GetByIds/GetByIdsPostResponse.cs +++ b/src/generated/Groups/GetByIds/GetByIdsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.GetByIds { - public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.GetByIds +{ + #pragma warning disable CS1591 + public class GetByIdsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/GetByIds/GetByIdsRequestBuilder.cs b/src/generated/Groups/GetByIds/GetByIdsRequestBuilder.cs index 33524cd818..b6cacdf071 100644 --- a/src/generated/Groups/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/generated/Groups/GetByIds/GetByIdsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.GetByIds { +namespace ApiSdk.Groups.GetByIds +{ /// /// Provides operations to call the getByIds method. /// - public class GetByIdsRequestBuilder : BaseCliRequestBuilder + public class GetByIdsRequestBuilder : BaseCliRequestBuilder { /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: @@ -65,7 +66,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/GroupsRequestBuilder.cs b/src/generated/Groups/GroupsRequestBuilder.cs index 8f398da97e..2e6ebb8516 100644 --- a/src/generated/Groups/GroupsRequestBuilder.cs +++ b/src/generated/Groups/GroupsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups { +namespace ApiSdk.Groups +{ /// /// Provides operations to manage the collection of group entities. /// - public class GroupsRequestBuilder : BaseCliRequestBuilder + public class GroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of group entities. @@ -101,14 +102,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; + command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -288,7 +289,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -350,7 +353,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// /// A /// The request body diff --git a/src/generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs b/src/generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs index cf2c0259d4..04db372ebc 100644 --- a/src/generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs +++ b/src/generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AcceptedSenders { +namespace ApiSdk.Groups.Item.AcceptedSenders +{ /// /// Provides operations to manage the acceptedSenders property of the microsoft.graph.group entity. /// - public class AcceptedSendersRequestBuilder : BaseCliRequestBuilder + public class AcceptedSendersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.groups.item.acceptedSenders.item collection @@ -72,6 +73,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -100,6 +105,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -115,6 +121,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -128,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -162,14 +171,14 @@ public Command BuildRefNavCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AcceptedSendersRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public AcceptedSendersRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AcceptedSendersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public AcceptedSendersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -218,6 +227,16 @@ public class AcceptedSendersRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs index 3e6d7deca4..b60f7a4e31 100644 --- a/src/generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AcceptedSenders.Count { +namespace ApiSdk.Groups.Item.AcceptedSenders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/acceptedSenders/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/AcceptedSenders/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/AcceptedSenders/Item/DirectoryObjectItemRequestBuilder.cs index 0c3d1717f3..9d1e9135f5 100644 --- a/src/generated/Groups/Item/AcceptedSenders/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/AcceptedSenders/Item/DirectoryObjectItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Groups.Item.AcceptedSenders.Item { +namespace ApiSdk.Groups.Item.AcceptedSenders.Item +{ /// /// Builds and executes requests for operations under \groups\{group-id}\acceptedSenders\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of group entities. diff --git a/src/generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs index 4da8c110f9..0d298f6b59 100644 --- a/src/generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AcceptedSenders.Item.Ref { +namespace ApiSdk.Groups.Item.AcceptedSenders.Item.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove acceptedSender diff --git a/src/generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs index f18a570272..a6099d0027 100644 --- a/src/generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AcceptedSenders.Ref { +namespace ApiSdk.Groups.Item.AcceptedSenders.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove acceptedSender @@ -132,7 +133,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs b/src/generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs index 0aa6ed9c1c..cffcc07efd 100644 --- a/src/generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs +++ b/src/generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AddFavorite { +namespace ApiSdk.Groups.Item.AddFavorite +{ /// /// Provides operations to call the addFavorite method. /// - public class AddFavoriteRequestBuilder : BaseCliRequestBuilder + public class AddFavoriteRequestBuilder : BaseCliRequestBuilder { /// /// Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. diff --git a/src/generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index a8b68fd407..86b1acaab2 100644 --- a/src/generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AppRoleAssignments { +namespace ApiSdk.Groups.Item.AppRoleAssignments +{ /// /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.group entity. /// - public class AppRoleAssignmentsRequestBuilder : BaseCliRequestBuilder + public class AppRoleAssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.group entity. @@ -105,14 +106,14 @@ public Command BuildCreateCommand() return command; } /// - /// Represents the app roles a group has been granted for an application. Supports $expand. + /// Retrieve the list of appRoleAssignment that have been granted to a group. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Represents the app roles a group has been granted for an application. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-approleassignments?view=graph-rest-1.0"; + command.Description = "Retrieve the list of appRoleAssignment that have been granted to a group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-approleassignments?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -201,7 +202,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -227,7 +230,7 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups { } /// - /// Represents the app roles a group has been granted for an application. Supports $expand. + /// Retrieve the list of appRoleAssignment that have been granted to a group. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +270,7 @@ public RequestInformation ToPostRequestInformation(AppRoleAssignment body, Actio return requestInfo; } /// - /// Represents the app roles a group has been granted for an application. Supports $expand. + /// Retrieve the list of appRoleAssignment that have been granted to a group. /// public class AppRoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs index aca7e910fe..c558f5bee3 100644 --- a/src/generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AppRoleAssignments.Count { +namespace ApiSdk.Groups.Item.AppRoleAssignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index 46b209c510..86977e950a 100644 --- a/src/generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AppRoleAssignments.Item { +namespace ApiSdk.Groups.Item.AppRoleAssignments.Item +{ /// /// Provides operations to manage the appRoleAssignments property of the microsoft.graph.group entity. /// - public class AppRoleAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class AppRoleAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes an appRoleAssignment that a group has been granted. diff --git a/src/generated/Groups/Item/AssignLicense/AssignLicensePostRequestBody.cs b/src/generated/Groups/Item/AssignLicense/AssignLicensePostRequestBody.cs index 7fc40c1b76..264b5a1496 100644 --- a/src/generated/Groups/Item/AssignLicense/AssignLicensePostRequestBody.cs +++ b/src/generated/Groups/Item/AssignLicense/AssignLicensePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.AssignLicense { - public class AssignLicensePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.AssignLicense +{ + #pragma warning disable CS1591 + public class AssignLicensePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"addLicenses", n => { AddLicenses = n.GetCollectionOfObjectValues(AssignedLicense.CreateFromDiscriminatorValue)?.ToList(); } }, - {"removeLicenses", n => { RemoveLicenses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "addLicenses", n => { AddLicenses = n.GetCollectionOfObjectValues(AssignedLicense.CreateFromDiscriminatorValue)?.ToList(); } }, + { "removeLicenses", n => { RemoveLicenses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs index 0cee179e9a..f9342059cb 100644 --- a/src/generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.AssignLicense { +namespace ApiSdk.Groups.Item.AssignLicense +{ /// /// Provides operations to call the assignLicense method. /// - public class AssignLicenseRequestBuilder : BaseCliRequestBuilder + public class AssignLicenseRequestBuilder : BaseCliRequestBuilder { /// /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. diff --git a/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs b/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs index 7c39712f22..da2ef9461f 100644 --- a/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs +++ b/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser { - public class AllowedCalendarSharingRolesWithUserGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser +{ + #pragma warning disable CS1591 + public class AllowedCalendarSharingRolesWithUserGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfEnumValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index bf93da1428..eab5ccac0f 100644 --- a/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser { +namespace ApiSdk.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser +{ /// /// Provides operations to call the allowedCalendarSharingRoles method. /// - public class AllowedCalendarSharingRolesWithUserRequestBuilder : BaseCliRequestBuilder + public class AllowedCalendarSharingRolesWithUserRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function allowedCalendarSharingRoles @@ -93,7 +94,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index 4a3fa2b2d3..689f2356ac 100644 --- a/src/generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions { +namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions +{ /// /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. /// - public class CalendarPermissionsRequestBuilder : BaseCliRequestBuilder + public class CalendarPermissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. - /// Find more info here + /// Create new navigation property to calendarPermissions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendar-post-calendarpermissions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to calendarPermissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. - /// Find more info here + /// The permissions of the users with whom the calendar is shared. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendar-list-calendarpermissions?view=graph-rest-1.0"; + command.Description = "The permissions of the users with whom the calendar is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -125,6 +124,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -153,6 +156,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -168,6 +172,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -181,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -196,18 +203,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CalendarPermissionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public CalendarPermissionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CalendarPermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public CalendarPermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. + /// The permissions of the users with whom the calendar is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -226,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. + /// Create new navigation property to calendarPermissions for groups /// /// A /// The request body @@ -247,7 +254,7 @@ public RequestInformation ToPostRequestInformation(CalendarPermission body, Acti return requestInfo; } /// - /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. + /// The permissions of the users with whom the calendar is shared. /// public class CalendarPermissionsRequestBuilderGetQueryParameters { @@ -273,6 +280,16 @@ public class CalendarPermissionsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs index dabe406566..9e2b025cd5 100644 --- a/src/generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index 6a346e5562..b2adf2777c 100644 --- a/src/generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarPermissions.Item +{ /// /// Provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. /// - public class CalendarPermissionItemRequestBuilder : BaseCliRequestBuilder + public class CalendarPermissionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete calendarPermission. - /// Find more info here + /// Delete navigation property calendarPermissions for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete calendarPermission.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendarpermission-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property calendarPermissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the specified permissions object of a user or group calendar that has been shared. - /// Find more info here + /// The permissions of the users with whom the calendar is shared. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the specified permissions object of a user or group calendar that has been shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0"; + command.Description = "The permissions of the users with whom the calendar is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -115,14 +114,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the permissions assigned to an existing share recipient or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. - /// Find more info here + /// Update the navigation property calendarPermissions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendarpermission-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property calendarPermissions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +185,7 @@ public CalendarPermissionItemRequestBuilder(string rawUrl) : base("{+baseurl}/gr { } /// - /// Delete calendarPermission. + /// Delete navigation property calendarPermissions for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the specified permissions object of a user or group calendar that has been shared. + /// The permissions of the users with whom the calendar is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the permissions assigned to an existing share recipient or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. + /// Update the navigation property calendarPermissions in groups /// /// A /// The request body @@ -246,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(CalendarPermission body, Act return requestInfo; } /// - /// Get the specified permissions object of a user or group calendar that has been shared. + /// The permissions of the users with whom the calendar is shared. /// public class CalendarPermissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarRequestBuilder.cs index 95000dc7a5..cc395b8282 100644 --- a/src/generated/Groups/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar { +namespace ApiSdk.Groups.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.group entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the allowedCalendarSharingRoles method. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs index a0662f4464..3066d353cf 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView { +namespace ApiSdk.Groups.Item.Calendar.CalendarView +{ /// /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. /// - public class CalendarViewRequestBuilder : BaseCliRequestBuilder + public class CalendarViewRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. @@ -82,13 +83,12 @@ public Command BuildDeltaNavCommand() } /// /// The calendar view for the calendar. Navigation property. Read-only. - /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The calendar view for the calendar. Navigation property. Read-only.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0"; + command.Description = "The calendar view for the calendar. Navigation property. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -109,6 +109,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -139,6 +143,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -156,6 +161,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -169,7 +175,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -184,14 +192,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CalendarViewRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public CalendarViewRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CalendarViewRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public CalendarViewRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -250,6 +258,16 @@ public class CalendarViewRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs index 636396abe5..a2904501be 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaGetResponse.cs index ab8641f186..f18a5f7e5d 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs index 6f1d0e6edf..35985a5688 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Delta { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 35acb75a37..1e4169e660 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs index d8dc7d73dd..8d24a6e500 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Accept { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 126400bf96..0da2553c49 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,6 +151,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -186,6 +189,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -202,6 +206,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -217,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,18 +239,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -283,7 +290,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { @@ -319,6 +326,16 @@ public class AttachmentsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index c0e8e8d7af..3a4a89f508 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 4901866e0c..4a5ed224f2 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 7189e93ca7..bccf18de89 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index a5f5ced8c0..27c96f83a9 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,7 +147,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 2b398076d4..3740db2a85 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Calendar { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs index d75ff1e1a2..e4d58de12d 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 4d478b677d..ada7968f15 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Cancel { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs index c5073d31d2..382bfba265 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 8a6db99a32..4bf0bdfbb2 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Decline { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index a6842e592c..d2495e05d2 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs index 9cdc39b631..ca04c16e10 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item +{ /// /// Provides operations to manage the calendarView property of the microsoft.graph.calendar entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index bcba2f9be2..eba2fd20ee 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 3c553bbbc1..5b52a37c5f 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,13 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,6 +134,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -168,6 +172,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -184,6 +189,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -199,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -214,18 +222,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -265,7 +273,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { @@ -301,6 +309,16 @@ public class ExtensionsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 2e5ee0acca..888a470f32 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 1319cad591..db20564463 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 1dfc8d37dc..6fcbf7e66f 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Forward { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index b828e72099..20aef7473d 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs index 58e228d965..2856d2383b 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 5c3aac2ccf..96fcb4bb3b 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Delta { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 3df7f96e9b..186f3e10d3 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. @@ -81,13 +82,12 @@ public Command BuildDeltaNavCommand() } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. - /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0"; + command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -112,6 +112,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -143,6 +147,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -160,6 +165,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -174,7 +180,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -189,14 +197,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -255,6 +263,16 @@ public class InstancesRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index d2f54d7749..dc9038beac 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index f0d2604535..e961db3232 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Accept { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index ab59325c66..e1b5d82cfe 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -255,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +275,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -295,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index d0fd97d9d1..81cbbb8c4b 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 99098d76de..de24ad9220 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 051624d38c..0a46b75418 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 0a132f2166..e38e62132a 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -159,7 +159,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 849b107262..305851afb8 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Calendar { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 6a00073dc4..c4cfe6c4b3 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index b8f25fb9f1..fc37e4f6a5 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Cancel { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 357c0cc87d..d0b123b86f 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index dac7a005ad..f2ef937768 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Decline { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 306fe784ee..06be4f6c7a 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index a5f034000b..7bae673c5e 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 7ae6a0f2ca..8e79e6e9dc 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 361a45f069..b86a0137c1 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -256,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -277,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 7632a62ede..37b6bba5e8 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 9515810e33..230f19b677 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index a861f6add6..24b2043e4d 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Forward { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 76118197ba..8c6a8679f9 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 23e2382f20..6b687c7614 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 088d49e585..d8e616d2cf 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index d25b2a38fb..aff183988d 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.Instances.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 841159bbec..10fd6301bd 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 41ab32ea63..ad405af7f9 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index de2401bb14..6486cce6fa 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 9273856b2b..5f727bb3f0 100644 --- a/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Calendar.CalendarView.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs index 30f25a4935..1b901b7042 100644 --- a/src/generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/Events/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Calendar/Events/Delta/DeltaGetResponse.cs index 1036631f32..d2c46b1b0e 100644 --- a/src/generated/Groups/Item/Calendar/Events/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Calendar/Events/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs index db68d01772..97882f8afc 100644 --- a/src/generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Delta { +namespace ApiSdk.Groups.Item.Calendar.Events.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs index 43e50608e1..1f8127aa5e 100644 --- a/src/generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events { +namespace ApiSdk.Groups.Item.Calendar.Events +{ /// /// Provides operations to manage the events property of the microsoft.graph.calendar entity. /// - public class EventsRequestBuilder : BaseCliRequestBuilder + public class EventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the events property of the microsoft.graph.calendar entity. @@ -66,14 +67,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. - /// Find more info here + /// Create new navigation property to events for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendar-post-events?view=graph-rest-1.0"; + command.Description = "Create new navigation property to events for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -135,14 +135,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. - /// Find more info here + /// The events in the calendar. Navigation property. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0"; + command.Description = "The events in the calendar. Navigation property. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -155,6 +154,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -188,6 +191,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -204,6 +208,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -218,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,18 +240,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public EventsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public EventsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public EventsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public EventsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. + /// The events in the calendar. Navigation property. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. + /// Create new navigation property to events for groups /// /// A /// The request body @@ -284,7 +291,7 @@ public RequestInformation ToPostRequestInformation(Event body, Action - /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. + /// The events in the calendar. Navigation property. Read-only. /// public class EventsRequestBuilderGetQueryParameters { @@ -320,6 +327,16 @@ public class EventsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 7b8417780a..8769fb6d5d 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs index 7ee2aa7146..05573aa5ed 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Accept { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 9db0cc00d6..0b69de4b7f 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,6 +151,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -186,6 +189,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -202,6 +206,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -217,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,18 +239,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -283,7 +290,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { @@ -319,6 +326,16 @@ public class AttachmentsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs index a9ccf2f1db..0053b2d507 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 6a32dddb4c..952e43990d 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 09b7965c98..c56161938d 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 554dd4dfe3..9c37f8e5d4 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,7 +147,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs index d330dac180..cce43198f0 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Calendar { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs index 34c28a00f8..9bb47b22f1 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs index dd1983a8aa..1e829f595d 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Cancel { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index 661cdbff87..9b3a3c7c24 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs index d2055de2d5..61f02183c6 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Decline { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index c8bb81ba03..939ad3b00a 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs index de76e8c242..493d78f357 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item +{ /// /// Provides operations to manage the events property of the microsoft.graph.calendar entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs index aad474c094..04bb7638c5 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 4a9ea14569..1b1004d5a7 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,13 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,6 +134,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -168,6 +172,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -184,6 +189,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -199,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -214,18 +222,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -265,7 +273,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { @@ -301,6 +309,16 @@ public class ExtensionsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 20075ecb4e..41405eb663 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs index 233fec072a..69969dea21 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs index 301dac78a0..bae38edc46 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Forward { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs index 8aaa569a1d..cb1ce389a0 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs index cfac1e12c3..608904f5d2 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index b928db61ac..b7dff8b6d1 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Delta { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs index 677eec9a39..d8edd17581 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. @@ -81,13 +82,12 @@ public Command BuildDeltaNavCommand() } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. - /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0"; + command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -112,6 +112,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -143,6 +147,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -160,6 +165,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -174,7 +180,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -189,14 +197,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -255,6 +263,16 @@ public class InstancesRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 8a46fe505f..34078f3e64 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 208a4d5065..1206828e8c 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Accept { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index cbe07f5c29..82e8bada79 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -255,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +275,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -295,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index bd981dea8b..50a6d5fb7b 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 6398ecd32f..07ef07dd88 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 041ffbc8b0..04c5d0d885 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index f93cec5cac..4aab1d5761 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -159,7 +159,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 358ae0d928..b21f48b68a 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Calendar { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index be163ce25a..997609436d 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index dc2785e130..b54899c654 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Cancel { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 941f180b30..cab68365e1 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 5a3672a462..6e7e27cc37 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Decline { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index fc6d97a742..4521ce0144 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 2a58776100..b99eb4de99 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 5126127fee..d75655b0c7 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 410b17c055..414cb30eb7 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -256,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -277,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 10f67f9371..6a88022fc1 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 4aada6f833..3a498c1d3f 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index e1fa0c7652..23cb508851 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Forward { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index fa255b77de..ca46557062 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 5089280ed6..98f38458f6 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index a64f9f6757..f70fb18ea5 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index ec2ca3dcda..ebf8782a05 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.Instances.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index cfc136d469..3ea3585e36 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index a66d9728a3..b1b467a731 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index adf4c6b843..477229c823 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.Events.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index b552cf2a8a..094a788bc0 100644 --- a/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.Events.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Calendar.Events.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs b/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs index 28ec10db2e..39265ae3a5 100644 --- a/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.GetSchedule { - public class GetSchedulePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Calendar.GetSchedule +{ + #pragma warning disable CS1591 + public class GetSchedulePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -61,10 +64,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + { "EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostResponse.cs b/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostResponse.cs index 95aa69bd4e..73a26a6fac 100644 --- a/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostResponse.cs +++ b/src/generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Calendar.GetSchedule { - public class GetSchedulePostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Calendar.GetSchedule +{ + #pragma warning disable CS1591 + public class GetSchedulePostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ScheduleInformation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ScheduleInformation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs b/src/generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs index b89e7e6dd5..1fcf1a8c70 100644 --- a/src/generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Calendar.GetSchedule { +namespace ApiSdk.Groups.Item.Calendar.GetSchedule +{ /// /// Provides operations to call the getSchedule method. /// - public class GetScheduleRequestBuilder : BaseCliRequestBuilder + public class GetScheduleRequestBuilder : BaseCliRequestBuilder { /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs index 8577703e4d..b88928dbd6 100644 --- a/src/generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView { +namespace ApiSdk.Groups.Item.CalendarView +{ /// /// Provides operations to manage the calendarView property of the microsoft.graph.group entity. /// - public class CalendarViewRequestBuilder : BaseCliRequestBuilder + public class CalendarViewRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the calendarView property of the microsoft.graph.group entity. @@ -81,14 +82,14 @@ public Command BuildDeltaNavCommand() return command; } /// - /// The calendar view for the calendar. Read-only. + /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,from the default calendar of a group. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The calendar view for the calendar. Read-only.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-calendarview?view=graph-rest-1.0"; + command.Description = "Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,from the default calendar of a group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-calendarview?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -109,6 +110,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -139,6 +144,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -156,6 +162,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -169,7 +176,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -184,18 +193,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CalendarViewRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public CalendarViewRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CalendarViewRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public CalendarViewRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// The calendar view for the calendar. Read-only. + /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,from the default calendar of a group. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -214,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The calendar view for the calendar. Read-only. + /// Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,from the default calendar of a group. /// public class CalendarViewRequestBuilderGetQueryParameters { @@ -250,6 +259,16 @@ public class CalendarViewRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs index cfa7ea9aa2..91fc0c7621 100644 --- a/src/generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Count { +namespace ApiSdk.Groups.Item.CalendarView.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,35 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var startDateTimeOption = new Option("--start-date-time", description: "The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00") { + }; + startDateTimeOption.IsRequired = true; + command.AddOption(startDateTimeOption); + var endDateTimeOption = new Option("--end-date-time", description: "The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00") { + }; + endDateTimeOption.IsRequired = true; + command.AddOption(endDateTimeOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var startDateTime = invocationContext.ParseResult.GetValueForOption(startDateTimeOption); + var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(startDateTime)) q.QueryParameters.StartDateTime = startDateTime; + if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +78,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/$count?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/$count?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24filter,%24search}", rawUrl) { } /// @@ -93,6 +112,16 @@ public RequestInformation ToGetRequestInformation(Action public class CountRequestBuilderGetQueryParameters { + /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("endDateTime")] + public string? EndDateTime { get; set; } +#nullable restore +#else + [QueryParameter("endDateTime")] + public string EndDateTime { get; set; } +#endif /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -102,6 +131,26 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("startDateTime")] + public string? StartDateTime { get; set; } +#nullable restore +#else + [QueryParameter("startDateTime")] + public string StartDateTime { get; set; } #endif } } diff --git a/src/generated/Groups/Item/CalendarView/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/CalendarView/Delta/DeltaGetResponse.cs index 6590d511f4..ad96e0b7ab 100644 --- a/src/generated/Groups/Item/CalendarView/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/CalendarView/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 6a69af1e4a..8481abe097 100644 --- a/src/generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Delta { +namespace ApiSdk.Groups.Item.CalendarView.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index fac96fb737..c411f9a136 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index ac7eb5af9a..608e66e7fd 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Accept { +namespace ApiSdk.Groups.Item.CalendarView.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 6379945244..9bb28b3124 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments { +namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,6 +151,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -186,6 +189,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -202,6 +206,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -217,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,18 +239,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -283,7 +290,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { @@ -319,6 +326,16 @@ public class AttachmentsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 282b4838ef..fe449d3aed 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 5f047153c3..0af40caa29 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index f0efe75cea..6fd4f95776 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 49b68490c4..b656b9f321 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,7 +147,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 3ba4f50f74..f83b38ea22 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Calendar { +namespace ApiSdk.Groups.Item.CalendarView.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index fa66761b12..cc097745cb 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index b320806038..7b5d4a0a9b 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Cancel { +namespace ApiSdk.Groups.Item.CalendarView.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 26bd839628..b23c4fed35 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 71f02d2f7a..baba8e9d6c 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Decline { +namespace ApiSdk.Groups.Item.CalendarView.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index 16a402142f..1969a7d711 100644 --- a/src/generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.DismissReminder { +namespace ApiSdk.Groups.Item.CalendarView.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs index c820333882..2b01b4b203 100644 --- a/src/generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item +{ /// /// Provides operations to manage the calendarView property of the microsoft.graph.group entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index 9da6d6d8a1..d1b38abb1d 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index c5159f1c84..ccf1928253 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions { +namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,13 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,6 +134,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -168,6 +172,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -184,6 +189,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -199,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -214,18 +222,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -265,7 +273,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { @@ -301,6 +309,16 @@ public class ExtensionsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index d978584633..0baee32bbd 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 5bf3c64234..2b5bb63f22 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index ea0d94947a..b4d5ca1174 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Forward { +namespace ApiSdk.Groups.Item.CalendarView.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 8cb25a9dc2..38a4baa264 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Count { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs index 79de1b120b..261f223acc 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 0294d38e61..c0c249edba 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Delta { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 419afe3443..0bc4e21701 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. @@ -81,13 +82,12 @@ public Command BuildDeltaNavCommand() } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. - /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0"; + command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -112,6 +112,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -143,6 +147,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -160,6 +165,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -174,7 +180,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -189,14 +197,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -255,6 +263,16 @@ public class InstancesRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 97b706223e..c4ee16daca 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index f72eb1f268..eecc271595 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Accept { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 0d52979762..f847dacb28 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -255,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +275,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -295,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index f2d21353fc..c4738f6512 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ae9818fa11..29ac75be5b 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 729761f7fd..7046b7e128 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 7cd4754466..8ede410446 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -159,7 +159,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 6ab5937cd2..c3a8a997f8 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Calendar { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 165afa9d66..69bac0491a 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 42549eafc0..eb958983cb 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Cancel { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 97b41979d0..6b7df8f899 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 4707fe6c99..48f77eb52c 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Decline { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 07f657fa66..d9dfa006fc 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.DismissReminder { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 954f54cafc..3be3dfdd87 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 52deb12418..7ab2be6284 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index c79747f96f..9accc726c1 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -256,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -277,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 6ec22c37e8..60d1a453f9 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 5159c00588..8f7eddba49 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index a21f797cc0..47b010167f 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Forward { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index a512692bcb..63b35adf6b 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 44facb4c39..91def44c0a 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 06a821d473..efdc63d07a 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index be0c5f4ea8..5fd2ba02b4 100644 --- a/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.CalendarView.Item.Instances.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index cbd61ddbfa..77d13ae441 100644 --- a/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 0c948470b1..aaee84daab 100644 --- a/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.CalendarView.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index d48e08fc6c..03d058209d 100644 --- a/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CalendarView.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index ae84ae4362..c8a96839be 100644 --- a/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CalendarView.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.CalendarView.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppPostResponse.cs b/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppPostResponse.cs index 4f0ac755ea..691c50e9be 100644 --- a/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppPostResponse.cs +++ b/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CheckGrantedPermissionsForApp { - public class CheckGrantedPermissionsForAppPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.CheckGrantedPermissionsForApp +{ + #pragma warning disable CS1591 + public class CheckGrantedPermissionsForAppPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs b/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs index 32770f3db5..4c231094f5 100644 --- a/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs +++ b/src/generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CheckGrantedPermissionsForApp { +namespace ApiSdk.Groups.Item.CheckGrantedPermissionsForApp +{ /// /// Provides operations to call the checkGrantedPermissionsForApp method. /// - public class CheckGrantedPermissionsForAppRequestBuilder : BaseCliRequestBuilder + public class CheckGrantedPermissionsForAppRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkGrantedPermissionsForApp @@ -57,7 +58,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs index 60dfa4b8bc..d7357150a5 100644 --- a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs +++ b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CheckMemberGroups { - public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs index ab99d5c83e..51fa48943b 100644 --- a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs +++ b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CheckMemberGroups { - public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.CheckMemberGroups +{ + #pragma warning disable CS1591 + public class CheckMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 0ccfefc009..709a6d21da 100644 --- a/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CheckMemberGroups { +namespace ApiSdk.Groups.Item.CheckMemberGroups +{ /// /// Provides operations to call the checkMemberGroups method. /// - public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs index 789feac72e..95fe06b423 100644 --- a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs +++ b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CheckMemberObjects { - public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs index 1e4c573b86..a108b3bb0e 100644 --- a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs +++ b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.CheckMemberObjects { - public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.CheckMemberObjects +{ + #pragma warning disable CS1591 + public class CheckMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index d28e94ebb0..86a0548443 100644 --- a/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CheckMemberObjects { +namespace ApiSdk.Groups.Item.CheckMemberObjects +{ /// /// Provides operations to call the checkMemberObjects method. /// - public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class CheckMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action checkMemberObjects @@ -70,7 +71,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 4950717eea..084cac2d1d 100644 --- a/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations { +namespace ApiSdk.Groups.Item.Conversations +{ /// /// Provides operations to manage the conversations property of the microsoft.graph.group entity. /// - public class ConversationsRequestBuilder : BaseCliRequestBuilder + public class ConversationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the conversations property of the microsoft.graph.group entity. @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs index b69bab47db..ac6264a011 100644 --- a/src/generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Count { +namespace ApiSdk.Groups.Item.Conversations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index dcf589a556..1573f9449f 100644 --- a/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -15,21 +15,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item { +namespace ApiSdk.Groups.Item.Conversations.Item +{ /// /// Provides operations to manage the conversations property of the microsoft.graph.group entity. /// - public class ConversationItemRequestBuilder : BaseCliRequestBuilder + public class ConversationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0"; + command.Description = "Delete conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs index b8aba877e6..b05d08dae4 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; conversationIdOption.IsRequired = true; command.AddOption(conversationIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var conversationId = invocationContext.ParseResult.GetValueForOption(conversationIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 36914d9d8b..cd7216ee03 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item +{ /// /// Provides operations to manage the threads property of the microsoft.graph.conversation entity. /// - public class ConversationThreadItemRequestBuilder : BaseCliRequestBuilder + public class ConversationThreadItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property threads for groups diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs index 489ff27241..f549da523b 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs index 86d3a4077f..a5cf08a45d 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. @@ -139,14 +140,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to a post. - /// Find more info here + /// Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to a post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -240,7 +240,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -266,7 +268,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +308,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs index 899e3cb0fa..1bda8433e7 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 14b2dd62de..0441b8d4a0 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 21fc6ae191..bbf645928d 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index bf422b02d5..c9ae4ad724 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attachments for groups diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs index 298ce0b6b0..5dd3888935 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs index c9f73dcff6..1264bb02a1 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. @@ -122,13 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +251,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 7bed1f5889..2c6c720e45 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -80,14 +81,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -157,14 +157,13 @@ public Command BuildGetCommand() return command; } /// - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. - /// Find more info here + /// Update the navigation property extensions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property extensions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + /// Update the navigation property extensions in groups /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs index ae5a778f88..cc74d34c76 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs index d53029136c..1819e52e01 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Forward { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs index 519fb29ca7..e37291c864 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. @@ -139,14 +140,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to a post. - /// Find more info here + /// Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to a post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -240,7 +240,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -266,7 +268,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +308,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs index f8cb8d4da9..2a561dab11 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index a40691303f..8d59e89495 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 2128bfb159..cb0e3c3f87 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs index de59239aa8..168dbeb6fd 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attachments for groups diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs index 479f4bf02f..c6b2aa7e24 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Count { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs index 590267fc5e..b65fa1fa60 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. @@ -122,13 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +251,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs index 9ff2d5a37c..bcf816fb98 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -80,14 +81,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -157,14 +157,13 @@ public Command BuildGetCommand() return command; } /// - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. - /// Find more info here + /// Update the navigation property extensions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property extensions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + /// Update the navigation property extensions in groups /// /// A /// The request body @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs index 02e7a1b1fc..91abc7300c 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs index 18523d3233..88a7794de7 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Forward { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs index 41d71e28ab..01cb1a0fa8 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo +{ /// /// Provides operations to manage the inReplyTo property of the microsoft.graph.post entity. /// - public class InReplyToRequestBuilder : BaseCliRequestBuilder + public class InReplyToRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs index 8b8b9aab77..897fb66d3e 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index cc155d57d5..f020309d99 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Reply { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.InReplyTo.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action reply diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs index c481e683cf..d34c7f371d 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item +{ /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. /// - public class PostItemRequestBuilder : BaseCliRequestBuilder + public class PostItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs index b258ca2895..18099926b8 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 038dc654f4..65598faffd 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Reply { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts.Item.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action reply diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 76c026b4a5..70d9c4bdb5 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Posts +{ /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. /// - public class PostsRequestBuilder : BaseCliRequestBuilder + public class PostsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. - /// Find more info here + /// Get posts from groups /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0"; + command.Description = "Get posts from groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -178,7 +180,7 @@ public PostsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get posts from groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get posts from groups /// public class PostsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs index d23664d22f..f156ebc8f3 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 987cfb3963..e95fd65dbb 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Reply { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads.Item.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. diff --git a/src/generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs index d72b33e585..a099d5d80f 100644 --- a/src/generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs +++ b/src/generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Conversations.Item.Threads { +namespace ApiSdk.Groups.Item.Conversations.Item.Threads +{ /// /// Provides operations to manage the threads property of the microsoft.graph.conversation entity. /// - public class ThreadsRequestBuilder : BaseCliRequestBuilder + public class ThreadsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the threads property of the microsoft.graph.conversation entity. @@ -138,6 +139,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -172,6 +177,7 @@ public Command BuildListCommand() var conversationId = invocationContext.ParseResult.GetValueForOption(conversationIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -188,6 +194,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -203,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,14 +227,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ThreadsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ThreadsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ThreadsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ThreadsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -305,6 +314,16 @@ public class ThreadsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs b/src/generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs index c50495f180..7b32330624 100644 --- a/src/generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs +++ b/src/generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.CreatedOnBehalfOf { +namespace ApiSdk.Groups.Item.CreatedOnBehalfOf +{ /// /// Provides operations to manage the createdOnBehalfOf property of the microsoft.graph.group entity. /// - public class CreatedOnBehalfOfRequestBuilder : BaseCliRequestBuilder + public class CreatedOnBehalfOfRequestBuilder : BaseCliRequestBuilder { /// /// The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. diff --git a/src/generated/Groups/Item/Drive/DriveRequestBuilder.cs b/src/generated/Groups/Item/Drive/DriveRequestBuilder.cs index 8b47435e88..cf0984b81e 100644 --- a/src/generated/Groups/Item/Drive/DriveRequestBuilder.cs +++ b/src/generated/Groups/Item/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Drive { +namespace ApiSdk.Groups.Item.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.group entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// The group's default drive. Read-only. diff --git a/src/generated/Groups/Item/Drives/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Drives/Count/CountRequestBuilder.cs index 5c6cec522f..6b3a350c06 100644 --- a/src/generated/Groups/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Drives/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Drives.Count { +namespace ApiSdk.Groups.Item.Drives.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Drives/DrivesRequestBuilder.cs b/src/generated/Groups/Item/Drives/DrivesRequestBuilder.cs index 0638bb91e1..0ad4d60113 100644 --- a/src/generated/Groups/Item/Drives/DrivesRequestBuilder.cs +++ b/src/generated/Groups/Item/Drives/DrivesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Drives { +namespace ApiSdk.Groups.Item.Drives +{ /// /// Provides operations to manage the drives property of the microsoft.graph.group entity. /// - public class DrivesRequestBuilder : BaseCliRequestBuilder + public class DrivesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the drives property of the microsoft.graph.group entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs index c598be1215..b47144d4c6 100644 --- a/src/generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Drives.Item { +namespace ApiSdk.Groups.Item.Drives.Item +{ /// /// Provides operations to manage the drives property of the microsoft.graph.group entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// The group's drives. Read-only. diff --git a/src/generated/Groups/Item/Events/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Count/CountRequestBuilder.cs index bda5112417..d711d9b13e 100644 --- a/src/generated/Groups/Item/Events/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Count { +namespace ApiSdk.Groups.Item.Events.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Events/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Events/Delta/DeltaGetResponse.cs index d61edbb69d..5302e7cd06 100644 --- a/src/generated/Groups/Item/Events/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Events/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Events.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs index 926a803bf6..d730aa1384 100644 --- a/src/generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Delta { +namespace ApiSdk.Groups.Item.Events.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Events/EventsRequestBuilder.cs b/src/generated/Groups/Item/Events/EventsRequestBuilder.cs index bda57cef36..18c2085692 100644 --- a/src/generated/Groups/Item/Events/EventsRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/EventsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events { +namespace ApiSdk.Groups.Item.Events +{ /// /// Provides operations to manage the events property of the microsoft.graph.group entity. /// - public class EventsRequestBuilder : BaseCliRequestBuilder + public class EventsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the events property of the microsoft.graph.group entity. @@ -155,6 +156,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -183,6 +188,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -198,6 +204,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -211,7 +218,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -226,14 +235,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public EventsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public EventsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public EventsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public EventsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -303,6 +312,16 @@ public class EventsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs index d100c1f7b9..b485824960 100644 --- a/src/generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs index ad60bcc0d2..6926d96265 100644 --- a/src/generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Accept { +namespace ApiSdk.Groups.Item.Events.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index b033b2f826..3db5499f86 100644 --- a/src/generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Attachments { +namespace ApiSdk.Groups.Item.Events.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,14 +128,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,6 +151,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -186,6 +189,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -202,6 +206,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -217,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,18 +239,18 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public AttachmentsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -283,7 +290,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { @@ -319,6 +326,16 @@ public class AttachmentsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 97518487a7..57366dafb4 100644 --- a/src/generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Events.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ecfd2cd4c9..e7fa86de14 100644 --- a/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 578ada443b..26594e7c7b 100644 --- a/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Events.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 3ea0bc57c6..2b27399f3e 100644 --- a/src/generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Events.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,7 +147,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index a763cf7570..dbec3c5221 100644 --- a/src/generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Calendar { +namespace ApiSdk.Groups.Item.Events.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs index b48599bb1f..91a5ebca14 100644 --- a/src/generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs index 96c78d0795..cf131266ee 100644 --- a/src/generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Cancel { +namespace ApiSdk.Groups.Item.Events.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs index af473eb8fe..a8d0093470 100644 --- a/src/generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs index 634aec4246..6c4f2dff6c 100644 --- a/src/generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Decline { +namespace ApiSdk.Groups.Item.Events.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 466c995467..5eb8dcf547 100644 --- a/src/generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Events.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs index 39c2e6457b..bd8c455df9 100644 --- a/src/generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item { +namespace ApiSdk.Groups.Item.Events.Item +{ /// /// Provides operations to manage the events property of the microsoft.graph.group entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index 01418c2060..2d3b5c0c87 100644 --- a/src/generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Events.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index efd652782d..c185a0930b 100644 --- a/src/generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Extensions { +namespace ApiSdk.Groups.Item.Events.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -134,6 +135,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -168,6 +173,7 @@ public Command BuildListCommand() var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -184,6 +190,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -199,7 +206,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -214,14 +223,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -301,6 +310,16 @@ public class ExtensionsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a7bd9ae516..d9fd9abb65 100644 --- a/src/generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Events.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups diff --git a/src/generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 0575a5eb66..5196268ee5 100644 --- a/src/generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 57c68ed112..41045263be 100644 --- a/src/generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Forward { +namespace ApiSdk.Groups.Item.Events.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index 31e1ada40c..7a54863110 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Count { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; eventIdOption.IsRequired = true; command.AddOption(eventIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var eventId = invocationContext.ParseResult.GetValueForOption(eventIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs index d041bda95e..845a1b313d 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 71c2d98dd6..bf83395f23 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Delta { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs index a876960463..e7d4792854 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances { +namespace ApiSdk.Groups.Item.Events.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. @@ -81,13 +82,12 @@ public Command BuildDeltaNavCommand() } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. - /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0"; + command.Description = "The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -112,6 +112,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -143,6 +147,7 @@ public Command BuildListCommand() var endDateTime = invocationContext.ParseResult.GetValueForOption(endDateTimeOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -160,6 +165,7 @@ public Command BuildListCommand() if (!string.IsNullOrEmpty(endDateTime)) q.QueryParameters.EndDateTime = endDateTime; q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -174,7 +180,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -189,14 +197,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public InstancesRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public InstancesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -255,6 +263,16 @@ public class InstancesRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index a2e65d70b9..43865c4cf4 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Accept { - public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Accept +{ + #pragma warning disable CS1591 + public class AcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 0b0648deb6..0778e29b2c 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Accept { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Accept +{ /// /// Provides operations to call the accept method. /// - public class AcceptRequestBuilder : BaseCliRequestBuilder + public class AcceptRequestBuilder : BaseCliRequestBuilder { /// /// Accept the specified event in a user calendar. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index fd83d7c3f0..3e0f9487cf 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Create new navigation property to attachments for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0"; + command.Description = "Create new navigation property to attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to an event. - /// Find more info here + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to an event.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0"; + command.Description = "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -255,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +275,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Create new navigation property to attachments for groups /// /// A /// The request body @@ -295,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to an event. + /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 0b3dbd71ef..a20b34d3e8 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index acaa3425a2..3120b2b11d 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 2f9229ab30..03176ce967 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 5ee595dea7..70fbb6a9d1 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.event entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an attachment from a user calendar event, mail message, or group post. - /// Find more info here + /// Delete navigation property attachments for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an attachment from a user calendar event, mail message, or group post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property attachments for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -159,7 +159,7 @@ public AttachmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete an attachment from a user calendar event, mail message, or group post. + /// Delete navigation property attachments for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index ac900e4a8e..2e7f7b6f26 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Calendar { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Calendar +{ /// /// Provides operations to manage the calendar property of the microsoft.graph.event entity. /// - public class CalendarRequestBuilder : BaseCliRequestBuilder + public class CalendarRequestBuilder : BaseCliRequestBuilder { /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index f8952d144f..398260eca8 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Cancel { - public class CancelPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Cancel +{ + #pragma warning disable CS1591 + public class CancelPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 0b1c5239e6..4e08df169d 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Cancel { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 8d25a6d9e9..deafdae933 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Decline { - public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Decline +{ + #pragma warning disable CS1591 + public class DeclinePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 96cb1037a6..fa82262a34 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Decline { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Decline +{ /// /// Provides operations to call the decline method. /// - public class DeclineRequestBuilder : BaseCliRequestBuilder + public class DeclineRequestBuilder : BaseCliRequestBuilder { /// /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 78b77b9e19..bb98062b8f 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.DismissReminder { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.DismissReminder +{ /// /// Provides operations to call the dismissReminder method. /// - public class DismissReminderRequestBuilder : BaseCliRequestBuilder + public class DismissReminderRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 91a4fe7b9f..0094f8fa97 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.event entity. /// - public class EventItemRequestBuilder : BaseCliRequestBuilder + public class EventItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the accept method. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 6789ece0fd..1958f99faa 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 2c40c3cbdb..4b69c74462 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create new navigation property to extensions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0"; + command.Description = "Create new navigation property to extensions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -256,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create new navigation property to extensions for groups /// /// A /// The request body @@ -277,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 9b95e3d642..a2c5e080bc 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.event entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the event. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the event. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -247,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the event. Nullable. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 26a9d02368..572695d733 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index a87d82965c..6cc21766e4 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Forward { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 700cfd1b48..ad8fba6f38 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index db2f716fdb..06d26c97ed 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 35968f70bf..6abfbef867 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 9073ae72c4..4f142b132a 100644 --- a/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Events.Item.Instances.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 7ef09aa9a5..bbd8f76e02 100644 --- a/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.SnoozeReminder { - public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.SnoozeReminder +{ + #pragma warning disable CS1591 + public class SnoozeReminderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index f049873c95..f9dbe445f5 100644 --- a/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.SnoozeReminder { +namespace ApiSdk.Groups.Item.Events.Item.SnoozeReminder +{ /// /// Provides operations to call the snoozeReminder method. /// - public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder + public class SnoozeReminderRequestBuilder : BaseCliRequestBuilder { /// /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 127eb38adc..7c5a374735 100644 --- a/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Events.Item.TentativelyAccept { - public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Events.Item.TentativelyAccept +{ + #pragma warning disable CS1591 + public class TentativelyAcceptPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "SendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 96cd591449..8dc42b5bf0 100644 --- a/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Events.Item.TentativelyAccept { +namespace ApiSdk.Groups.Item.Events.Item.TentativelyAccept +{ /// /// Provides operations to call the tentativelyAccept method. /// - public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder + public class TentativelyAcceptRequestBuilder : BaseCliRequestBuilder { /// /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs index 42cdc702ad..5ff17fb4ca 100644 --- a/src/generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs index 98f94b923b..8dab11a022 100644 --- a/src/generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Extensions { +namespace ApiSdk.Groups.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.group entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.group entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a315a7bb21..83d9ff9873 100644 --- a/src/generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.group entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups diff --git a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 5acdce5648..d87170289b 100644 --- a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GetMemberGroups { - public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs index 24f64189a9..148be6e7fd 100644 --- a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs +++ b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GetMemberGroups { - public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.GetMemberGroups +{ + #pragma warning disable CS1591 + public class GetMemberGroupsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index ccbd5a2b38..f673e456cd 100644 --- a/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GetMemberGroups { +namespace ApiSdk.Groups.Item.GetMemberGroups +{ /// /// Provides operations to call the getMemberGroups method. /// - public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder + public class GetMemberGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 1fb81802a4..029820f663 100644 --- a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GetMemberObjects { - public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, + { "securityEnabledOnly", n => { SecurityEnabledOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs index 1c9997a0e8..f0c70c2f15 100644 --- a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs +++ b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GetMemberObjects { - public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.GetMemberObjects +{ + #pragma warning disable CS1591 + public class GetMemberObjectsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 93b3c3637d..895dcf64ec 100644 --- a/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GetMemberObjects { +namespace ApiSdk.Groups.Item.GetMemberObjects +{ /// /// Provides operations to call the getMemberObjects method. /// - public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder + public class GetMemberObjectsRequestBuilder : BaseCliRequestBuilder { /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/GroupItemRequestBuilder.cs b/src/generated/Groups/Item/GroupItemRequestBuilder.cs index 48ce8f146c..90e10ac554 100644 --- a/src/generated/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupItemRequestBuilder.cs @@ -57,11 +57,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item { +namespace ApiSdk.Groups.Item +{ /// /// Provides operations to manage the collection of group entities. /// - public class GroupItemRequestBuilder : BaseCliRequestBuilder + public class GroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptedSenders property of the microsoft.graph.group entity. @@ -705,14 +706,14 @@ public Command BuildOwnersNavCommand() return command; } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; + command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -1283,7 +1284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// /// A /// The request body diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs index ce6ced7fe8..1acc8dfa3c 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Count { +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs index f00a338393..0b708a0b01 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies { +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies +{ /// /// Provides operations to manage the groupLifecyclePolicies property of the microsoft.graph.group entity. /// - public class GroupLifecyclePoliciesRequestBuilder : BaseCliRequestBuilder + public class GroupLifecyclePoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the groupLifecyclePolicies property of the microsoft.graph.group entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs index cb77a20670..2a22324e33 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup { - public class AddGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup +{ + #pragma warning disable CS1591 + public class AddGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index e7d0bb71b3..aef7e4602e 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup { - public class AddGroupPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup +{ + #pragma warning disable CS1591 + public class AddGroupPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index fbb228b147..5ac39f229f 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup { +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.AddGroup +{ /// /// Provides operations to call the addGroup method. /// - public class AddGroupRequestBuilder : BaseCliRequestBuilder + public class AddGroupRequestBuilder : BaseCliRequestBuilder { /// /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs index 7022d5e0dc..0d26dc8f58 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item { +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item +{ /// /// Provides operations to manage the groupLifecyclePolicies property of the microsoft.graph.group entity. /// - public class GroupLifecyclePolicyItemRequestBuilder : BaseCliRequestBuilder + public class GroupLifecyclePolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addGroup method. diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs index ab98598e0e..cbc298ff44 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup { - public class RemoveGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup +{ + #pragma warning disable CS1591 + public class RemoveGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index 8278f39f62..b472eaf84b 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup { - public class RemoveGroupPostResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup +{ + #pragma warning disable CS1591 + public class RemoveGroupPostResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs index 8f2a1e7909..be9fe68039 100644 --- a/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup { +namespace ApiSdk.Groups.Item.GroupLifecyclePolicies.Item.RemoveGroup +{ /// /// Provides operations to call the removeGroup method. /// - public class RemoveGroupRequestBuilder : BaseCliRequestBuilder + public class RemoveGroupRequestBuilder : BaseCliRequestBuilder { /// /// Removes a group from a lifecycle policy. diff --git a/src/generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs index b1eb9805e7..2082211627 100644 --- a/src/generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.Count { +namespace ApiSdk.Groups.Item.MemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index add5044dff..22d217af29 100644 --- a/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Groups.Item.MemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 2eeac571c5..24d834d517 100644 --- a/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Groups.Item.MemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index a0eb17d245..d04bdc7701 100644 --- a/src/generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.GraphGroup.Count { +namespace ApiSdk.Groups.Item.MemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 551ebeb31b..572b92a40e 100644 --- a/src/generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.GraphGroup { +namespace ApiSdk.Groups.Item.MemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"; + command.Description = "Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-memberof?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index f8f1341b92..468878a262 100644 --- a/src/generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.Item { +namespace ApiSdk.Groups.Item.MemberOf.Item +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.group entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. diff --git a/src/generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index c925fb45d1..2ee9da9d97 100644 --- a/src/generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Groups.Item.MemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 0cad72eea1..3da6583820 100644 --- a/src/generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf.Item.GraphGroup { +namespace ApiSdk.Groups.Item.MemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"; + command.Description = "Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-memberof?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs b/src/generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs index 79afa0ed17..8932c87f19 100644 --- a/src/generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MemberOf { +namespace ApiSdk.Groups.Item.MemberOf +{ /// /// Provides operations to manage the memberOf property of the microsoft.graph.group entity. /// - public class MemberOfRequestBuilder : BaseCliRequestBuilder + public class MemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the memberOf property of the microsoft.graph.group entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-memberof?view=graph-rest-1.0"; + command.Description = "Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-memberof?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public MemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + /// Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// public class MemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/Count/CountRequestBuilder.cs index b8fcb1eadd..c0dde63a57 100644 --- a/src/generated/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Count { +namespace ApiSdk.Groups.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index 7a4733e78f..b297634f74 100644 --- a/src/generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphApplication.Count { +namespace ApiSdk.Groups.Item.Members.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index e775594865..cb2eadc22c 100644 --- a/src/generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphApplication { +namespace ApiSdk.Groups.Item.Members.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index 38d346f20b..cace186e60 100644 --- a/src/generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphDevice.Count { +namespace ApiSdk.Groups.Item.Members.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index d2198664f7..ab53069b75 100644 --- a/src/generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphDevice { +namespace ApiSdk.Groups.Item.Members.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index 3819252913..f2777f266d 100644 --- a/src/generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphGroup.Count { +namespace ApiSdk.Groups.Item.Members.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index b04ca44d97..8e81b45ac0 100644 --- a/src/generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphGroup { +namespace ApiSdk.Groups.Item.Members.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index 5f3e4b1f81..4a46e867a8 100644 --- a/src/generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphOrgContact.Count { +namespace ApiSdk.Groups.Item.Members.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 0019a0d1f5..5a1372edfb 100644 --- a/src/generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphOrgContact { +namespace ApiSdk.Groups.Item.Members.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index 489d8137b2..62f18cdfcc 100644 --- a/src/generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphServicePrincipal.Count { +namespace ApiSdk.Groups.Item.Members.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 34ac58cc97..a1c537b1bf 100644 --- a/src/generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.Members.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs index fb97a1aa4f..b78302eaf5 100644 --- a/src/generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphUser.Count { +namespace ApiSdk.Groups.Item.Members.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs index 3de14099c5..49acb60bc8 100644 --- a/src/generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.GraphUser { +namespace ApiSdk.Groups.Item.Members.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection"; + command.Description = "Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphUserRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// public class GraphUserRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs index 162637a01f..b179cfd362 100644 --- a/src/generated/Groups/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Groups.Item.Members.Item { +namespace ApiSdk.Groups.Item.Members.Item +{ /// /// Builds and executes requests for operations under \groups\{group-id}\members\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to application. diff --git a/src/generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 979bf1faa2..2e291ab279 100644 --- a/src/generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphApplication { +namespace ApiSdk.Groups.Item.Members.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index f53074cb4d..f25a158fa4 100644 --- a/src/generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphDevice { +namespace ApiSdk.Groups.Item.Members.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index 5017ed8f98..2ef4996b92 100644 --- a/src/generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphGroup { +namespace ApiSdk.Groups.Item.Members.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 8b191b3c25..e0f5a358a1 100644 --- a/src/generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphOrgContact { +namespace ApiSdk.Groups.Item.Members.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index f8fbfc56a6..2ba50541f1 100644 --- a/src/generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.Members.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index e20b568ed5..b3cd1a8b06 100644 --- a/src/generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.GraphUser { +namespace ApiSdk.Groups.Item.Members.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.user"; + command.Description = "Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphUserRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// public class GraphUserRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs index a0015d4570..61e00cfef2 100644 --- a/src/generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Item.Ref { +namespace ApiSdk.Groups.Item.Members.Item.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. diff --git a/src/generated/Groups/Item/Members/MembersRequestBuilder.cs b/src/generated/Groups/Item/Members/MembersRequestBuilder.cs index 161aa958cb..1095b7f74c 100644 --- a/src/generated/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/MembersRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members { +namespace ApiSdk.Groups.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.group entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.groups.item.members.item collection @@ -202,14 +203,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; + command.Description = "Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -298,7 +299,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -343,7 +346,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -362,7 +365,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Members/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/Members/Ref/RefRequestBuilder.cs index 0f3d7e8cfb..6c866c53cb 100644 --- a/src/generated/Groups/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/Members/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Members.Ref { +namespace ApiSdk.Groups.Item.Members.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; + command.Description = "Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + /// Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs index 00a332ec6c..ee5d95c7fa 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs index ee4bca468f..c1a4715bb3 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphApplication.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs index be0780eba7..6366d8b905 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphApplication { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs index 2117e9f037..47fd1a9f8f 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphDevice.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs index 181832ef61..d51e2b607e 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphDevice { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs index b1f5896614..707c8fa7bb 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphGroup.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs index 50e1082188..f379c6cc61 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphGroup { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs index 2522e5777e..6f714f1ae5 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphOrgContact.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 4d6c22ed5f..d9cffb4d2b 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphOrgContact { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs index 1be439bb53..3588bb26e1 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphServicePrincipal.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 3d7f63459a..1aee35bca8 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs index ea85c38fb1..f0c886b075 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphUser.Count { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs index c586941ab6..efd3174e31 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphUser { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs index 7124054a7c..fd23f41074 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item +{ /// /// Provides operations to manage the membersWithLicenseErrors property of the microsoft.graph.group entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// A list of group members with license errors from this group-based license assignment. Read-only. diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 952e9a861a..df5bb7cc2a 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphApplication { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 5b72640162..758a5121d9 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphDevice { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs index 5752c42add..e334c0fcee 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphGroup { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index aaf79d6da7..edf02d1997 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphOrgContact { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 972b25e180..eaffb30412 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs index 778fa804f5..3de87f2989 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphUser { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs b/src/generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs index bb6e88d3c5..feb734c83e 100644 --- a/src/generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.MembersWithLicenseErrors { +namespace ApiSdk.Groups.Item.MembersWithLicenseErrors +{ /// /// Provides operations to manage the membersWithLicenseErrors property of the microsoft.graph.group entity. /// - public class MembersWithLicenseErrorsRequestBuilder : BaseCliRequestBuilder + public class MembersWithLicenseErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the membersWithLicenseErrors property of the microsoft.graph.group entity. @@ -297,7 +298,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index 4beda77f0e..efecd2a6c0 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs index 008772a4b5..b4c1307ce0 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetNotebookFromWebUrl { - public class GetNotebookFromWebUrlPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetNotebookFromWebUrl +{ + #pragma warning disable CS1591 + public class GetNotebookFromWebUrlPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index 51d6ad608e..9fdad32f6c 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetNotebookFromWebUrl { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetNotebookFromWebUrl +{ /// /// Provides operations to call the getNotebookFromWebUrl method. /// - public class GetNotebookFromWebUrlRequestBuilder : BaseCliRequestBuilder + public class GetNotebookFromWebUrlRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs b/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs index 8796dfe3f9..4984ae2b19 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks { - public class GetRecentNotebooksWithIncludePersonalNotebooksGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks +{ + #pragma warning disable CS1591 + public class GetRecentNotebooksWithIncludePersonalNotebooksGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(RecentNotebook.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(RecentNotebook.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index 1c5dca7333..0ac934d2bb 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks +{ /// /// Provides operations to call the getRecentNotebooks method. /// - public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder : BaseCliRequestBuilder + public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getRecentNotebooks"; + command.Description = "Get a list of recentNotebook instances that have been accessed by the signed-in user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -93,7 +95,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -119,7 +123,7 @@ public GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(string rawUr { } /// - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. /// public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs index 21d495b97d..89f427e475 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.CopyNotebook { - public class CopyNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.CopyNotebook +{ + #pragma warning disable CS1591 + public class CopyNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"notebookFolder", n => { NotebookFolder = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "notebookFolder", n => { NotebookFolder = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index e8786177c4..7e02014bfd 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.CopyNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.CopyNotebook +{ /// /// Provides operations to call the copyNotebook method. /// - public class CopyNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index 8cf386cdd5..891a308e90 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item +{ /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. /// - public class NotebookItemRequestBuilder : BaseCliRequestBuilder + public class NotebookItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyNotebook method. @@ -82,14 +83,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a notebook object. - /// Find more info here + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a notebook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0"; + command.Description = "The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -285,7 +285,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a notebook object. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -325,7 +325,7 @@ public RequestInformation ToPatchRequestInformation(Notebook body, Action - /// Retrieve the properties and relationships of a notebook object. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index 91ae62f5ec..56d60d9b7e 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 9802ffdc77..4e87f9de3e 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index eaeb637d9f..cd92ec7ffd 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index a4b9b05e6b..ba42fd5061 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sectionGroups for groups diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 53508ae198..7365f4973d 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 35df8862ce..f08a367d3e 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index bf2d2d5039..9637135f6a 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of section groups from the specified section group. - /// Find more info here + /// The section groups in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -178,7 +180,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 498e3ebdd0..3072d99569 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index 75ede3ec16..0334b56024 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 2dffa56f35..eba4b5a02e 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index 49a8dd91ba..733f933de6 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 34175b4b93..730ccf9039 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index b3151dc6bb..c73b36ed49 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 93337dce35..0361419a21 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 185d8bd00e..644b3ce2a1 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,80 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var notebookIdOption = new Option("--notebook-id", description: "The unique identifier of notebook") { + }; + notebookIdOption.IsRequired = true; + command.AddOption(notebookIdOption); + var sectionGroupIdOption = new Option("--section-group-id", description: "The unique identifier of sectionGroup") { + }; + sectionGroupIdOption.IsRequired = true; + command.AddOption(sectionGroupIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var notebookId = invocationContext.ParseResult.GetValueForOption(notebookIdOption); + var sectionGroupId = invocationContext.ParseResult.GetValueForOption(sectionGroupIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (notebookId is not null) requestInfo.PathParameters.Add("notebook%2Did", notebookId); + if (sectionGroupId is not null) requestInfo.PathParameters.Add("sectionGroup%2Did", sectionGroupId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -177,6 +236,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 4120d097d0..43cfdd0474 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 3820ff10c6..68523edc81 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 7e995b02ae..d8d6437578 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index cff8d372d6..5c622a308c 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index bdd8c93ef4..a074d651f9 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 711e216912..d4fddafa76 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 5bf3a9d2ac..f86daf75b9 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index eb1987451d..6852e5dd07 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index b82ce72df2..4ecf5f086d 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -130,14 +130,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -263,7 +264,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -282,7 +283,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -303,7 +304,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 31ac606ff8..81d2ddce50 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 9a3c971549..3fc87dd14a 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index c8791663aa..050dbdddb1 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified section group. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// Find more info here + /// The sections in the section group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the section group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +251,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified section group. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -290,7 +291,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index f38b245b3d..ee9bd1d483 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. @@ -58,14 +59,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new section group in the specified notebook. - /// Find more info here + /// Create new navigation property to sectionGroups for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new section group in the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sectionGroups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -116,14 +116,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of section groups from the specified notebook. - /// Find more info here + /// The section groups in the notebook. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the notebook. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +238,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified notebook. + /// The section groups in the notebook. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -256,7 +257,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new section group in the specified notebook. + /// Create new navigation property to sectionGroups for groups /// /// A /// The request body @@ -277,7 +278,7 @@ public RequestInformation ToPostRequestInformation(SectionGroup body, Action - /// Retrieve a list of section groups from the specified notebook. + /// The section groups in the notebook. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index 0f23326e5a..a059efcbfb 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index 77f7e13618..a534fcc84b 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 770ddf1adf..c3430852d3 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index a5469ee536..38d8b6262a 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 1c23bcc59b..e2102ab067 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index eb5753473d..8e47781391 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index f8f105736e..79e698705a 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index a98f904899..9adb908a55 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var notebookIdOption = new Option("--notebook-id", description: "The unique identifier of notebook") { + }; + notebookIdOption.IsRequired = true; + command.AddOption(notebookIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var notebookId = invocationContext.ParseResult.GetValueForOption(notebookIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (notebookId is not null) requestInfo.PathParameters.Add("notebook%2Did", notebookId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -165,6 +218,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 26d6150fb4..b3b35065d0 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index fa99229cb7..da92acb9cd 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 6c78a25b7f..b17b8f19d8 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 11a44cb200..085f7ec650 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 8a20b9c2f4..6308faa171 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index fedfe53cde..61f3641207 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 97d3ece64d..c6a415e5d2 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 3586a00387..f4f839f8b7 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 80c5c32cd1..8951d75abc 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -124,14 +124,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -225,7 +224,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -251,7 +252,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +271,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -291,7 +292,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 3669431940..da2dcfc454 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index d966eff7df..a32e5b3d46 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index 633aed9eb4..08403d8f4e 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections { +namespace ApiSdk.Groups.Item.Onenote.Notebooks.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified notebook. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified notebook. - /// Find more info here + /// The sections in the notebook. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the notebook. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -238,7 +239,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified notebook. + /// The sections in the notebook. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified notebook. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -278,7 +279,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified notebook. + /// The sections in the notebook. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index 3aa78c3cc3..376c6b8fcd 100644 --- a/src/generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Notebooks { +namespace ApiSdk.Groups.Item.Onenote.Notebooks +{ /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. /// - public class NotebooksRequestBuilder : BaseCliRequestBuilder + public class NotebooksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new OneNote notebook. - /// Find more info here + /// Create new navigation property to notebooks for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new OneNote notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0"; + command.Description = "Create new navigation property to notebooks for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetRecentNotebooksWithIncludePersonalNotebooksRbCommand() return command; } /// - /// Retrieve a list of notebook objects. - /// Find more info here + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of notebook objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0"; + command.Description = "The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +261,7 @@ public NotebooksRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Retrieve a list of notebook objects. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -279,7 +280,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new OneNote notebook. + /// Create new navigation property to notebooks for groups /// /// A /// The request body @@ -300,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Notebook body, Action - /// Retrieve a list of notebook objects. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs b/src/generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs index 3ee146f62c..b44f844bd2 100644 --- a/src/generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote { +namespace ApiSdk.Groups.Item.Onenote +{ /// /// Provides operations to manage the onenote property of the microsoft.graph.group entity. /// - public class OnenoteRequestBuilder : BaseCliRequestBuilder + public class OnenoteRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property onenote for groups diff --git a/src/generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs index bae695629e..3a02a4d506 100644 --- a/src/generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Operations.Count { +namespace ApiSdk.Groups.Item.Onenote.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index d8fbcb4f80..8768226efe 100644 --- a/src/generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Operations.Item { +namespace ApiSdk.Groups.Item.Onenote.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. /// - public class OnenoteOperationItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for groups @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// Find more info here + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0"; + command.Description = "The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(OnenoteOperation body, Actio return requestInfo; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// public class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs index 255b8a25c2..a6fe93b1f9 100644 --- a/src/generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Operations { +namespace ApiSdk.Groups.Item.Onenote.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. @@ -104,13 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information."; + command.Description = "The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -218,7 +221,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +261,7 @@ public RequestInformation ToPostRequestInformation(OnenoteOperation body, Action return requestInfo; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs index be1cca4672..91158723c8 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Count { +namespace ApiSdk.Groups.Item.Onenote.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index f568ad9b9b..dcefc9a1eb 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -141,6 +182,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 43c16aaa9d..ded022ea9d 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 9850ce6ce6..1431477ff9 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index 0e9f6a4cbb..9361d81696 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -62,14 +64,13 @@ public Command BuildCopyToSectionNavCommand() return command; } /// - /// Delete a OneNote page. - /// Find more info here + /// Delete navigation property pages for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a OneNote page.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -104,14 +105,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. - /// Find more info here + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/page-get?view=graph-rest-1.0"; + command.Description = "The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -302,7 +302,7 @@ public OnenotePageItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Delete a OneNote page. + /// Delete navigation property pages for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -321,7 +321,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -361,7 +361,7 @@ public RequestInformation ToPatchRequestInformation(OnenotePage body, Action - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 4b4e99bfe0..2abbaba7a2 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 3a57209a8d..61f29f5922 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 5256cd5b63..f71d8eb4b8 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 01f1429d4c..da1428bf25 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index 3202ecf1e6..504776f29e 100644 --- a/src/generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Onenote.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs index 7a6f10630a..e37d7e9fbd 100644 --- a/src/generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Pages { +namespace ApiSdk.Groups.Item.Onenote.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -112,14 +112,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects. - /// Find more info here + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-pages?view=graph-rest-1.0"; + command.Description = "The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -201,7 +200,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -227,7 +228,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -246,7 +247,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -267,7 +268,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs index 6e41cb6cc7..e5dff26cc2 100644 --- a/src/generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Resources.Count { +namespace ApiSdk.Groups.Item.Onenote.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index 2d6a5edca6..ba9a3cb10d 100644 --- a/src/generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,54 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Resources.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.Resources.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream"; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var onenoteResourceIdOption = new Option("--onenote-resource-id", description: "The unique identifier of onenoteResource") { + }; + onenoteResourceIdOption.IsRequired = true; + command.AddOption(onenoteResourceIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var onenoteResourceId = invocationContext.ParseResult.GetValueForOption(onenoteResourceIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (onenoteResourceId is not null) requestInfo.PathParameters.Add("onenoteResource%2Did", onenoteResourceId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream /// @@ -140,6 +182,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index 072b792480..1dccc26efa 100644 --- a/src/generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Resources.Item { +namespace ApiSdk.Groups.Item.Onenote.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. /// - public class OnenoteResourceItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs index 2932bf425c..209b464be0 100644 --- a/src/generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Resources { +namespace ApiSdk.Groups.Item.Onenote.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index ff79a3a0a8..4f5fb704c8 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 4ff034fb3b..910e2594b3 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 71ba0ab9bb..59966ffbb5 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 45f3cd21f1..cb666a3569 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sectionGroups for groups @@ -66,14 +67,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a sectionGroup object. - /// Find more info here + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a sectionGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0"; + command.Description = "The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -302,7 +302,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a sectionGroup object. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -342,7 +342,7 @@ public RequestInformation ToPatchRequestInformation(SectionGroup body, Action - /// Retrieve the properties and relationships of a sectionGroup object. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 798f02082a..e6c28919df 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index d4aa8a475f..ffa8de8a9e 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 5b61512611..0d3e2a7e34 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of section groups from the specified section group. - /// Find more info here + /// The section groups in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -172,7 +174,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -191,7 +193,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 2d34ed2517..8561f64014 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index d989427718..89247f7f6c 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 8fda67a212..810389ab6d 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index ba82c14664..9ef78a9b11 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 674517d1de..c434d6edc8 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index e0bfe07417..aba3dac556 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index b1ceb4a6f5..ec33287821 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index a85f1002ed..f2cd3ffb97 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var sectionGroupIdOption = new Option("--section-group-id", description: "The unique identifier of sectionGroup") { + }; + sectionGroupIdOption.IsRequired = true; + command.AddOption(sectionGroupIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var sectionGroupId = invocationContext.ParseResult.GetValueForOption(sectionGroupIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (sectionGroupId is not null) requestInfo.PathParameters.Add("sectionGroup%2Did", sectionGroupId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -165,6 +218,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index eb4bb2c86f..d23b3c2a3e 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 1d0d631b55..db4f3e10ba 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index ae8f7eec66..3696932dd4 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 6c72d76cba..3a8d8731e1 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 700eb54cc1..31e7b5dd99 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 918a83e5cc..cd99c1fbe3 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index d9bf705e32..f785894152 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 14db820a89..4829725f0b 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index a8fcb05e7d..44c79e890c 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -124,14 +124,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -225,7 +224,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -251,7 +252,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +271,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -291,7 +292,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 1ff48ad8a8..2b79547d5d 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 1252bf2c84..73f79e6f6a 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 6c6cc89410..ec4a1057e0 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified section group. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// Find more info here + /// The sections in the section group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the section group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -238,7 +239,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified section group. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -278,7 +279,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index f9b95bbc3f..bfa1906201 100644 --- a/src/generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.SectionGroups { +namespace ApiSdk.Groups.Item.Onenote.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. @@ -109,14 +110,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of sectionGroup objects. - /// Find more info here + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of sectionGroup objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -198,7 +198,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +226,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of sectionGroup objects. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -264,7 +266,7 @@ public RequestInformation ToPostRequestInformation(SectionGroup body, Action - /// Retrieve a list of sectionGroup objects. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs index 013be50138..a012d0033e 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Count { +namespace ApiSdk.Groups.Item.Onenote.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index ce68df77b1..6d40a3f300 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index f46240c867..225f189996 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index 1a49475729..3c6cc92d61 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 1a6dad6f72..05d46e3940 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 1c558e4d7e..0fdf43886f 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. @@ -101,14 +102,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a onenoteSection object. - /// Find more info here + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a onenoteSection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0"; + command.Description = "The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -311,7 +311,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a onenoteSection object. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -351,7 +351,7 @@ public RequestInformation ToPatchRequestInformation(OnenoteSection body, Action< return requestInfo; } /// - /// Retrieve the properties and relationships of a onenoteSection object. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 15df3b1fca..c8bf3d3fd7 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 664693ff07..752bf9fe42 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -153,6 +200,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 0f0c03d8c2..7f2604bc3b 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index c5b61dd383..b0fcb12668 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 3431bbeaed..fd3a06dc64 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index db0abb25a9..82a862d75a 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 9114e238b0..e4ef9076de 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index eb33cbf666..0d7bb60778 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 4db4498aa4..720f27620b 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index b8ec5cb871..749f4ce197 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index 47c8246b41..eb2772c270 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -118,14 +118,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -213,7 +212,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -239,7 +240,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +259,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -279,7 +280,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 89bca81075..1fa037bad1 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 08baca57b1..75c058b4e0 100644 --- a/src/generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Onenote.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs index b2d66fd44f..1bae5d43a8 100644 --- a/src/generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Onenote.Sections { +namespace ApiSdk.Groups.Item.Onenote.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects. - /// Find more info here + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -199,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -225,7 +227,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -265,7 +267,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Owners/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/Count/CountRequestBuilder.cs index 6fd0fd93ad..c3e3accfef 100644 --- a/src/generated/Groups/Item/Owners/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Count { +namespace ApiSdk.Groups.Item.Owners.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs index f65c01ae14..1dcf4b1de3 100644 --- a/src/generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphApplication.Count { +namespace ApiSdk.Groups.Item.Owners.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs index edd75ce61d..ef715a540c 100644 --- a/src/generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphApplication { +namespace ApiSdk.Groups.Item.Owners.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs index 4878c65fc4..698853953e 100644 --- a/src/generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphDevice.Count { +namespace ApiSdk.Groups.Item.Owners.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs index ee57cb8445..61708d5004 100644 --- a/src/generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphDevice { +namespace ApiSdk.Groups.Item.Owners.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs index 9b0a6098f8..dfe7308a72 100644 --- a/src/generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphGroup.Count { +namespace ApiSdk.Groups.Item.Owners.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs index cc2f259e82..74b4b49490 100644 --- a/src/generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphGroup { +namespace ApiSdk.Groups.Item.Owners.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs index 07aede015f..2be43505df 100644 --- a/src/generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphOrgContact.Count { +namespace ApiSdk.Groups.Item.Owners.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 08531b81ff..2cf7df5bb3 100644 --- a/src/generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphOrgContact { +namespace ApiSdk.Groups.Item.Owners.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs index dfdd228ba0..869aa82ea8 100644 --- a/src/generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphServicePrincipal.Count { +namespace ApiSdk.Groups.Item.Owners.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index c1a9076daf..2a7abacbaf 100644 --- a/src/generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.Owners.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs index a6d3b36994..0f2f93d801 100644 --- a/src/generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphUser.Count { +namespace ApiSdk.Groups.Item.Owners.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs index 5f6e23ef6c..15e59eb278 100644 --- a/src/generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.GraphUser { +namespace ApiSdk.Groups.Item.Owners.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs index f42e58fd51..59245ed31c 100644 --- a/src/generated/Groups/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Groups.Item.Owners.Item { +namespace ApiSdk.Groups.Item.Owners.Item +{ /// /// Builds and executes requests for operations under \groups\{group-id}\owners\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Casts the previous resource to application. diff --git a/src/generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 1ea97d78cd..d71621095d 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphApplication { +namespace ApiSdk.Groups.Item.Owners.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 7ba8850993..84204b3f24 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphDevice { +namespace ApiSdk.Groups.Item.Owners.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs index ff5b4b9e69..af5f35ab3a 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphGroup { +namespace ApiSdk.Groups.Item.Owners.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 637b499d5b..db8624351f 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphOrgContact { +namespace ApiSdk.Groups.Item.Owners.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 04c41ceec3..ab894087f9 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.Owners.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs index e31c477bb1..ccf65be164 100644 --- a/src/generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.GraphUser { +namespace ApiSdk.Groups.Item.Owners.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs index ecb58ed4ab..7af5b28b9b 100644 --- a/src/generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Item.Ref { +namespace ApiSdk.Groups.Item.Owners.Item.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. diff --git a/src/generated/Groups/Item/Owners/OwnersRequestBuilder.cs b/src/generated/Groups/Item/Owners/OwnersRequestBuilder.cs index e43d31fd49..28fe0697c9 100644 --- a/src/generated/Groups/Item/Owners/OwnersRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/OwnersRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners { +namespace ApiSdk.Groups.Item.Owners +{ /// /// Provides operations to manage the owners property of the microsoft.graph.group entity. /// - public class OwnersRequestBuilder : BaseCliRequestBuilder + public class OwnersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.groups.item.owners.item collection @@ -202,14 +203,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -298,7 +299,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -343,7 +346,7 @@ public OwnersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did { } /// - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -362,7 +365,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// public class OwnersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs index 8b045eb555..28e31b94b8 100644 --- a/src/generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Owners.Ref { +namespace ApiSdk.Groups.Item.Owners.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0"; + command.Description = "Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +235,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +291,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs index 052fea5589..fe105f7850 100644 --- a/src/generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.PermissionGrants.Count { +namespace ApiSdk.Groups.Item.PermissionGrants.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 031b739e4e..abfdae3fed 100644 --- a/src/generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.PermissionGrants.Item { +namespace ApiSdk.Groups.Item.PermissionGrants.Item +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.group entity. /// - public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder + public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property permissionGrants for groups diff --git a/src/generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 871b5cd1fe..cab67f5256 100644 --- a/src/generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.PermissionGrants { +namespace ApiSdk.Groups.Item.PermissionGrants +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.group entity. /// - public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder + public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.group entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Photo/PhotoRequestBuilder.cs b/src/generated/Groups/Item/Photo/PhotoRequestBuilder.cs index 1ad4d1d6ba..e826979a5c 100644 --- a/src/generated/Groups/Item/Photo/PhotoRequestBuilder.cs +++ b/src/generated/Groups/Item/Photo/PhotoRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Photo { +namespace ApiSdk.Groups.Item.Photo +{ /// /// Provides operations to manage the photo property of the microsoft.graph.group entity. /// - public class PhotoRequestBuilder : BaseCliRequestBuilder + public class PhotoRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs index e119446ac2..5acfc5a7be 100644 --- a/src/generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs @@ -13,20 +13,56 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Photo.Value { +namespace ApiSdk.Groups.Item.Photo.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property photo from groups + /// The group's profile photo + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The group's profile photo"; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The group's profile photo /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property photo from groups"; + command.Description = "The group's profile photo"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -60,13 +96,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property photo in groups + /// The group's profile photo /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property photo in groups"; + command.Description = "The group's profile photo"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -124,7 +160,26 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get media content for the navigation property photo from groups + /// The group's profile photo + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The group's profile photo /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +198,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property photo in groups + /// The group's profile photo /// /// A /// Binary request body diff --git a/src/generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs b/src/generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs index d72d6ba6cd..e17a05017f 100644 --- a/src/generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Photos.Item { +namespace ApiSdk.Groups.Item.Photos.Item +{ /// /// Provides operations to manage the photos property of the microsoft.graph.group entity. /// - public class ProfilePhotoItemRequestBuilder : BaseCliRequestBuilder + public class ProfilePhotoItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs index ece45e9ea1..5e66744935 100644 --- a/src/generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Photos.Item.Value { +namespace ApiSdk.Groups.Item.Photos.Item.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property photos from groups - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var profilePhotoIdOption = new Option("--profile-photo-id", description: "The unique identifier of profilePhoto") { + }; + profilePhotoIdOption.IsRequired = true; + command.AddOption(profilePhotoIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var profilePhotoId = invocationContext.ParseResult.GetValueForOption(profilePhotoIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (profilePhotoId is not null) requestInfo.PathParameters.Add("profilePhoto%2Did", profilePhotoId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property photos from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-photos?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -67,13 +108,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property photos in groups + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property photos in groups"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -137,7 +178,26 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get media content for the navigation property photos from groups + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -156,7 +216,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property photos in groups + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body diff --git a/src/generated/Groups/Item/Photos/PhotosRequestBuilder.cs b/src/generated/Groups/Item/Photos/PhotosRequestBuilder.cs index 8ba883e30b..6f6e25dd1f 100644 --- a/src/generated/Groups/Item/Photos/PhotosRequestBuilder.cs +++ b/src/generated/Groups/Item/Photos/PhotosRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Photos { +namespace ApiSdk.Groups.Item.Photos +{ /// /// Provides operations to manage the photos property of the microsoft.graph.group entity. /// - public class PhotosRequestBuilder : BaseCliRequestBuilder + public class PhotosRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the photos property of the microsoft.graph.group entity. @@ -55,10 +56,18 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); var orderbyOption = new Option("--orderby", description: "Order items by property values") { Arity = ArgumentArity.ZeroOrMore }; @@ -79,7 +88,9 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); var select = invocationContext.ParseResult.GetValueForOption(selectOption); var output = invocationContext.ParseResult.GetValueForOption(outputOption); @@ -93,7 +104,9 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; q.QueryParameters.Select = select; }); @@ -105,7 +118,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -120,14 +135,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public PhotosRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/photos{?%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public PhotosRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public PhotosRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/photos{?%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public PhotosRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -154,6 +169,9 @@ public RequestInformation ToGetRequestInformation(Action public class PhotosRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -173,6 +191,16 @@ public class PhotosRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Planner/PlannerRequestBuilder.cs b/src/generated/Groups/Item/Planner/PlannerRequestBuilder.cs index 97e16e4003..48cad84244 100644 --- a/src/generated/Groups/Item/Planner/PlannerRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/PlannerRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner { +namespace ApiSdk.Groups.Item.Planner +{ /// /// Provides operations to manage the planner property of the microsoft.graph.group entity. /// - public class PlannerRequestBuilder : BaseCliRequestBuilder + public class PlannerRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property planner for groups diff --git a/src/generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs index 6197be9390..0b636338f4 100644 --- a/src/generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Count { +namespace ApiSdk.Groups.Item.Planner.Plans.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs index 621dc7d853..d268781130 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets +{ /// /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. /// - public class BucketsRequestBuilder : BaseCliRequestBuilder + public class BucketsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. @@ -112,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. - /// Find more info here + /// Read-only. Nullable. Collection of buckets in the plan. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of plannerBucket objects contained by a plannerPlan object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Collection of buckets in the plan."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -207,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,7 +235,7 @@ public BucketsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. + /// Read-only. Nullable. Collection of buckets in the plan. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -273,7 +275,7 @@ public RequestInformation ToPostRequestInformation(PlannerBucket body, Action - /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. + /// Read-only. Nullable. Collection of buckets in the plan. /// public class BucketsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs index b880878931..84ddc88b5a 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Count { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs index 78f489a7bd..4bf00ec1ea 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item +{ /// /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. /// - public class PlannerBucketItemRequestBuilder : BaseCliRequestBuilder + public class PlannerBucketItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property buckets for groups diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index 9d8ce1bc04..24d3270f8d 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Count { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 92d6fa9197..b5d4ec2267 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat +{ /// /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class AssignedToTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class AssignedToTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignedToTaskBoardFormat for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,13 +146,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property assignedToTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property assignedToTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignedToTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -255,7 +254,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -295,7 +294,7 @@ public RequestInformation ToPatchRequestInformation(PlannerAssignedToTaskBoardTa return requestInfo; } /// - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// public class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index c159ab15de..2a77a7ab87 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat +{ /// /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class BucketTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class BucketTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property bucketTaskBoardFormat for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,13 +146,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property bucketTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property bucketTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property bucketTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -255,7 +254,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -295,7 +294,7 @@ public RequestInformation ToPatchRequestInformation(PlannerBucketTaskBoardTaskFo return requestInfo; } /// - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// public class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 8400dcd0ba..f879825677 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details +{ /// /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. /// - public class DetailsRequestBuilder : BaseCliRequestBuilder + public class DetailsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property details for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a plannerTaskDetails object. - /// Find more info here + /// Read-only. Nullable. More details about the task. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a plannerTaskDetails object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. More details about the task."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,13 +146,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property details in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property details in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property details in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -255,7 +254,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerTaskDetails object. + /// Read-only. Nullable. More details about the task. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -295,7 +294,7 @@ public RequestInformation ToPatchRequestInformation(PlannerTaskDetails body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of a plannerTaskDetails object. + /// Read-only. Nullable. More details about the task. /// public class DetailsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index bb2423e75b..8e07852ac6 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. /// - public class PlannerTaskItemRequestBuilder : BaseCliRequestBuilder + public class PlannerTaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 7a6fc131bb..9c1d33c595 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat +{ /// /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class ProgressTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class ProgressTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property progressTaskBoardFormat for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,13 +146,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property progressTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property progressTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property progressTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -255,7 +254,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -295,7 +294,7 @@ public RequestInformation ToPatchRequestInformation(PlannerProgressTaskBoardTask return requestInfo; } /// - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// public class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs index 7dd14e29f5..3f6dd041fe 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. @@ -121,14 +122,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of plannerTask objects associated to a plannerBucket object. - /// Find more info here + /// Read-only. Nullable. The collection of tasks in the bucket. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of plannerTask objects associated to a plannerBucket object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. The collection of tasks in the bucket."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +250,7 @@ public TasksRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of plannerTask objects associated to a plannerBucket object. + /// Read-only. Nullable. The collection of tasks in the bucket. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +290,7 @@ public RequestInformation ToPostRequestInformation(PlannerTask body, Action - /// Retrieve a list of plannerTask objects associated to a plannerBucket object. + /// Read-only. Nullable. The collection of tasks in the bucket. /// public class TasksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs index 780d14cc69..e89e71ab82 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Details { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Details +{ /// /// Provides operations to manage the details property of the microsoft.graph.plannerPlan entity. /// - public class DetailsRequestBuilder : BaseCliRequestBuilder + public class DetailsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property details for groups @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a plannerPlanDetails object. - /// Find more info here + /// Read-only. Nullable. Extra details about the plan. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a plannerPlanDetails object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Extra details about the plan."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,13 +122,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property details in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property details in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerplandetails-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property details in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -219,7 +218,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerPlanDetails object. + /// Read-only. Nullable. Extra details about the plan. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -259,7 +258,7 @@ public RequestInformation ToPatchRequestInformation(PlannerPlanDetails body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of a plannerPlanDetails object. + /// Read-only. Nullable. Extra details about the plan. /// public class DetailsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 516985f1f0..664b31e628 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item { +namespace ApiSdk.Groups.Item.Planner.Plans.Item +{ /// /// Provides operations to manage the plans property of the microsoft.graph.plannerGroup entity. /// - public class PlannerPlanItemRequestBuilder : BaseCliRequestBuilder + public class PlannerPlanItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs index 65c2a4c032..b1c4064729 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Count { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 89562e26db..c92c6e8f86 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat +{ /// /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class AssignedToTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class AssignedToTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignedToTaskBoardFormat for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,13 +134,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property assignedToTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property assignedToTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property assignedToTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +276,7 @@ public RequestInformation ToPatchRequestInformation(PlannerAssignedToTaskBoardTa return requestInfo; } /// - /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. /// public class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 3239651d58..210cb54b4c 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat +{ /// /// Provides operations to manage the bucketTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class BucketTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class BucketTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property bucketTaskBoardFormat for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,13 +134,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property bucketTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property bucketTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property bucketTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +276,7 @@ public RequestInformation ToPatchRequestInformation(PlannerBucketTaskBoardTaskFo return requestInfo; } /// - /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. /// public class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 32df1b502d..5811f943da 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.Details { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.Details +{ /// /// Provides operations to manage the details property of the microsoft.graph.plannerTask entity. /// - public class DetailsRequestBuilder : BaseCliRequestBuilder + public class DetailsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property details for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a plannerTaskDetails object. - /// Find more info here + /// Read-only. Nullable. More details about the task. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a plannerTaskDetails object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. More details about the task."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,13 +134,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property details in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property details in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property details in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerTaskDetails object. + /// Read-only. Nullable. More details about the task. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +276,7 @@ public RequestInformation ToPatchRequestInformation(PlannerTaskDetails body, Act return requestInfo; } /// - /// Retrieve the properties and relationships of a plannerTaskDetails object. + /// Read-only. Nullable. More details about the task. /// public class DetailsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index bc1f99df49..1390b5ac18 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. /// - public class PlannerTaskItemRequestBuilder : BaseCliRequestBuilder + public class PlannerTaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignedToTaskBoardFormat property of the microsoft.graph.plannerTask entity. diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 63edf82632..2eaafb323d 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat +{ /// /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. /// - public class ProgressTaskBoardFormatRequestBuilder : BaseCliRequestBuilder + public class ProgressTaskBoardFormatRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property progressTaskBoardFormat for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. - /// Find more info here + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,13 +134,12 @@ public Command BuildGetCommand() } /// /// Update the navigation property progressTaskBoardFormat in groups - /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the navigation property progressTaskBoardFormat in groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property progressTaskBoardFormat in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +276,7 @@ public RequestInformation ToPatchRequestInformation(PlannerProgressTaskBoardTask return requestInfo; } /// - /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. + /// Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. /// public class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs index 8d96ad3318..2adb580a1b 100644 --- a/src/generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks { +namespace ApiSdk.Groups.Item.Planner.Plans.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. @@ -115,14 +116,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of plannerTask objects associated with a plannerPlan object. - /// Find more info here + /// Read-only. Nullable. Collection of tasks in the plan. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of plannerTask objects associated with a plannerPlan object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Collection of tasks in the plan."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -210,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -236,7 +238,7 @@ public TasksRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of plannerTask objects associated with a plannerPlan object. + /// Read-only. Nullable. Collection of tasks in the plan. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +278,7 @@ public RequestInformation ToPostRequestInformation(PlannerTask body, Action - /// Retrieve a list of plannerTask objects associated with a plannerPlan object. + /// Read-only. Nullable. Collection of tasks in the plan. /// public class TasksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs b/src/generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs index c46659a67b..d97fe934d2 100644 --- a/src/generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs +++ b/src/generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Planner.Plans { +namespace ApiSdk.Groups.Item.Planner.Plans +{ /// /// Provides operations to manage the plans property of the microsoft.graph.plannerGroup entity. /// - public class PlansRequestBuilder : BaseCliRequestBuilder + public class PlansRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the plans property of the microsoft.graph.plannerGroup entity. @@ -197,7 +198,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs index 13e37c8739..0c30d4c303 100644 --- a/src/generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RejectedSenders.Count { +namespace ApiSdk.Groups.Item.RejectedSenders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/RejectedSenders/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/RejectedSenders/Item/DirectoryObjectItemRequestBuilder.cs index 2c7e5ab78f..fef3504986 100644 --- a/src/generated/Groups/Item/RejectedSenders/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/RejectedSenders/Item/DirectoryObjectItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Groups.Item.RejectedSenders.Item { +namespace ApiSdk.Groups.Item.RejectedSenders.Item +{ /// /// Builds and executes requests for operations under \groups\{group-id}\rejectedSenders\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of group entities. diff --git a/src/generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs index bcbbb08160..4d65ccce84 100644 --- a/src/generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RejectedSenders.Item.Ref { +namespace ApiSdk.Groups.Item.RejectedSenders.Item.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove rejectedSender diff --git a/src/generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs b/src/generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs index 3bd882e399..a38d985a1e 100644 --- a/src/generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs +++ b/src/generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RejectedSenders.Ref { +namespace ApiSdk.Groups.Item.RejectedSenders.Ref +{ /// /// Provides operations to manage the collection of group entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove rejectedSender @@ -132,7 +133,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs b/src/generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs index d4c95c1984..88a06ddcd2 100644 --- a/src/generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs +++ b/src/generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RejectedSenders { +namespace ApiSdk.Groups.Item.RejectedSenders +{ /// /// Provides operations to manage the rejectedSenders property of the microsoft.graph.group entity. /// - public class RejectedSendersRequestBuilder : BaseCliRequestBuilder + public class RejectedSendersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.groups.item.rejectedSenders.item collection @@ -72,6 +73,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -100,6 +105,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -115,6 +121,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -128,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -162,14 +171,14 @@ public Command BuildRefNavCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public RejectedSendersRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public RejectedSendersRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public RejectedSendersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public RejectedSendersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -218,6 +227,16 @@ public class RejectedSendersRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs b/src/generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs index 137106a00a..6b358891fa 100644 --- a/src/generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs +++ b/src/generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RemoveFavorite { +namespace ApiSdk.Groups.Item.RemoveFavorite +{ /// /// Provides operations to call the removeFavorite method. /// - public class RemoveFavoriteRequestBuilder : BaseCliRequestBuilder + public class RemoveFavoriteRequestBuilder : BaseCliRequestBuilder { /// /// Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. diff --git a/src/generated/Groups/Item/Renew/RenewRequestBuilder.cs b/src/generated/Groups/Item/Renew/RenewRequestBuilder.cs index f0ce389186..9332223fa7 100644 --- a/src/generated/Groups/Item/Renew/RenewRequestBuilder.cs +++ b/src/generated/Groups/Item/Renew/RenewRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Renew { +namespace ApiSdk.Groups.Item.Renew +{ /// /// Provides operations to call the renew method. /// - public class RenewRequestBuilder : BaseCliRequestBuilder + public class RenewRequestBuilder : BaseCliRequestBuilder { /// /// Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. diff --git a/src/generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs b/src/generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs index 41102794cf..4ffef4d737 100644 --- a/src/generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs +++ b/src/generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.ResetUnseenCount { +namespace ApiSdk.Groups.Item.ResetUnseenCount +{ /// /// Provides operations to call the resetUnseenCount method. /// - public class ResetUnseenCountRequestBuilder : BaseCliRequestBuilder + public class ResetUnseenCountRequestBuilder : BaseCliRequestBuilder { /// /// Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. diff --git a/src/generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Groups/Item/Restore/RestoreRequestBuilder.cs index 55a3b85155..57cb11dd9a 100644 --- a/src/generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Restore { +namespace ApiSdk.Groups.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index 4b4cc50aaa..2c80467687 100644 --- a/src/generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.RetryServiceProvisioning { +namespace ApiSdk.Groups.Item.RetryServiceProvisioning +{ /// /// Provides operations to call the retryServiceProvisioning method. /// - public class RetryServiceProvisioningRequestBuilder : BaseCliRequestBuilder + public class RetryServiceProvisioningRequestBuilder : BaseCliRequestBuilder { /// /// Retry the group service provisioning. diff --git a/src/generated/Groups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index b0329c7645..f4fa13bd7c 100644 --- a/src/generated/Groups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 66d9f3cd24..3f89f7d22c 100644 --- a/src/generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Settings/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Settings/Count/CountRequestBuilder.cs index 64ba062684..3586624764 100644 --- a/src/generated/Groups/Item/Settings/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Settings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Settings.Count { +namespace ApiSdk.Groups.Item.Settings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs b/src/generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs index a6923c8e9a..6b78f98da2 100644 --- a/src/generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Settings.Item { +namespace ApiSdk.Groups.Item.Settings.Item +{ /// /// Provides operations to manage the settings property of the microsoft.graph.group entity. /// - public class GroupSettingItemRequestBuilder : BaseCliRequestBuilder + public class GroupSettingItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property settings for groups diff --git a/src/generated/Groups/Item/Settings/SettingsRequestBuilder.cs b/src/generated/Groups/Item/Settings/SettingsRequestBuilder.cs index 4a0a79e393..84b1c18093 100644 --- a/src/generated/Groups/Item/Settings/SettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Settings/SettingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Settings { +namespace ApiSdk.Groups.Item.Settings +{ /// /// Provides operations to manage the settings property of the microsoft.graph.group entity. /// - public class SettingsRequestBuilder : BaseCliRequestBuilder + public class SettingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the settings property of the microsoft.graph.group entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Add/AddPostRequestBody.cs b/src/generated/Groups/Item/Sites/Add/AddPostRequestBody.cs index 4b93943dc2..c2536a7ea9 100644 --- a/src/generated/Groups/Item/Sites/Add/AddPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Add/AddPostResponse.cs b/src/generated/Groups/Item/Sites/Add/AddPostResponse.cs index 0715f577e4..990db12103 100644 --- a/src/generated/Groups/Item/Sites/Add/AddPostResponse.cs +++ b/src/generated/Groups/Item/Sites/Add/AddPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Add { - public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Add +{ + #pragma warning disable CS1591 + public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Add/AddRequestBuilder.cs b/src/generated/Groups/Item/Sites/Add/AddRequestBuilder.cs index c99f8ce492..2a62309167 100644 --- a/src/generated/Groups/Item/Sites/Add/AddRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Add/AddRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Add { +namespace ApiSdk.Groups.Item.Sites.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Follow a user's site or multiple sites. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Count/CountRequestBuilder.cs index d621cd4b88..7f28258b84 100644 --- a/src/generated/Groups/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Count { +namespace ApiSdk.Groups.Item.Sites.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Sites/Delta/DeltaGetResponse.cs index 50456212b2..0d4c9cac95 100644 --- a/src/generated/Groups/Item/Sites/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.cs index 5e3f6d6ea0..58720ee262 100644 --- a/src/generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Delta { +namespace ApiSdk.Groups.Item.Sites.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesGetResponse.cs b/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesGetResponse.cs index 453f990445..e739977cce 100644 --- a/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesGetResponse.cs +++ b/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.GetAllSites { - public class GetAllSitesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.GetAllSites +{ + #pragma warning disable CS1591 + public class GetAllSitesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs index c37f5b7d15..0a7457b7c5 100644 --- a/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.GetAllSites { +namespace ApiSdk.Groups.Item.Sites.GetAllSites +{ /// /// Provides operations to call the getAllSites method. /// - public class GetAllSitesRequestBuilder : BaseCliRequestBuilder + public class GetAllSitesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getAllSites + /// List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getAllSites"; + command.Description = "List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public GetAllSitesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Invoke function getAllSites + /// List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAllSites + /// List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale. /// public class GetAllSitesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs index b6f0108744..1951719d9b 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.AllTime { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.AllTime +{ /// /// Provides operations to manage the allTime property of the microsoft.graph.itemAnalytics entity. /// - public class AllTimeRequestBuilder : BaseCliRequestBuilder + public class AllTimeRequestBuilder : BaseCliRequestBuilder { /// - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. - /// Find more info here + /// Get allTime from groups /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0"; + command.Description = "Get allTime from groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -94,7 +94,7 @@ public AllTimeRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. + /// Get allTime from groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. + /// Get allTime from groups /// public class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs index b87a816b1d..4bf9332e44 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allTime property of the microsoft.graph.itemAnalytics entity. diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs index 8add37c339..7bee28f8d5 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs index 293d473ff2..d2545e9b80 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities +{ /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. /// - public class ActivitiesRequestBuilder : BaseCliRequestBuilder + public class ActivitiesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs index a89a552539..5493cefa75 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs index 7931eaff2c..9179baec36 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -14,12 +14,66 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var itemActivityStatIdOption = new Option("--item-activity-stat-id", description: "The unique identifier of itemActivityStat") { + }; + itemActivityStatIdOption.IsRequired = true; + command.AddOption(itemActivityStatIdOption); + var itemActivityIdOption = new Option("--item-activity-id", description: "The unique identifier of itemActivity") { + }; + itemActivityIdOption.IsRequired = true; + command.AddOption(itemActivityIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var itemActivityStatId = invocationContext.ParseResult.GetValueForOption(itemActivityStatIdOption); + var itemActivityId = invocationContext.ParseResult.GetValueForOption(itemActivityIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (itemActivityStatId is not null) requestInfo.PathParameters.Add("itemActivityStat%2Did", itemActivityStatId); + if (itemActivityId is not null) requestInfo.PathParameters.Add("itemActivity%2Did", itemActivityId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -170,6 +224,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs index a3d6ce79c7..44c9cb7476 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item.DriveItem +{ /// /// Provides operations to manage the driveItem property of the microsoft.graph.itemActivity entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs index 806bb1807d..471b166f36 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item.Activities.Item +{ /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. /// - public class ItemActivityItemRequestBuilder : BaseCliRequestBuilder + public class ItemActivityItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property activities for groups diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs index 4999166b42..7a6a5120e1 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats.Item +{ /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. /// - public class ItemActivityStatItemRequestBuilder : BaseCliRequestBuilder + public class ItemActivityStatItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs index a7cd9343d5..2476c26141 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.ItemActivityStats +{ /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. /// - public class ItemActivityStatsRequestBuilder : BaseCliRequestBuilder + public class ItemActivityStatsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs index d807f64179..24c8830245 100644 --- a/src/generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Analytics.LastSevenDays { +namespace ApiSdk.Groups.Item.Sites.Item.Analytics.LastSevenDays +{ /// /// Provides operations to manage the lastSevenDays property of the microsoft.graph.itemAnalytics entity. /// - public class LastSevenDaysRequestBuilder : BaseCliRequestBuilder + public class LastSevenDaysRequestBuilder : BaseCliRequestBuilder { /// /// Get lastSevenDays from groups diff --git a/src/generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs index c277e19d71..edc30b22b7 100644 --- a/src/generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.site entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.site entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -113,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. - /// Find more info here + /// The collection of column definitions reusable across lists under this site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions reusable across lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -208,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +235,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -274,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs index 5c7ad8661a..06c6feeb2d 100644 --- a/src/generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Columns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 56fa58a87f..a5fe74acf2 100644 --- a/src/generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Columns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.site entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columns for groups diff --git a/src/generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 83794645be..13a6c60d1a 100644 --- a/src/generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Columns.Item.SourceColumn { +namespace ApiSdk.Groups.Item.Sites.Item.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs index 4c8a037f4f..da55426fef 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopy { - public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopy +{ + #pragma warning disable CS1591 + public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentType", n => { ContentType = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index f55e64c60c..3232a9b13c 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopy { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopy +{ /// /// Provides operations to call the addCopy method. /// - public class AddCopyRequestBuilder : BaseCliRequestBuilder + public class AddCopyRequestBuilder : BaseCliRequestBuilder { /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add a copy of a [content type][contentType] from a [site][site] to a [list][list].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; + command.Description = "Add a copy of a content type from a site to a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -93,7 +94,7 @@ public AddCopyRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs index 112a5a7f4d..1f6d07b938 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopyFromContentTypeHub { - public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopyFromContentTypeHub +{ + #pragma warning disable CS1591 + public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, + { "contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 22da0e6e7d..3e99029bb4 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopyFromContentTypeHub { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.AddCopyFromContentTypeHub +{ /// /// Provides operations to call the addCopyFromContentTypeHub method. /// - public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder + public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder { /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs index 041315d1aa..fa4d67fe01 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.site entity. /// - public class ContentTypesRequestBuilder : BaseCliRequestBuilder + public class ContentTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addCopyFromContentTypeHub method. @@ -101,14 +102,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new [contentType][] in a [site][]. - /// Find more info here + /// Create new navigation property to contentTypes for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new [contentType][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to contentTypes for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -176,14 +176,13 @@ public Command BuildGetCompatibleHubContentTypesNavCommand() return command; } /// - /// Get the collection of [contentType][contentType] resources in a [site][]. - /// Find more info here + /// The collection of content types defined for this site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [contentType][contentType] resources in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0"; + command.Description = "The collection of content types defined for this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -271,7 +270,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -297,7 +298,7 @@ public ContentTypesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -316,7 +317,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [contentType][] in a [site][]. + /// Create new navigation property to contentTypes for groups /// /// A /// The request body @@ -337,7 +338,7 @@ public RequestInformation ToPostRequestInformation(ContentType body, Action - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// public class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs index 4a2c88eec5..9e93617bfa 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs index 7c31aac0d2..848db7b8ba 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.GetCompatibleHubContentTypes { - public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.GetCompatibleHubContentTypes +{ + #pragma warning disable CS1591 + public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index 0311c5485c..ed7095d4c6 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.GetCompatibleHubContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.GetCompatibleHubContentTypes +{ /// /// Provides operations to call the getCompatibleHubContentTypes method. /// - public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder + public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getCompatibleHubContentTypes"; + command.Description = "Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public GetCompatibleHubContentTypesRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// public class GetCompatibleHubContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 876b5fa7d2..24ca3b1f2b 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.AssociateWithHubSites { - public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.AssociateWithHubSites +{ + #pragma warning disable CS1591 + public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, + { "hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index f029e20a4b..0879926069 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.AssociateWithHubSites { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.AssociateWithHubSites +{ /// /// Provides operations to call the associateWithHubSites method. /// - public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder + public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder { /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Associate a published [content type][contentType] present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; + command.Description = "Associate a published content type present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -88,7 +89,7 @@ public AssociateWithHubSitesRequestBuilder(string rawUrl) : base("{+baseurl}/gro { } /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 67a80bc28b..61ff974970 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Base { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Base +{ /// /// Provides operations to manage the base property of the microsoft.graph.contentType entity. /// - public class BaseRequestBuilderEscaped : BaseCliRequestBuilder + public class BaseRequestBuilderEscaped : BaseCliRequestBuilder { /// /// Parent contentType from which this content type is derived. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index c076e46470..92cf45817e 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class BaseTypesRequestBuilder : BaseCliRequestBuilder + public class BaseTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. @@ -151,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index ddccac69a1..f5dc2852fa 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index 0854dbd1f4..78e703a399 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.BaseTypes.Item +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// The collection of content types that are ancestors of this content type. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index 76f051465c..161c6d0141 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinksRequestBuilder : BaseCliRequestBuilder + public class ColumnLinksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 805134907e..9260e01223 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index 1983d006d5..1aae889f50 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnLinks.Item +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder + public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columnLinks for groups diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 3ed60febef..82b6521bb4 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder + public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. @@ -151,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 535ca9d7a7..c314ee60f1 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 433eb8657b..9d1945a70f 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.ColumnPositions.Item +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Column order information in a content type. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index f51be03dcf..5f9b90bb6a 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -119,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -220,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -246,7 +247,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -265,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -286,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index d3f889a41d..81304c6926 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 7f88cd19da..1499904106 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. - /// Find more info here + /// Delete navigation property columns for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -76,14 +76,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,14 +146,13 @@ public Command BuildGetCommand() return command; } /// - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. - /// Find more info here + /// Update the navigation property columns in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property columns in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -248,7 +246,7 @@ public ColumnDefinitionItemRequestBuilder(string rawUrl) : base("{+baseurl}/grou { } /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. + /// Delete navigation property columns for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -286,7 +284,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. + /// Update the navigation property columns in groups /// /// A /// The request body @@ -307,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(ColumnDefinition body, Actio return requestInfo; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// public class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index e6728373a5..4bb43a80d8 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Item.SourceColumn { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 342a87a192..4025a1ea48 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.site entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the associateWithHubSites method. @@ -188,14 +189,13 @@ public Command BuildCopyToDefaultContentLocationNavCommand() return command; } /// - /// Remove a [content type][contentType] from a [list][] or a [site][]. - /// Find more info here + /// Delete navigation property contentTypes for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove a [content type][contentType] from a [list][] or a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property contentTypes for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -236,14 +236,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. - /// Find more info here + /// The collection of content types defined for this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0"; + command.Description = "The collection of content types defined for this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -318,14 +317,13 @@ public Command BuildIsPublishedNavCommand() return command; } /// - /// Update a [content type][contentType]. - /// Find more info here + /// Update the navigation property contentTypes in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property contentTypes in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -430,7 +428,7 @@ public ContentTypeItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Remove a [content type][contentType] from a [list][] or a [site][]. + /// Delete navigation property contentTypes for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -449,7 +447,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. + /// The collection of content types defined for this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -468,7 +466,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a [content type][contentType]. + /// Update the navigation property contentTypes in groups /// /// A /// The request body @@ -489,7 +487,7 @@ public RequestInformation ToPatchRequestInformation(ContentType body, Action - /// Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. + /// The collection of content types defined for this site. /// public class ContentTypeItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs index 802200863f..4df57b46a6 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.CopyToDefaultContentLocation { - public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.CopyToDefaultContentLocation +{ + #pragma warning disable CS1591 + public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, - {"sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, + { "sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 5e15bffd92..4d8f8ddfeb 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.CopyToDefaultContentLocation { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.CopyToDefaultContentLocation +{ /// /// Provides operations to call the copyToDefaultContentLocation method. /// - public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder + public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder { /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; + command.Description = "Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -88,7 +89,7 @@ public CopyToDefaultContentLocationRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index cb52f59705..0f8047d69a 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.IsPublished { - public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.IsPublished +{ + #pragma warning disable CS1591 + public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index c5ab1cd26d..0a24a307c4 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.IsPublished { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.IsPublished +{ /// /// Provides operations to call the isPublished method. /// - public class IsPublishedRequestBuilder : BaseCliRequestBuilder + public class IsPublishedRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function isPublished"; + command.Description = "Check the publishing status of a contentType in a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -84,7 +86,7 @@ public IsPublishedRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index fd7a5e12a5..4c6fb58a80 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Publish { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Publishes a [contentType][] present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; + command.Description = "Publishes a contentType present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -75,7 +76,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 84495fa48c..bfb20dc5d3 100644 --- a/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Unpublish { +namespace ApiSdk.Groups.Item.Sites.Item.ContentTypes.Item.Unpublish +{ /// /// Provides operations to call the unpublish method. /// - public class UnpublishRequestBuilder : BaseCliRequestBuilder + public class UnpublishRequestBuilder : BaseCliRequestBuilder { /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Unpublish a [contentType][] from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; + command.Description = "Unpublish a contentType from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -75,7 +76,7 @@ public UnpublishRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 747cba7704..a552e2bad6 100644 --- a/src/generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index bda0255cf6..1f077be926 100644 --- a/src/generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 00a3707666..4735d0dad3 100644 --- a/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 15d0729e27..78debd9c9b 100644 --- a/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs index 7420d8d4c3..01a639a417 100644 --- a/src/generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Drive { +namespace ApiSdk.Groups.Item.Sites.Item.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.site entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// The default drive (document library) for this site. diff --git a/src/generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs index f5cd534066..6534b48690 100644 --- a/src/generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Drives.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Drives.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs index 7c373825f1..35087227d3 100644 --- a/src/generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Drives { +namespace ApiSdk.Groups.Item.Sites.Item.Drives +{ /// /// Provides operations to manage the drives property of the microsoft.graph.site entity. /// - public class DrivesRequestBuilder : BaseCliRequestBuilder + public class DrivesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the drives property of the microsoft.graph.site entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs index ff52c80513..ef46b130e9 100644 --- a/src/generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Drives.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Drives.Item +{ /// /// Provides operations to manage the drives property of the microsoft.graph.site entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// The collection of drives (document libraries) under this site. diff --git a/src/generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs index 26fa96edac..d345885941 100644 --- a/src/generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs index 9723a5c5c6..3ac6c9a2cd 100644 --- a/src/generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns { +namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns +{ /// /// Provides operations to manage the externalColumns property of the microsoft.graph.site entity. /// - public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder + public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the externalColumns property of the microsoft.graph.site entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs index 5bb311a5ba..f54572fddf 100644 --- a/src/generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.ExternalColumns.Item +{ /// /// Provides operations to manage the externalColumns property of the microsoft.graph.site entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Get externalColumns from groups diff --git a/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs index 4e4d5e537e..783e0a83bd 100644 --- a/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByInterval { - public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index 3a532d9b82..04c5d015c9 100644 --- a/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByInterval { +namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -114,7 +115,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs index 47a9cc7990..dcf6eccf45 100644 --- a/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 4db924c7c3..583f426056 100644 --- a/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { +namespace ApiSdk.Groups.Item.Sites.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -132,7 +133,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs index 65dee5a9b0..cb9f9afd8f 100644 --- a/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetApplicableContentTypesForListWithListId { - public class GetApplicableContentTypesForListWithListIdGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetApplicableContentTypesForListWithListId +{ + #pragma warning disable CS1591 + public class GetApplicableContentTypesForListWithListIdGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs index 41072fd97a..a7b54eef71 100644 --- a/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetApplicableContentTypesForListWithListId { +namespace ApiSdk.Groups.Item.Sites.Item.GetApplicableContentTypesForListWithListId +{ /// /// Provides operations to call the getApplicableContentTypesForList method. /// - public class GetApplicableContentTypesForListWithListIdRequestBuilder : BaseCliRequestBuilder + public class GetApplicableContentTypesForListWithListIdRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getApplicableContentTypesForList"; + command.Description = "Get site contentTypes that can be added to a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public GetApplicableContentTypesForListWithListIdRequestBuilder(string rawUrl) : { } /// - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. /// public class GetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Analytics/AnalyticsRequestBuilder.cs index 1bd7d32d77..bee1f03bbe 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Analytics/AnalyticsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Analytics { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property analytics for groups diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Columns/ColumnsRequestBuilder.cs index c4758475c1..7a4642d57a 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Columns/ColumnsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.site entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. - /// Find more info here + /// The collection of column definitions reusable across lists under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions reusable across lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ContentTypes/ContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ContentTypes/ContentTypesRequestBuilder.cs index 0ef959592e..41ad0b5991 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ContentTypes/ContentTypesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.ContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.ContentTypes +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.site entity. /// - public class ContentTypesRequestBuilder : BaseCliRequestBuilder + public class ContentTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [contentType][contentType] resources in a [site][]. - /// Find more info here + /// The collection of content types defined for this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [contentType][contentType] resources in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0"; + command.Description = "The collection of content types defined for this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [contentType][] in a [site][]. - /// Find more info here + /// Create new navigation property to contentTypes for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [contentType][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to contentTypes for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public ContentTypesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [contentType][] in a [site][]. + /// Create new navigation property to contentTypes for groups /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ContentType body, Action - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// public class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/CreatedByUser/CreatedByUserRequestBuilder.cs index ff4aa23ea3..53e1f1c180 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drive/DriveRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drive/DriveRequestBuilder.cs index ca66cf7dd0..376e5474d0 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drive/DriveRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Drive { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.site entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// The default drive (document library) for this site. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drives/DrivesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drives/DrivesRequestBuilder.cs index fc3a00c363..0e0c9b78c6 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drives/DrivesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Drives/DrivesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Drives { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Drives +{ /// /// Provides operations to manage the drives property of the microsoft.graph.site entity. /// - public class DrivesRequestBuilder : BaseCliRequestBuilder + public class DrivesRequestBuilder : BaseCliRequestBuilder { /// /// The collection of drives (document libraries) under this site. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ExternalColumns/ExternalColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ExternalColumns/ExternalColumnsRequestBuilder.cs index 35477e971f..548b2b88d4 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ExternalColumns/ExternalColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/ExternalColumns/ExternalColumnsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.ExternalColumns { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.ExternalColumns +{ /// /// Provides operations to manage the externalColumns property of the microsoft.graph.site entity. /// - public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder + public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Get externalColumns from groups @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs index b777c4c77f..2b4e010c7c 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByInterval { - public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index 09145fc5d9..30115d6a7d 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByInterval { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -120,7 +121,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs index 7208d5dc68..77d66c2be3 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 214331a43e..7e2bf8c831 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs index cc9d1cb535..99b8c20f46 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetApplicableContentTypesForListWithListId { - public class GetApplicableContentTypesForListWithListIdGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetApplicableContentTypesForListWithListId +{ + #pragma warning disable CS1591 + public class GetApplicableContentTypesForListWithListIdGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs index cba3b253a7..e06236915d 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetApplicableContentTypesForListWithListId { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetApplicableContentTypesForListWithListId +{ /// /// Provides operations to call the getApplicableContentTypesForList method. /// - public class GetApplicableContentTypesForListWithListIdRequestBuilder : BaseCliRequestBuilder + public class GetApplicableContentTypesForListWithListIdRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getApplicableContentTypesForList"; + command.Description = "Get site contentTypes that can be added to a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -126,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -152,7 +156,7 @@ public GetApplicableContentTypesForListWithListIdRequestBuilder(string rawUrl) : { } /// - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +175,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getApplicableContentTypesForList + /// Get site contentTypes that can be added to a list. /// public class GetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.cs index 4f59299e9a..d6e39aaec4 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Analytics { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property analytics for groups diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.cs index 0658c9f896..78cae6d8c3 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.site entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. - /// Find more info here + /// The collection of column definitions reusable across lists under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions reusable across lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. + /// The collection of column definitions reusable across lists under this site. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.cs index 889bb992a3..153c0980dd 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.ContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.ContentTypes +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.site entity. /// - public class ContentTypesRequestBuilder : BaseCliRequestBuilder + public class ContentTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [contentType][contentType] resources in a [site][]. - /// Find more info here + /// The collection of content types defined for this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [contentType][contentType] resources in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0"; + command.Description = "The collection of content types defined for this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [contentType][] in a [site][]. - /// Find more info here + /// Create new navigation property to contentTypes for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [contentType][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0"; + command.Description = "Create new navigation property to contentTypes for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public ContentTypesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [contentType][] in a [site][]. + /// Create new navigation property to contentTypes for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(ContentType body, Action - /// Get the collection of [contentType][contentType] resources in a [site][]. + /// The collection of content types defined for this site. /// public class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.cs index db835c46ef..2fc3ba5cbb 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.cs index f20fd18d0f..0cdb4c6bdb 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Drive { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.site entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// The default drive (document library) for this site. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.cs index 60c37e7d54..f93b7acf46 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Drives { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Drives +{ /// /// Provides operations to manage the drives property of the microsoft.graph.site entity. /// - public class DrivesRequestBuilder : BaseCliRequestBuilder + public class DrivesRequestBuilder : BaseCliRequestBuilder { /// /// The collection of drives (document libraries) under this site. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.cs index fc54a4f481..58788251a3 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.ExternalColumns { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.ExternalColumns +{ /// /// Provides operations to manage the externalColumns property of the microsoft.graph.site entity. /// - public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder + public class ExternalColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Get externalColumns from groups @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.cs index 043f97b989..bf66c63e2c 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.cs @@ -31,11 +31,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1 { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1 +{ /// /// Provides operations to call the getByPath method. /// - public class GetByPathWithPath1RequestBuilder : BaseCliRequestBuilder + public class GetByPathWithPath1RequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.cs index 1a9c896ef2..a7085c94b6 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Items { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.site entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Used to address any item contained in this site. This collection can't be enumerated. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index d18c30b5b8..664074eeda 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.cs index 19e364a431..9acdcce26b 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Lists { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Lists +{ /// /// Provides operations to manage the lists property of the microsoft.graph.site entity. /// - public class ListsRequestBuilder : BaseCliRequestBuilder + public class ListsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. - /// Find more info here + /// The collection of lists under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list?view=graph-rest-1.0"; + command.Description = "The collection of lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to lists for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to lists for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public ListsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [list][] in a [site][]. + /// Create new navigation property to lists for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.List body, Acti return requestInfo; } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// public class ListsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.cs index 057d3c4290..a148d211d0 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Onenote { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Onenote +{ /// /// Provides operations to manage the onenote property of the microsoft.graph.site entity. /// - public class OnenoteRequestBuilder : BaseCliRequestBuilder + public class OnenoteRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property onenote for groups diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.cs index 739c27f89b..ad0584f149 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Operations { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.site entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// - /// Get a list of rich long-running operations associated with a site. - /// Find more info here + /// The collection of long-running operations on the site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a list of rich long-running operations associated with a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0"; + command.Description = "The collection of long-running operations on the site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -223,7 +225,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +265,7 @@ public RequestInformation ToPostRequestInformation(RichLongRunningOperation body return requestInfo; } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.cs index e34e54a44a..3ccbeb44aa 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.site entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. - /// Find more info here + /// The collection of pages in the baseSitePages list in this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0"; + command.Description = "The collection of pages in the baseSitePages list in this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [sitePage][] in the site pages [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(BaseSitePage body, Action - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.cs index 6c57901a91..5b50267793 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Permissions { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Permissions +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.site entity. /// - public class PermissionsRequestBuilder : BaseCliRequestBuilder + public class PermissionsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the permission resources from the permissions navigation property on a site. - /// Find more info here + /// The permissions associated with the site. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the permission resources from the permissions navigation property on a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0"; + command.Description = "The permissions associated with the site. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,14 +142,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new permission object on a site. - /// Find more info here + /// Create new navigation property to permissions for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new permission object on a site. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to permissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +225,7 @@ public PermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new permission object on a site. + /// Create new navigation property to permissions for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.Permission body return requestInfo; } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// public class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.cs index 667282e634..0c0ede7f8c 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Sites { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.Sites +{ /// /// Provides operations to manage the sites property of the microsoft.graph.site entity. /// - public class SitesRequestBuilder : BaseCliRequestBuilder + public class SitesRequestBuilder : BaseCliRequestBuilder { /// - /// Get a collection of subsites defined for a [site][]. - /// Find more info here + /// The collection of the sub-sites under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a collection of subsites defined for a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0"; + command.Description = "The collection of the sub-sites under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -128,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -154,7 +156,7 @@ public SitesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -173,7 +175,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// public class SitesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.cs index 64b6253839..105e7604b9 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.TermStore { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.TermStore +{ /// /// Provides operations to manage the termStore property of the microsoft.graph.site entity. /// - public class TermStoreRequestBuilder : BaseCliRequestBuilder + public class TermStoreRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property termStore for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a store object. - /// Find more info here + /// The default termStore under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0"; + command.Description = "The default termStore under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a store object. - /// Find more info here + /// Update the navigation property termStore in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property termStore in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a store object. + /// Update the navigation property termStore in groups /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Store body, Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// public class TermStoreRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.cs index 3ef7bea848..465987089c 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.TermStores { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.GetByPathWithPath1.TermStores +{ /// /// Provides operations to manage the termStores property of the microsoft.graph.site entity. /// - public class TermStoresRequestBuilder : BaseCliRequestBuilder + public class TermStoresRequestBuilder : BaseCliRequestBuilder { /// /// The collection of termStores under this site. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs index ae5ac4de9c..aaeafbe8d6 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs @@ -35,11 +35,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath +{ /// /// Provides operations to call the getByPath method. /// - public class GetByPathWithPathRequestBuilder : BaseCliRequestBuilder + public class GetByPathWithPathRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Items/ItemsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Items/ItemsRequestBuilder.cs index d5c166ed37..1391c8b1e7 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Items/ItemsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Items/ItemsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Items { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.site entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Used to address any item contained in this site. This collection can't be enumerated. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index a13a34884e..668176b594 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Lists/ListsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Lists/ListsRequestBuilder.cs index 3a3701ed57..3969e15294 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Lists/ListsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Lists/ListsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Lists { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Lists +{ /// /// Provides operations to manage the lists property of the microsoft.graph.site entity. /// - public class ListsRequestBuilder : BaseCliRequestBuilder + public class ListsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. - /// Find more info here + /// The collection of lists under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list?view=graph-rest-1.0"; + command.Description = "The collection of lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to lists for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to lists for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public ListsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [list][] in a [site][]. + /// Create new navigation property to lists for groups /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.List body, Acti return requestInfo; } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// public class ListsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Onenote/OnenoteRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Onenote/OnenoteRequestBuilder.cs index aae6402df7..c2ab45b753 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Onenote/OnenoteRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Onenote/OnenoteRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Onenote { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Onenote +{ /// /// Provides operations to manage the onenote property of the microsoft.graph.site entity. /// - public class OnenoteRequestBuilder : BaseCliRequestBuilder + public class OnenoteRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property onenote for groups diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Operations/OperationsRequestBuilder.cs index ad81d8e96a..ccbf3f07be 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Operations/OperationsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Operations { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.site entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// - /// Get a list of rich long-running operations associated with a site. - /// Find more info here + /// The collection of long-running operations on the site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a list of rich long-running operations associated with a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0"; + command.Description = "The collection of long-running operations on the site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -211,7 +213,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +253,7 @@ public RequestInformation ToPostRequestInformation(RichLongRunningOperation body return requestInfo; } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Pages/PagesRequestBuilder.cs index cd4055852b..dad8352256 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Pages/PagesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.site entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. - /// Find more info here + /// The collection of pages in the baseSitePages list in this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0"; + command.Description = "The collection of pages in the baseSitePages list in this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new [sitePage][] in the site pages [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(BaseSitePage body, Action - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Permissions/PermissionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Permissions/PermissionsRequestBuilder.cs index d223cfe51e..7b1baac481 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Permissions/PermissionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Permissions/PermissionsRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Permissions { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Permissions +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.site entity. /// - public class PermissionsRequestBuilder : BaseCliRequestBuilder + public class PermissionsRequestBuilder : BaseCliRequestBuilder { /// - /// Get the permission resources from the permissions navigation property on a site. - /// Find more info here + /// The permissions associated with the site. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the permission resources from the permissions navigation property on a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0"; + command.Description = "The permissions associated with the site. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,14 +136,13 @@ public Command BuildGetCommand() return command; } /// - /// Create a new permission object on a site. - /// Find more info here + /// Create new navigation property to permissions for groups /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a new permission object on a site. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to permissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +213,7 @@ public PermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new permission object on a site. + /// Create new navigation property to permissions for groups /// /// A /// The request body @@ -252,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.Permission body return requestInfo; } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// public class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Sites/SitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Sites/SitesRequestBuilder.cs index 586dfbfd64..2cbb980afb 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Sites/SitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/Sites/SitesRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Sites { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.Sites +{ /// /// Provides operations to manage the sites property of the microsoft.graph.site entity. /// - public class SitesRequestBuilder : BaseCliRequestBuilder + public class SitesRequestBuilder : BaseCliRequestBuilder { /// - /// Get a collection of subsites defined for a [site][]. - /// Find more info here + /// The collection of the sub-sites under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a collection of subsites defined for a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0"; + command.Description = "The collection of the sub-sites under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -148,7 +150,7 @@ public SitesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -167,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// public class SitesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStore/TermStoreRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStore/TermStoreRequestBuilder.cs index c4d5677d13..6ce0faf28f 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStore/TermStoreRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStore/TermStoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.TermStore { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.TermStore +{ /// /// Provides operations to manage the termStore property of the microsoft.graph.site entity. /// - public class TermStoreRequestBuilder : BaseCliRequestBuilder + public class TermStoreRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property termStore for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a store object. - /// Find more info here + /// The default termStore under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0"; + command.Description = "The default termStore under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a store object. - /// Find more info here + /// Update the navigation property termStore in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property termStore in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a store object. + /// Update the navigation property termStore in groups /// /// A /// The request body @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(Store body, Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// public class TermStoreRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStores/TermStoresRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStores/TermStoresRequestBuilder.cs index e00842352b..574c2cbdc7 100644 --- a/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStores/TermStoresRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/GetByPathWithPath/TermStores/TermStoresRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.TermStores { +namespace ApiSdk.Groups.Item.Sites.Item.GetByPathWithPath.TermStores +{ /// /// Provides operations to manage the termStores property of the microsoft.graph.site entity. /// - public class TermStoresRequestBuilder : BaseCliRequestBuilder + public class TermStoresRequestBuilder : BaseCliRequestBuilder { /// /// The collection of termStores under this site. @@ -121,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs index f0210944bb..d669ac65d5 100644 --- a/src/generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Items.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Items.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs index e923c682b8..dd0067dbc2 100644 --- a/src/generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Items.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.site entity. /// - public class BaseItemItemRequestBuilder : BaseCliRequestBuilder + public class BaseItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Used to address any item contained in this site. This collection can't be enumerated. diff --git a/src/generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs index 2c52f36e84..9d870b44a3 100644 --- a/src/generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Items { +namespace ApiSdk.Groups.Item.Sites.Item.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.site entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.site entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 118367e190..126d628df5 100644 --- a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 4a398bc0a5..3c63ef2a6c 100644 --- a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index cea9519c42..a737b5fc25 100644 --- a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 24f7fc46d0..e8fef0b756 100644 --- a/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs index 7e3e4537d2..73f75fd938 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs index cb6053df00..6310c16679 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -119,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. - /// Find more info here + /// The collection of field definitions for this list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of field definitions for this list."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -220,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -246,7 +247,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. + /// The collection of field definitions for this list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -265,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -286,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. + /// The collection of field definitions for this list. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs index 71c20bf94b..f44bfab882 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index cbc00e1348..c743e386fe 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columns for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 19bc6897c9..658aba2f57 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Item.SourceColumn { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs index fd669fcc66..75b4c14f5a 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopy { - public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopy +{ + #pragma warning disable CS1591 + public class AddCopyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentType", n => { ContentType = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index abd81484b4..77c367935f 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -14,21 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopy { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopy +{ /// /// Provides operations to call the addCopy method. /// - public class AddCopyRequestBuilder : BaseCliRequestBuilder + public class AddCopyRequestBuilder : BaseCliRequestBuilder { /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Add a copy of a [content type][contentType] from a [site][site] to a [list][list].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; + command.Description = "Add a copy of a content type from a site to a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -99,7 +100,7 @@ public AddCopyRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. + /// Add a copy of a content type from a site to a list. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs index da7bff285f..69d0e85971 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopyFromContentTypeHub { - public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopyFromContentTypeHub +{ + #pragma warning disable CS1591 + public class AddCopyFromContentTypeHubPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, + { "contentTypeId", n => { ContentTypeId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 02ae8c46ef..0ebac6b61b 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopyFromContentTypeHub { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.AddCopyFromContentTypeHub +{ /// /// Provides operations to call the addCopyFromContentTypeHub method. /// - public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder + public class AddCopyFromContentTypeHubRequestBuilder : BaseCliRequestBuilder { /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs index 8396d364cf..d88ba42915 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.list entity. /// - public class ContentTypesRequestBuilder : BaseCliRequestBuilder + public class ContentTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the addCopyFromContentTypeHub method. @@ -181,14 +182,13 @@ public Command BuildGetCompatibleHubContentTypesNavCommand() return command; } /// - /// Get the collection of [contentType][contentType] resources in a [list][]. - /// Find more info here + /// The collection of content types present in this list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [contentType][contentType] resources in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0"; + command.Description = "The collection of content types present in this list."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -282,7 +282,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -308,7 +310,7 @@ public ContentTypesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Get the collection of [contentType][contentType] resources in a [list][]. + /// The collection of content types present in this list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -348,7 +350,7 @@ public RequestInformation ToPostRequestInformation(ContentType body, Action - /// Get the collection of [contentType][contentType] resources in a [list][]. + /// The collection of content types present in this list. /// public class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs index 8fd4326fd0..cf45b3c0a7 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs index bfe61f7a16..91985da193 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.GetCompatibleHubContentTypes { - public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.GetCompatibleHubContentTypes +{ + #pragma warning disable CS1591 + public class GetCompatibleHubContentTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index 1d8d5f4185..2cde7bc9f0 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.GetCompatibleHubContentTypes { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.GetCompatibleHubContentTypes +{ /// /// Provides operations to call the getCompatibleHubContentTypes method. /// - public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder + public class GetCompatibleHubContentTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getCompatibleHubContentTypes"; + command.Description = "Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public GetCompatibleHubContentTypesRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getCompatibleHubContentTypes + /// Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. /// public class GetCompatibleHubContentTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index a9a68d17ea..20c2c40929 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.AssociateWithHubSites { - public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.AssociateWithHubSites +{ + #pragma warning disable CS1591 + public class AssociateWithHubSitesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, + { "hubSiteUrls", n => { HubSiteUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "propagateToExistingLists", n => { PropagateToExistingLists = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index db78dae492..12e25f28a2 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.AssociateWithHubSites { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.AssociateWithHubSites +{ /// /// Provides operations to call the associateWithHubSites method. /// - public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder + public class AssociateWithHubSitesRequestBuilder : BaseCliRequestBuilder { /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Associate a published [content type][contentType] present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; + command.Description = "Associate a published content type present in a content type hub with a list of hub sites.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -94,7 +95,7 @@ public AssociateWithHubSitesRequestBuilder(string rawUrl) : base("{+baseurl}/gro { } /// - /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. + /// Associate a published content type present in a content type hub with a list of hub sites. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 61d92f2fdd..9ee93b068d 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Base { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Base +{ /// /// Provides operations to manage the base property of the microsoft.graph.contentType entity. /// - public class BaseRequestBuilderEscaped : BaseCliRequestBuilder + public class BaseRequestBuilderEscaped : BaseCliRequestBuilder { /// /// Parent contentType from which this content type is derived. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index f54c24dd38..da87c883c8 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class BaseTypesRequestBuilder : BaseCliRequestBuilder + public class BaseTypesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. @@ -157,7 +158,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index ca81b4eab3..447eb11a9e 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index b8bbe9408b..edf35ca794 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.BaseTypes.Item +{ /// /// Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// The collection of content types that are ancestors of this content type. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index 270f394c5f..75550eb2a1 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinksRequestBuilder : BaseCliRequestBuilder + public class ColumnLinksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. @@ -228,7 +229,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 341a91239c..7b825612c2 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index 9da5088e50..f09f4af6a9 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnLinks.Item +{ /// /// Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. /// - public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder + public class ColumnLinkItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columnLinks for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 5295ad286b..730adfbcd3 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder + public class ColumnPositionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. @@ -157,7 +158,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 07e2e0e75c..8e141c3e1b 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 9650a48d4a..a44596f910 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.ColumnPositions.Item +{ /// /// Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Column order information in a content type. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index c5f28ce28c..6f360bac43 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. - /// Find more info here + /// Create new navigation property to columns for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0"; + command.Description = "Create new navigation property to columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -125,14 +125,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -232,7 +231,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -258,7 +259,7 @@ public ColumnsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +278,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. + /// Create new navigation property to columns for groups /// /// A /// The request body @@ -298,7 +299,7 @@ public RequestInformation ToPostRequestInformation(ColumnDefinition body, Action return requestInfo; } /// - /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. + /// The collection of column definitions for this content type. /// public class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 1375a02777..715ce12e67 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 1bc44187df..6cf318f947 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.contentType entity. /// - public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class ColumnDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. - /// Find more info here + /// Delete navigation property columns for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property columns for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -82,14 +82,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. - /// Find more info here + /// The collection of column definitions for this content type. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0"; + command.Description = "The collection of column definitions for this content type."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -159,14 +158,13 @@ public Command BuildGetCommand() return command; } /// - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. - /// Find more info here + /// Update the navigation property columns in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property columns in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +264,7 @@ public ColumnDefinitionItemRequestBuilder(string rawUrl) : base("{+baseurl}/grou { } /// - /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. + /// Delete navigation property columns for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +283,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -304,7 +302,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. + /// Update the navigation property columns in groups /// /// A /// The request body @@ -325,7 +323,7 @@ public RequestInformation ToPatchRequestInformation(ColumnDefinition body, Actio return requestInfo; } /// - /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. + /// The collection of column definitions for this content type. /// public class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 6fbc071e37..295c359caa 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Item.SourceColumn { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Columns.Item.SourceColumn +{ /// /// Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity. /// - public class SourceColumnRequestBuilder : BaseCliRequestBuilder + public class SourceColumnRequestBuilder : BaseCliRequestBuilder { /// /// The source column for the content type column. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index e664f86e52..e24f167547 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item +{ /// /// Provides operations to manage the contentTypes property of the microsoft.graph.list entity. /// - public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder + public class ContentTypeItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the associateWithHubSites method. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs index a3ea7b08bb..b700e8e28e 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.CopyToDefaultContentLocation { - public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.CopyToDefaultContentLocation +{ + #pragma warning disable CS1591 + public class CopyToDefaultContentLocationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, - {"sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "destinationFileName", n => { DestinationFileName = n.GetStringValue(); } }, + { "sourceFile", n => { SourceFile = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index b0fca7e9a3..d9146bd29f 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.CopyToDefaultContentLocation { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.CopyToDefaultContentLocation +{ /// /// Provides operations to call the copyToDefaultContentLocation method. /// - public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder + public class CopyToDefaultContentLocationRequestBuilder : BaseCliRequestBuilder { /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; + command.Description = "Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -94,7 +95,7 @@ public CopyToDefaultContentLocationRequestBuilder(string rawUrl) : base("{+baseu { } /// - /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. + /// Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 72a7a04613..fc54622a06 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.IsPublished { - public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.IsPublished +{ + #pragma warning disable CS1591 + public class IsPublishedGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 66cbf944ca..a85dd7fd42 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.IsPublished { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.IsPublished +{ /// /// Provides operations to call the isPublished method. /// - public class IsPublishedRequestBuilder : BaseCliRequestBuilder + public class IsPublishedRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function isPublished"; + command.Description = "Check the publishing status of a contentType in a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -90,7 +92,7 @@ public IsPublishedRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Invoke function isPublished + /// Check the publishing status of a contentType in a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index b1f639ca03..aae8b45073 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Publish { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Publish +{ /// /// Provides operations to call the publish method. /// - public class PublishRequestBuilder : BaseCliRequestBuilder + public class PublishRequestBuilder : BaseCliRequestBuilder { /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Publishes a [contentType][] present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; + command.Description = "Publishes a contentType present in the content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -81,7 +82,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Publishes a [contentType][] present in the content type hub site. + /// Publishes a contentType present in the content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 20cce41622..fa773a9df0 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Unpublish { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.ContentTypes.Item.Unpublish +{ /// /// Provides operations to call the unpublish method. /// - public class UnpublishRequestBuilder : BaseCliRequestBuilder + public class UnpublishRequestBuilder : BaseCliRequestBuilder { /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Unpublish a [contentType][] from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; + command.Description = "Unpublish a contentType from a content type hub site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -81,7 +82,7 @@ public UnpublishRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Unpublish a [contentType][] from a content type hub site. + /// Unpublish a contentType from a content type hub site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 1a0a67767c..f9e3bd809b 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index e5e36575b2..cb18d45e00 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 570b12cf2e..c4610a4f69 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 7b9bf6199e..0fdd5c6795 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs index a89a7a5d14..18f5fa204a 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Drive { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Drive +{ /// /// Provides operations to manage the drive property of the microsoft.graph.list entity. /// - public class DriveRequestBuilder : BaseCliRequestBuilder + public class DriveRequestBuilder : BaseCliRequestBuilder { /// /// Allows access to the list as a drive resource with driveItems. Only present on document libraries. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaGetResponse.cs index 8980825af2..b05af4bbe7 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaRequestBuilder.cs index f2e13b1803..6322f041af 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Delta { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs index 37c841076a..192aeb846b 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.DeltaWithToken { - public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.DeltaWithToken +{ + #pragma warning disable CS1591 + public class DeltaWithTokenGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs index f3cf6663ee..8e444d4491 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.DeltaWithToken { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.DeltaWithToken +{ /// /// Provides operations to call the delta method. /// - public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder + public class DeltaWithTokenRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function delta @@ -126,7 +127,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs index 82a8036c1b..ec894b6016 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Analytics { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Analytics +{ /// /// Provides operations to manage the analytics property of the microsoft.graph.listItem entity. /// - public class AnalyticsRequestBuilder : BaseCliRequestBuilder + public class AnalyticsRequestBuilder : BaseCliRequestBuilder { /// /// Analytics about the view activities that took place on this item. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index b237f2c1ae..0536aeca52 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreateLink { - public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreateLink +{ + #pragma warning disable CS1591 + public class CreateLinkPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -81,14 +84,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"message", n => { Message = n.GetStringValue(); } }, - {"password", n => { Password = n.GetStringValue(); } }, - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, - {"scope", n => { Scope = n.GetStringValue(); } }, - {"sendNotification", n => { SendNotification = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "retainInheritedPermissions", n => { RetainInheritedPermissions = n.GetBoolValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + { "sendNotification", n => { SendNotification = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs index 5899ae6999..bed71195ce 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreateLink { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreateLink +{ /// /// Provides operations to call the createLink method. /// - public class CreateLinkRequestBuilder : BaseCliRequestBuilder + public class CreateLinkRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action createLink diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 7c67de99ef..0b697ffdd2 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 91f8738567..4c924ad6ed 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\items\{listItem-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 3ea1880ad3..2fe240946e 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 58f84042f7..b4709a2cfe 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\items\{listItem-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index 370a75bf27..d6cdea8aee 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index 48bd2e7ed0..a6f3d42270 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions +{ /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. /// - public class DocumentSetVersionsRequestBuilder : BaseCliRequestBuilder + public class DocumentSetVersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. @@ -56,14 +57,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new version of a document set item in a list. - /// Find more info here + /// Create new navigation property to documentSetVersions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new version of a document set item in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to documentSetVersions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -126,14 +126,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the versions of a document set item in a list. - /// Find more info here + /// Version information for a document set version created by a user. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the versions of a document set item in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0"; + command.Description = "Version information for a document set version created by a user."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -233,7 +232,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -259,7 +260,7 @@ public DocumentSetVersionsRequestBuilder(string rawUrl) : base("{+baseurl}/group { } /// - /// Get a list of the versions of a document set item in a list. + /// Version information for a document set version created by a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -278,7 +279,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new version of a document set item in a list. + /// Create new navigation property to documentSetVersions for groups /// /// A /// The request body @@ -299,7 +300,7 @@ public RequestInformation ToPostRequestInformation(DocumentSetVersion body, Acti return requestInfo; } /// - /// Get a list of the versions of a document set item in a list. + /// Version information for a document set version created by a user. /// public class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index 33dee7ab79..2cabb14387 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item +{ /// /// Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. /// - public class DocumentSetVersionItemRequestBuilder : BaseCliRequestBuilder + public class DocumentSetVersionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a version of a document set in a list. - /// Find more info here + /// Delete navigation property documentSetVersions for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a version of a document set in a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property documentSetVersions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -102,14 +102,13 @@ public Command BuildFieldsNavCommand() return command; } /// - /// Read the properties and relationships of a documentSetVersion object. - /// Find more info here + /// Version information for a document set version created by a user. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a documentSetVersion object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0"; + command.Description = "Version information for a document set version created by a user."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -285,7 +284,7 @@ public DocumentSetVersionItemRequestBuilder(string rawUrl) : base("{+baseurl}/gr { } /// - /// Delete a version of a document set in a list. + /// Delete navigation property documentSetVersions for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -304,7 +303,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a documentSetVersion object. + /// Version information for a document set version created by a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -344,7 +343,7 @@ public RequestInformation ToPatchRequestInformation(DocumentSetVersion body, Act return requestInfo; } /// - /// Read the properties and relationships of a documentSetVersion object. + /// Version information for a document set version created by a user. /// public class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index d4ff728597..0d6406d5f5 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item.Fields { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index 8405017b34..6fe6c8adb8 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item.Restore { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DocumentSetVersions.Item.Restore +{ /// /// Provides operations to call the restore method. /// - public class RestoreRequestBuilder : BaseCliRequestBuilder + public class RestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a document set version. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index 156f76b392..d78f706627 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -14,12 +14,66 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DriveItem.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DriveItem.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream, if the item represents a file. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var listIdOption = new Option("--list-id", description: "The unique identifier of list") { + }; + listIdOption.IsRequired = true; + command.AddOption(listIdOption); + var listItemIdOption = new Option("--list-item-id", description: "The unique identifier of listItem") { + }; + listItemIdOption.IsRequired = true; + command.AddOption(listItemIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var listId = invocationContext.ParseResult.GetValueForOption(listIdOption); + var listItemId = invocationContext.ParseResult.GetValueForOption(listItemIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (listId is not null) requestInfo.PathParameters.Add("list%2Did", listId); + if (listItemId is not null) requestInfo.PathParameters.Add("listItem%2Did", listItemId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream, if the item represents a file. /// @@ -170,6 +224,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs index 527207562e..4577217016 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DriveItem { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.DriveItem +{ /// /// Provides operations to manage the driveItem property of the microsoft.graph.listItem entity. /// - public class DriveItemRequestBuilder : BaseCliRequestBuilder + public class DriveItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,13 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "For document libraries, the driveItem relationship exposes the listItem as a [driveItem][]"; + command.Description = "For document libraries, the driveItem relationship exposes the listItem as a driveItem"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -124,7 +126,7 @@ public DriveItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + /// For document libraries, the driveItem relationship exposes the listItem as a driveItem /// public class DriveItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs index 224c2fd8f8..4719a1e591 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Fields { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItem entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for groups @@ -144,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties on a [listItem][]. - /// Find more info here + /// Update the navigation property fields in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties on a [listItem][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property fields in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties on a [listItem][]. + /// Update the navigation property fields in groups /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs index 1c3b796823..51acc9962f 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByInterval { - public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index cbbf00e987..ec9acbeb98 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByInterval { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -126,7 +127,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs index 2b7d86543b..4c61cdc28b 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ + #pragma warning disable CS1591 + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ItemActivityStat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index bf934253ba..312b7d2481 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval +{ /// /// Provides operations to call the getActivitiesByInterval method. /// - public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder + public class GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function getActivitiesByInterval @@ -144,7 +145,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index cce8c9ce0a..af3211aaa7 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 05ba1b8893..e7d9b39ee0 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\items\{listItem-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 5021a2abf1..6c15f1cebb 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index ba76ff0086..1c631a92e5 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\items\{listItem-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs index 7867489aab..2e6834b384 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item +{ /// /// Provides operations to manage the items property of the microsoft.graph.list entity. /// - public class ListItemItemRequestBuilder : BaseCliRequestBuilder + public class ListItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.listItem entity. @@ -89,14 +90,13 @@ public Command BuildCreateLinkNavCommand() return command; } /// - /// Removes an item from a [list][]. - /// Find more info here + /// Delete navigation property items for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Removes an item from a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property items for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -246,14 +246,13 @@ public Command BuildGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithI return command; } /// - /// Returns the metadata for an [item][] in a [list][]. - /// Find more info here + /// All items contained in the list. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Returns the metadata for an [item][] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0"; + command.Description = "All items contained in the list."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -451,7 +450,7 @@ public ListItemItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Removes an item from a [list][]. + /// Delete navigation property items for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -470,7 +469,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Returns the metadata for an [item][] in a [list][]. + /// All items contained in the list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -510,7 +509,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.ListItem body, return requestInfo; } /// - /// Returns the metadata for an [item][] in a [list][]. + /// All items contained in the list. /// public class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs index 1bfc9bd4a1..b18c06cf9c 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index 3c35618aa5..37562586a6 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item.Fields { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item.Fields +{ /// /// Provides operations to manage the fields property of the microsoft.graph.listItemVersion entity. /// - public class FieldsRequestBuilder : BaseCliRequestBuilder + public class FieldsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property fields for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index 7bb3b457a6..d9deb3db14 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. /// - public class ListItemVersionItemRequestBuilder : BaseCliRequestBuilder + public class ListItemVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for groups @@ -101,14 +102,13 @@ public Command BuildFieldsNavCommand() return command; } /// - /// Retrieve the metadata for a specific version of a ListItem. - /// Find more info here + /// The list of previous versions of the list item. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the metadata for a specific version of a ListItem.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the list item."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -303,7 +303,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the metadata for a specific version of a ListItem. + /// The list of previous versions of the list item. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -343,7 +343,7 @@ public RequestInformation ToPatchRequestInformation(ListItemVersion body, Action return requestInfo; } /// - /// Retrieve the metadata for a specific version of a ListItem. + /// The list of previous versions of the list item. /// public class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index f9b27ef672..a4a487a397 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item.RestoreVersion { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions.Item.RestoreVersion +{ /// /// Provides operations to call the restoreVersion method. /// - public class RestoreVersionRequestBuilder : BaseCliRequestBuilder + public class RestoreVersionRequestBuilder : BaseCliRequestBuilder { /// /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs index 7da2ebc7fc..3ca13fdd81 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.listItem entity. @@ -125,14 +126,13 @@ public Command BuildCreateCommand() return command; } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. - /// Find more info here + /// The list of previous versions of the list item. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0"; + command.Description = "The list of previous versions of the list item."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -232,7 +232,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -258,7 +260,7 @@ public VersionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. + /// The list of previous versions of the list item. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +300,7 @@ public RequestInformation ToPostRequestInformation(ListItemVersion body, Action< return requestInfo; } /// - /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. + /// The list of previous versions of the list item. /// public class VersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs index 72ea13f9e1..fe0d6f5f47 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Items +{ /// /// Provides operations to manage the items property of the microsoft.graph.list entity. /// - public class ItemsRequestBuilder : BaseCliRequestBuilder + public class ItemsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the items property of the microsoft.graph.list entity. @@ -48,14 +49,13 @@ public Tuple, List> BuildCommand() return new(executables, commands); } /// - /// Create a new [listItem][] in a [list][]. - /// Find more info here + /// Create new navigation property to items for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new [listItem][] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to items for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,14 +146,13 @@ public Command BuildDeltaWithTokenRbCommand() return command; } /// - /// Get the collection of [items][item] in a [list][]. - /// Find more info here + /// All items contained in the list. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [items][item] in a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0"; + command.Description = "All items contained in the list."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -241,7 +240,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -267,7 +268,7 @@ public ItemsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [items][item] in a [list][]. + /// All items contained in the list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -286,7 +287,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [listItem][] in a [list][]. + /// Create new navigation property to items for groups /// /// A /// The request body @@ -307,7 +308,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.ListItem body, return requestInfo; } /// - /// Get the collection of [items][item] in a [list][]. + /// All items contained in the list. /// public class ItemsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index dffd65bdbf..b9c5015aee 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index b941b01c06..96ae8db152 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 73b7ca44ed..df7e16d382 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 52dd685567..ac051bf8b0 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\lists\{list-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 4b448bada8..fc4c13beb0 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item +{ /// /// Provides operations to manage the lists property of the microsoft.graph.site entity. /// - public class ListItemRequestBuilder : BaseCliRequestBuilder + public class ListItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.list entity. @@ -174,14 +175,13 @@ public Command BuildDriveNavCommand() return command; } /// - /// Returns the metadata for a [list][]. - /// Find more info here + /// The collection of lists under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Returns the metadata for a [list][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0"; + command.Description = "The collection of lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -441,7 +441,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Returns the metadata for a [list][]. + /// The collection of lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -481,7 +481,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.List body, Act return requestInfo; } /// - /// Returns the metadata for a [list][]. + /// The collection of lists under this site. /// public class ListItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs index b780e2cc29..18ea6dc242 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 1e47590f85..19bac21536 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. /// - public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder + public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs index 103d14b856..a710ce52bc 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.list entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs index 812395a53b..0dc5451ecd 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index f80ee9f508..caabaf9353 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Item.Reauthorize { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Item.Reauthorize +{ /// /// Provides operations to call the reauthorize method. /// - public class ReauthorizeRequestBuilder : BaseCliRequestBuilder + public class ReauthorizeRequestBuilder : BaseCliRequestBuilder { /// /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index 47c013f291..3a099bd1f7 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions.Item +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. /// - public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder + public class SubscriptionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property subscriptions for groups diff --git a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs index 83954a69da..7f610b3b57 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions { +namespace ApiSdk.Groups.Item.Sites.Item.Lists.Item.Subscriptions +{ /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. /// - public class SubscriptionsRequestBuilder : BaseCliRequestBuilder + public class SubscriptionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the subscriptions property of the microsoft.graph.list entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs index 9a2e96df13..74b58d69e6 100644 --- a/src/generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Lists { +namespace ApiSdk.Groups.Item.Sites.Item.Lists +{ /// /// Provides operations to manage the lists property of the microsoft.graph.site entity. /// - public class ListsRequestBuilder : BaseCliRequestBuilder + public class ListsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the lists property of the microsoft.graph.site entity. @@ -62,14 +63,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to lists for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to lists for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,14 +120,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. - /// Find more info here + /// The collection of lists under this site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/list-list?view=graph-rest-1.0"; + command.Description = "The collection of lists under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -215,7 +214,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -241,7 +242,7 @@ public ListsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +261,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [list][] in a [site][]. + /// Create new navigation property to lists for groups /// /// A /// The request body @@ -281,7 +282,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.List body, Acti return requestInfo; } /// - /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. + /// The collection of lists under this site. /// public class ListsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index e100ecb73d..2a77dc1d01 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs index 860649b8d1..47c96fac27 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetNotebookFromWebUrl { - public class GetNotebookFromWebUrlPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetNotebookFromWebUrl +{ + #pragma warning disable CS1591 + public class GetNotebookFromWebUrlPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index edb76f0b31..33045388ad 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetNotebookFromWebUrl { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetNotebookFromWebUrl +{ /// /// Provides operations to call the getNotebookFromWebUrl method. /// - public class GetNotebookFromWebUrlRequestBuilder : BaseCliRequestBuilder + public class GetNotebookFromWebUrlRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs index afe985053e..a1cbdba3fa 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks { - public class GetRecentNotebooksWithIncludePersonalNotebooksGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks +{ + #pragma warning disable CS1591 + public class GetRecentNotebooksWithIncludePersonalNotebooksGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(RecentNotebook.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(RecentNotebook.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index 1d08f6cb7d..2be8a2ee88 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.GetRecentNotebooksWithIncludePersonalNotebooks +{ /// /// Provides operations to call the getRecentNotebooks method. /// - public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder : BaseCliRequestBuilder + public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getRecentNotebooks"; + command.Description = "Get a list of recentNotebook instances that have been accessed by the signed-in user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -99,7 +101,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -125,7 +129,7 @@ public GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(string rawUr { } /// - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -144,7 +148,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getRecentNotebooks + /// Get a list of recentNotebook instances that have been accessed by the signed-in user. /// public class GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs index addbe94430..a3b1840fac 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.CopyNotebook { - public class CopyNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.CopyNotebook +{ + #pragma warning disable CS1591 + public class CopyNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"notebookFolder", n => { NotebookFolder = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "notebookFolder", n => { NotebookFolder = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index 7699287581..691e0c7f49 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.CopyNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.CopyNotebook +{ /// /// Provides operations to call the copyNotebook method. /// - public class CopyNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index e965a77c6c..110834718c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item +{ /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. /// - public class NotebookItemRequestBuilder : BaseCliRequestBuilder + public class NotebookItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyNotebook method. @@ -88,14 +89,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a notebook object. - /// Find more info here + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a notebook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0"; + command.Description = "The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -303,7 +303,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a notebook object. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -343,7 +343,7 @@ public RequestInformation ToPatchRequestInformation(Notebook body, Action - /// Retrieve the properties and relationships of a notebook object. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index d2f96ba1f8..915fe3e3f1 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index c0deab7a96..2c4e2e55ab 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 696c433093..db8d35d5f3 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 84f3f548a3..878f526736 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sectionGroups for groups diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 2acaafd943..9bfb864ed6 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 1e26825339..b16b47f10e 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index cbdfefd62f..1cd5141d9c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of section groups from the specified section group. - /// Find more info here + /// The section groups in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -158,7 +158,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -184,7 +186,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +205,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index b385d592f9..66c9a4b994 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index 3079e230ac..2af1d3c786 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 240feb8c34..a23b9661aa 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index 9583114482..91472318ef 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index cc3a8c923b..368c61762c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index db26b81a65..f96482bc65 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 20d7d7be93..8249f0aedb 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 34d18b397b..e21e5ea150 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,86 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var notebookIdOption = new Option("--notebook-id", description: "The unique identifier of notebook") { + }; + notebookIdOption.IsRequired = true; + command.AddOption(notebookIdOption); + var sectionGroupIdOption = new Option("--section-group-id", description: "The unique identifier of sectionGroup") { + }; + sectionGroupIdOption.IsRequired = true; + command.AddOption(sectionGroupIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var notebookId = invocationContext.ParseResult.GetValueForOption(notebookIdOption); + var sectionGroupId = invocationContext.ParseResult.GetValueForOption(sectionGroupIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (notebookId is not null) requestInfo.PathParameters.Add("notebook%2Did", notebookId); + if (sectionGroupId is not null) requestInfo.PathParameters.Add("sectionGroup%2Did", sectionGroupId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -189,6 +254,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 8327446c94..d520477e57 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 1828e656ed..ad440a31e7 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 4b8d7012c6..4c96d13d07 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index c72ef86cb0..aa0f8be201 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index ca0cf0ebcf..8af6e4fcd6 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 807fb5133b..542b4ebfa5 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index da9299e6a7..426daa8959 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index d605528d93..1a65e23d38 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index d472463eaa..2533a37e70 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -136,14 +136,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -249,7 +248,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -275,7 +276,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +295,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -315,7 +316,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 767419a022..2e5422cbea 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 9b47cdc821..ee643a9ff0 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 0e4119e677..80c319ec86 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified section group. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -129,14 +129,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// Find more info here + /// The sections in the section group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the section group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -236,7 +235,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -262,7 +263,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -281,7 +282,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified section group. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -302,7 +303,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 5a9cd4bbb0..cca258e97d 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. @@ -58,14 +59,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new section group in the specified notebook. - /// Find more info here + /// Create new navigation property to sectionGroups for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new section group in the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sectionGroups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,14 +122,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of section groups from the specified notebook. - /// Find more info here + /// The section groups in the notebook. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the notebook. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -223,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -249,7 +250,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified notebook. + /// The section groups in the notebook. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new section group in the specified notebook. + /// Create new navigation property to sectionGroups for groups /// /// A /// The request body @@ -289,7 +290,7 @@ public RequestInformation ToPostRequestInformation(SectionGroup body, Action - /// Retrieve a list of section groups from the specified notebook. + /// The section groups in the notebook. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index ea3b44d6a0..2b39764756 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index 7ab56292a1..e169951279 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 53fcd21fad..6dcfd9024f 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index 8dc44fd5c7..ed12391330 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 03f9867eb6..e92e079487 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 6bffc60697..f037ed8c18 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 5de1a722a3..6f71b6fc2c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 6d0458c326..908eee6334 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,80 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var notebookIdOption = new Option("--notebook-id", description: "The unique identifier of notebook") { + }; + notebookIdOption.IsRequired = true; + command.AddOption(notebookIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var notebookId = invocationContext.ParseResult.GetValueForOption(notebookIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (notebookId is not null) requestInfo.PathParameters.Add("notebook%2Did", notebookId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -177,6 +236,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 2066de12c5..81d4983b00 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index b67778983b..152404b148 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index d53cf65e9a..29172b9bb9 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 1fd5cbd5e2..a02b255207 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index fcebf6f86b..1bdc75d39a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index be63c482b1..0ec85fde2a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 001e125360..8e6f399fb3 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 62dc82d2c6..d458d45d09 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index f36768fa7b..7a9c589c7b 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -130,14 +130,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -263,7 +264,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -282,7 +283,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -303,7 +304,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index f744b8b202..8cbc02d015 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 0851666ef9..8528905f53 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index 9c34e87ed1..7c1354b4a8 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.notebook entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified notebook. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified notebook. - /// Find more info here + /// The sections in the notebook. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the notebook. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +251,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified notebook. + /// The sections in the notebook. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified notebook. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -290,7 +291,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified notebook. + /// The sections in the notebook. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index c6c6c08d7e..51185c598a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Notebooks +{ /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. /// - public class NotebooksRequestBuilder : BaseCliRequestBuilder + public class NotebooksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the notebooks property of the microsoft.graph.onenote entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new OneNote notebook. - /// Find more info here + /// Create new navigation property to notebooks for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new OneNote notebook.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0"; + command.Description = "Create new navigation property to notebooks for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -151,14 +151,13 @@ public Command BuildGetRecentNotebooksWithIncludePersonalNotebooksRbCommand() return command; } /// - /// Retrieve a list of notebook objects. - /// Find more info here + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of notebook objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0"; + command.Description = "The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -246,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -272,7 +273,7 @@ public NotebooksRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Retrieve a list of notebook objects. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -291,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new OneNote notebook. + /// Create new navigation property to notebooks for groups /// /// A /// The request body @@ -312,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Notebook body, Action - /// Retrieve a list of notebook objects. + /// The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs index 7c457790b3..ceda880d93 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote +{ /// /// Provides operations to manage the onenote property of the microsoft.graph.site entity. /// - public class OnenoteRequestBuilder : BaseCliRequestBuilder + public class OnenoteRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property onenote for groups diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs index 63f69bfa00..be78db6d3c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index 4113a90cdf..fc6959d642 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. /// - public class OnenoteOperationItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. - /// Find more info here + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0"; + command.Description = "The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(OnenoteOperation body, Actio return requestInfo; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// public class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs index 3810acab5e..82b6a9ce41 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.onenote entity. @@ -110,13 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information."; + command.Description = "The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -230,7 +233,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +273,7 @@ public RequestInformation ToPostRequestInformation(OnenoteOperation body, Action return requestInfo; } /// - /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. + /// The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs index 1b282c703a..504fb8be2b 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index e19a64e672..db84ff11cf 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -153,6 +200,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index c1958c06eb..ae031cbf40 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 35c17be7f6..2b13f297bf 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index e620b81a94..8f0733ce8a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -62,14 +64,13 @@ public Command BuildCopyToSectionNavCommand() return command; } /// - /// Delete a OneNote page. - /// Find more info here + /// Delete navigation property pages for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a OneNote page.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -110,14 +111,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. - /// Find more info here + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/page-get?view=graph-rest-1.0"; + command.Description = "The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -320,7 +320,7 @@ public OnenotePageItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Delete a OneNote page. + /// Delete navigation property pages for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -339,7 +339,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -379,7 +379,7 @@ public RequestInformation ToPatchRequestInformation(OnenotePage body, Action - /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 180a7208be..b482c0458e 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index e0020ae141..64011d1a46 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index b6898de2aa..c66ffdfea7 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 2165d69a2b..f5211f4a31 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index eac85108c9..a08d93fdbc 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs index 7f20d00b42..700677d3d7 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenote entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -118,14 +118,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects. - /// Find more info here + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-pages?view=graph-rest-1.0"; + command.Description = "The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -213,7 +212,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -239,7 +240,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +259,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -279,7 +280,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects. + /// The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs index b71aa75cca..4442c444bf 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index d085af4c4c..d549093674 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -14,12 +14,60 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { + /// + /// The content stream + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream"; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var onenoteResourceIdOption = new Option("--onenote-resource-id", description: "The unique identifier of onenoteResource") { + }; + onenoteResourceIdOption.IsRequired = true; + command.AddOption(onenoteResourceIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var onenoteResourceId = invocationContext.ParseResult.GetValueForOption(onenoteResourceIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (onenoteResourceId is not null) requestInfo.PathParameters.Add("onenoteResource%2Did", onenoteResourceId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } /// /// The content stream /// @@ -152,6 +200,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index 697e69edf7..b85ab7a058 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. /// - public class OnenoteResourceItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs index 05f2434a8c..ff69dba663 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.onenote entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index d8c4970b85..54bdb693f2 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index b0da187336..a55799d435 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.sectionGroup entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 50cf9330ff..8dce2b7895 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.sectionGroup entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section group. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 958d017ec1..68a1eadf82 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property sectionGroups for groups @@ -72,14 +73,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a sectionGroup object. - /// Find more info here + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a sectionGroup object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0"; + command.Description = "The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -320,7 +320,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a sectionGroup object. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +360,7 @@ public RequestInformation ToPatchRequestInformation(SectionGroup body, Action - /// Retrieve the properties and relationships of a sectionGroup object. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 8f6759094e..b16e1cf5f2 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 0bebff959a..a948382985 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups.Item +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder + public class SectionGroupItemRequestBuilder : BaseCliRequestBuilder { /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 77b4a7492f..d2abfafbba 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of section groups from the specified section group. - /// Find more info here + /// The section groups in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of section groups from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -178,7 +180,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of section groups from the specified section group. + /// The section groups in the section. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 5e8edf1b4c..10f5d28a79 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index a2b28fe44d..0cc4b65d3a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 39c38900ba..df67d43134 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index a2e4e60cfa..70b57b6ae2 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index b393945b4a..7accd939d4 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index dd21b106c5..678863c45c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 06402711ab..3ce374f3f5 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index ec915255d0..a4e6a410ea 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,80 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var sectionGroupIdOption = new Option("--section-group-id", description: "The unique identifier of sectionGroup") { + }; + sectionGroupIdOption.IsRequired = true; + command.AddOption(sectionGroupIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var sectionGroupId = invocationContext.ParseResult.GetValueForOption(sectionGroupIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (sectionGroupId is not null) requestInfo.PathParameters.Add("sectionGroup%2Did", sectionGroupId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -177,6 +236,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 8731dbc644..6f5e9c3d8a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 539067a82d..1a8c4c228f 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 0cc84d4eb9..9449d9dc5a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 5b3603dadc..a93ae8a0b6 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index dc55202f24..c977ae74df 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 5ecd077286..394e97b4c0 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 9b8d9cc752..53e0165aa1 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 70b5bc9327..662d462fc4 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 8884d34260..1180ed1513 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -130,14 +130,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -237,7 +236,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -263,7 +264,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -282,7 +283,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -303,7 +304,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 9f19436a5f..f75726123c 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 8cd1b68861..4aeb2f1b10 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index ccf186a4cc..5f35f4c987 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups.Item.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. @@ -59,14 +60,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new onenoteSection in the specified section group. - /// Find more info here + /// Create new navigation property to sections for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new onenoteSection in the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sections for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects from the specified section group. - /// Find more info here + /// The sections in the section group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects from the specified section group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in the section group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +251,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new onenoteSection in the specified section group. + /// Create new navigation property to sections for groups /// /// A /// The request body @@ -290,7 +291,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects from the specified section group. + /// The sections in the section group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index ef2b70b98e..5824145e95 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.SectionGroups +{ /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. /// - public class SectionGroupsRequestBuilder : BaseCliRequestBuilder + public class SectionGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. @@ -115,14 +116,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of sectionGroup objects. - /// Find more info here + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of sectionGroup objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0"; + command.Description = "The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -210,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -236,7 +238,7 @@ public SectionGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of sectionGroup objects. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +278,7 @@ public RequestInformation ToPostRequestInformation(SectionGroup body, Action - /// Retrieve a list of sectionGroup objects. + /// The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs index 7ea1124945..2922adab27 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs index 534ec42c4c..efe148e115 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToNotebook { - public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToNotebook +{ + #pragma warning disable CS1591 + public class CopyToNotebookPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 70527f043a..4e5ab834cf 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToNotebook +{ /// /// Provides operations to call the copyToNotebook method. /// - public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder + public class CopyToNotebookRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs index 26fd31a40d..1982d04a2e 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToSectionGroup { - public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToSectionGroup +{ + #pragma warning disable CS1591 + public class CopyToSectionGroupPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"renameAs", n => { RenameAs = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "renameAs", n => { RenameAs = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 28e3f8fcf3..fd55a115a7 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.CopyToSectionGroup +{ /// /// Provides operations to call the copyToSectionGroup method. /// - public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 9d28448237..ca5a9cc038 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item +{ /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. /// - public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder + public class OnenoteSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the copyToNotebook method. @@ -107,14 +108,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a onenoteSection object. - /// Find more info here + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a onenoteSection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0"; + command.Description = "The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -329,7 +329,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a onenoteSection object. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -369,7 +369,7 @@ public RequestInformation ToPatchRequestInformation(OnenoteSection body, Action< return requestInfo; } /// - /// Retrieve the properties and relationships of a onenoteSection object. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 754c71e1d4..3a5df3f997 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 8b8f3ca41f..479d155237 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -14,21 +14,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.Content { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The page's HTML content. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The page's HTML content."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var siteIdOption = new Option("--site-id", description: "The unique identifier of site") { + }; + siteIdOption.IsRequired = true; + command.AddOption(siteIdOption); + var onenoteSectionIdOption = new Option("--onenote-section-id", description: "The unique identifier of onenoteSection") { + }; + onenoteSectionIdOption.IsRequired = true; + command.AddOption(onenoteSectionIdOption); + var onenotePageIdOption = new Option("--onenote-page-id", description: "The unique identifier of onenotePage") { + }; + onenotePageIdOption.IsRequired = true; + command.AddOption(onenotePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var siteId = invocationContext.ParseResult.GetValueForOption(siteIdOption); + var onenoteSectionId = invocationContext.ParseResult.GetValueForOption(onenoteSectionIdOption); + var onenotePageId = invocationContext.ParseResult.GetValueForOption(onenotePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (siteId is not null) requestInfo.PathParameters.Add("site%2Did", siteId); + if (onenoteSectionId is not null) requestInfo.PathParameters.Add("onenoteSection%2Did", onenoteSectionId); + if (onenotePageId is not null) requestInfo.PathParameters.Add("onenotePage%2Did", onenotePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The page's HTML content. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The page's HTML content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The page's HTML content."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -165,6 +218,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The page's HTML content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs index 0f4f45b002..2b5e1e57f4 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.CopyToSection { - public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.CopyToSection +{ + #pragma warning disable CS1591 + public class CopyToSectionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, - {"siteId", n => { SiteId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "siteCollectionId", n => { SiteCollectionId = n.GetStringValue(); } }, + { "siteId", n => { SiteId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index cf9ad4a5c6..71bd66a03a 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.CopyToSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.CopyToSection +{ /// /// Provides operations to call the copyToSection method. /// - public class CopyToSectionRequestBuilder : BaseCliRequestBuilder + public class CopyToSectionRequestBuilder : BaseCliRequestBuilder { /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index d900fce82e..5fb3812c99 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder + public class OnenotePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -36,6 +37,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs index 74626b5415..63eb9cf4fe 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent { - public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent +{ + #pragma warning disable CS1591 + public class OnenotePatchContentPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, + { "commands", n => { Commands = n.GetCollectionOfObjectValues(OnenotePatchContentCommand.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index d4c47d975f..67cb6a52a8 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.OnenotePatchContent +{ /// /// Provides operations to call the onenotePatchContent method. /// - public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder + public class OnenotePatchContentRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action onenotePatchContent diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 57c5774e6c..91bbd35564 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenotePage entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 0fa6060525..f88d93fd3e 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.ParentSection { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.ParentSection +{ /// /// Provides operations to manage the parentSection property of the microsoft.graph.onenotePage entity. /// - public class ParentSectionRequestBuilder : BaseCliRequestBuilder + public class ParentSectionRequestBuilder : BaseCliRequestBuilder { /// /// The section that contains the page. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index e3f9e795db..3b77c360ad 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.Preview { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages.Item.Preview +{ /// /// Provides operations to call the preview method. /// - public class PreviewRequestBuilder : BaseCliRequestBuilder + public class PreviewRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function preview diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index 729b84dc5a..cae642be35 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new page in the specified section. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new page in the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-post-pages?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -124,14 +124,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of page objects from the specified section. - /// Find more info here + /// The collection of pages in the section. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of page objects from the specified section.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/section-list-pages?view=graph-rest-1.0"; + command.Description = "The collection of pages in the section. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -225,7 +224,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -251,7 +252,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +271,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new page in the specified section. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -291,7 +292,7 @@ public RequestInformation ToPostRequestInformation(OnenotePage body, Action - /// Retrieve a list of page objects from the specified section. + /// The collection of pages in the section. Read-only. Nullable. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 4af748143b..b98900b2e4 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.ParentNotebook { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.ParentNotebook +{ /// /// Provides operations to manage the parentNotebook property of the microsoft.graph.onenoteSection entity. /// - public class ParentNotebookRequestBuilder : BaseCliRequestBuilder + public class ParentNotebookRequestBuilder : BaseCliRequestBuilder { /// /// The notebook that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 5367687549..b46cf045bc 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.ParentSectionGroup { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections.Item.ParentSectionGroup +{ /// /// Provides operations to manage the parentSectionGroup property of the microsoft.graph.onenoteSection entity. /// - public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder + public class ParentSectionGroupRequestBuilder : BaseCliRequestBuilder { /// /// The section group that contains the section. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs index 552a63b5d7..787a120eb2 100644 --- a/src/generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections { +namespace ApiSdk.Groups.Item.Sites.Item.Onenote.Sections +{ /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. /// - public class SectionsRequestBuilder : BaseCliRequestBuilder + public class SectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sections property of the microsoft.graph.onenote entity. @@ -116,14 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of onenoteSection objects. - /// Find more info here + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of onenoteSection objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0"; + command.Description = "The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -237,7 +239,7 @@ public SectionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve a list of onenoteSection objects. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +279,7 @@ public RequestInformation ToPostRequestInformation(OnenoteSection body, Action - /// Retrieve a list of onenoteSection objects. + /// The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. /// public class SectionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs index 77374838c1..200fe73fdd 100644 --- a/src/generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Operations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 40e1170031..f0d27bef7f 100644 --- a/src/generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Operations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.site entity. /// - public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder + public class RichLongRunningOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the status of a rich long-running operation on a site or a list. - /// Find more info here + /// The collection of long-running operations on the site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the status of a rich long-running operation on a site or a list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/richlongrunningoperation-get?view=graph-rest-1.0"; + command.Description = "The collection of long-running operations on the site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the status of a rich long-running operation on a site or a list. + /// The collection of long-running operations on the site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(RichLongRunningOperation bod return requestInfo; } /// - /// Get the status of a rich long-running operation on a site or a list. + /// The collection of long-running operations on the site. /// public class RichLongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs index 1a98b26888..f4c1c50118 100644 --- a/src/generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Operations { +namespace ApiSdk.Groups.Item.Sites.Item.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.site entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.site entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of rich long-running operations associated with a site. - /// Find more info here + /// The collection of long-running operations on the site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of rich long-running operations associated with a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0"; + command.Description = "The collection of long-running operations on the site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public OperationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(RichLongRunningOperation body return requestInfo; } /// - /// Get a list of rich long-running operations associated with a site. + /// The collection of long-running operations on the site. /// public class OperationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Count/CountRequestBuilder.cs index b095fb6812..cca4c7bfc4 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/Count/CountRequestBuilder.cs index 00efe06481..5e449fc0ea 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.GraphSitePage.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.GraphSitePage.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/GraphSitePageRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/GraphSitePageRequestBuilder.cs index 6e35de8a4a..f76ea34d9a 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/GraphSitePageRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/GraphSitePage/GraphSitePageRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.GraphSitePage { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.GraphSitePage +{ /// /// Casts the previous resource to sitePage. /// - public class GraphSitePageRequestBuilder : BaseCliRequestBuilder + public class GraphSitePageRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/BaseSitePageItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/BaseSitePageItemRequestBuilder.cs index d528433418..d011acf9e9 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/BaseSitePageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/BaseSitePageItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item +{ /// /// Provides operations to manage the pages property of the microsoft.graph.site entity. /// - public class BaseSitePageItemRequestBuilder : BaseCliRequestBuilder + public class BaseSitePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. @@ -48,14 +49,13 @@ public Command BuildCreatedByUserNavCommand() return command; } /// - /// Delete a [baseSitePage][] from the site pages [list][] in a [site][]. - /// Find more info here + /// Delete navigation property pages for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a [baseSitePage][] from the site pages [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/basesitepage-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -96,14 +96,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. - /// Find more info here + /// The collection of pages in the baseSitePages list in this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/basesitepage-get?view=graph-rest-1.0"; + command.Description = "The collection of pages in the baseSitePages list in this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -288,7 +287,7 @@ public BaseSitePageItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{ { } /// - /// Delete a [baseSitePage][] from the site pages [list][] in a [site][]. + /// Delete navigation property pages for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -307,7 +306,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. + /// The collection of pages in the baseSitePages list in this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -347,7 +346,7 @@ public RequestInformation ToPatchRequestInformation(BaseSitePage body, Action - /// Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. + /// The collection of pages in the baseSitePages list in this site. /// public class BaseSitePageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 5a5889c6fe..6556f5abde 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 5e7a48bb4f..81384d0771 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index deaab5dc3b..4c8a52ed6e 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index b66d7fd2e6..047ed19171 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/CanvasLayoutRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/CanvasLayoutRequestBuilder.cs index 0b4af2310f..cfa838c1e3 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/CanvasLayoutRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/CanvasLayoutRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout +{ /// /// Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. /// - public class CanvasLayoutRequestBuilder : BaseCliRequestBuilder + public class CanvasLayoutRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property canvasLayout for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Count/CountRequestBuilder.cs index f256f420c8..7c91fdf347 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/HorizontalSectionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/HorizontalSectionsRequestBuilder.cs index d5641836b3..f89ea0fcda 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/HorizontalSectionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/HorizontalSectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections +{ /// /// Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. /// - public class HorizontalSectionsRequestBuilder : BaseCliRequestBuilder + public class HorizontalSectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/ColumnsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/ColumnsRequestBuilder.cs index e73ddecf1c..cd40a61f2d 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/ColumnsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns +{ /// /// Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. /// - public class ColumnsRequestBuilder : BaseCliRequestBuilder + public class ColumnsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. @@ -230,7 +231,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Count/CountRequestBuilder.cs index 8c23c35571..cf6c92b859 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/HorizontalSectionColumnItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/HorizontalSectionColumnItemRequestBuilder.cs index 7d4aa4edf0..762bdfbab4 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/HorizontalSectionColumnItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/HorizontalSectionColumnItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item +{ /// /// Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. /// - public class HorizontalSectionColumnItemRequestBuilder : BaseCliRequestBuilder + public class HorizontalSectionColumnItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property columns for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Count/CountRequestBuilder.cs index e3956a882d..cd81a58bde 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs index 95e3883d35..ae24430eaf 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Item.GetPositionOfWebPart { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Item.GetPositionOfWebPart +{ /// /// Provides operations to call the getPositionOfWebPart method. /// - public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder + public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action getPositionOfWebPart diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/WebPartItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/WebPartItemRequestBuilder.cs index b2a2d5e915..4b4e08878d 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/WebPartItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/Item/WebPartItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts.Item +{ /// /// Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. /// - public class WebPartItemRequestBuilder : BaseCliRequestBuilder + public class WebPartItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property webparts for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/WebpartsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/WebpartsRequestBuilder.cs index e24111d3fb..2da526fddc 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/WebpartsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/Columns/Item/Webparts/WebpartsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item.Columns.Item.Webparts +{ /// /// Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. /// - public class WebpartsRequestBuilder : BaseCliRequestBuilder + public class WebpartsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. @@ -242,7 +243,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/HorizontalSectionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/HorizontalSectionItemRequestBuilder.cs index 5576a8e8d9..ae7d3bae89 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/HorizontalSectionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/HorizontalSections/Item/HorizontalSectionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.HorizontalSections.Item +{ /// /// Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. /// - public class HorizontalSectionItemRequestBuilder : BaseCliRequestBuilder + public class HorizontalSectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/VerticalSectionRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/VerticalSectionRequestBuilder.cs index 3304eaadaa..99d03cafd8 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/VerticalSectionRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/VerticalSectionRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection +{ /// /// Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity. /// - public class VerticalSectionRequestBuilder : BaseCliRequestBuilder + public class VerticalSectionRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property verticalSection for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Count/CountRequestBuilder.cs index 1381178fa3..dd52b3f395 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs index 01d599dc3e..6118a567d6 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Item.GetPositionOfWebPart { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Item.GetPositionOfWebPart +{ /// /// Provides operations to call the getPositionOfWebPart method. /// - public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder + public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action getPositionOfWebPart diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/WebPartItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/WebPartItemRequestBuilder.cs index 51ca23e211..d9310913e5 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/WebPartItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/Item/WebPartItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts.Item +{ /// /// Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. /// - public class WebPartItemRequestBuilder : BaseCliRequestBuilder + public class WebPartItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property webparts for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/WebpartsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/WebpartsRequestBuilder.cs index e35597064d..3bfce062b6 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/WebpartsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CanvasLayout/VerticalSection/Webparts/WebpartsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CanvasLayout.VerticalSection.Webparts +{ /// /// Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. /// - public class WebpartsRequestBuilder : BaseCliRequestBuilder + public class WebpartsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/CreatedByUserRequestBuilder.cs index 3f7edec208..92ebfa95e3 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser +{ /// /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. /// - public class CreatedByUserRequestBuilder : BaseCliRequestBuilder + public class CreatedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who created the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 0ddeef6deb..ac3430b521 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\graph.sitePage\createdByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index f7f9f48699..165d0ef074 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 98ea47e900..177c3bac42 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.CreatedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\graph.sitePage\createdByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/GraphSitePageRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/GraphSitePageRequestBuilder.cs index a1a800a282..d688555621 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/GraphSitePageRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/GraphSitePageRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage +{ /// /// Casts the previous resource to sitePage. /// - public class GraphSitePageRequestBuilder : BaseCliRequestBuilder + public class GraphSitePageRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index d5f16d19f9..0d6112138c 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index e3d808d228..9c56fb33dd 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\graph.sitePage\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 25f34170d3..d6e6150ca1 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index d83325ab41..2cc82f6923 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\graph.sitePage\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Count/CountRequestBuilder.cs index 23625ab8e6..ce0437abca 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs index f5a6e09ae6..c0e912f31b 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/GetPositionOfWebPart/GetPositionOfWebPartRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Item.GetPositionOfWebPart { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Item.GetPositionOfWebPart +{ /// /// Provides operations to call the getPositionOfWebPart method. /// - public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder + public class GetPositionOfWebPartRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action getPositionOfWebPart diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/WebPartItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/WebPartItemRequestBuilder.cs index 8e2eea07e6..844139e3e6 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/WebPartItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/Item/WebPartItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts.Item +{ /// /// Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. /// - public class WebPartItemRequestBuilder : BaseCliRequestBuilder + public class WebPartItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property webParts for groups diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/WebPartsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/WebPartsRequestBuilder.cs index 023a519ae2..c75bca795e 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/WebPartsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/GraphSitePage/WebParts/WebPartsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.GraphSitePage.WebParts +{ /// /// Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. /// - public class WebPartsRequestBuilder : BaseCliRequestBuilder + public class WebPartsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 3797bbf556..ff9fc732f5 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser +{ /// /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. /// - public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByUserRequestBuilder : BaseCliRequestBuilder { /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 110112b265..24a93a1975 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.MailboxSettings { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\lastModifiedByUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index c8070eb9b7..ef9f707304 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index b109bf0f4a..57631c36d0 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Sites.Item.Pages.Item.LastModifiedByUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\sites\{site-id}\pages\{baseSitePage-id}\lastModifiedByUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/Pages/PagesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Pages/PagesRequestBuilder.cs index 600d493be8..628762898a 100644 --- a/src/generated/Groups/Item/Sites/Item/Pages/PagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Pages/PagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Pages { +namespace ApiSdk.Groups.Item.Sites.Item.Pages +{ /// /// Provides operations to manage the pages property of the microsoft.graph.site entity. /// - public class PagesRequestBuilder : BaseCliRequestBuilder + public class PagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the pages property of the microsoft.graph.site entity. @@ -58,14 +59,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. - /// Find more info here + /// Create new navigation property to pages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new [sitePage][] in the site pages [list][] in a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-1.0"; + command.Description = "Create new navigation property to pages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -139,14 +139,13 @@ public Command BuildGraphSitePageNavCommand() return command; } /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. - /// Find more info here + /// The collection of pages in the baseSitePages list in this site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0"; + command.Description = "The collection of pages in the baseSitePages list in this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +261,7 @@ public PagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -279,7 +280,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new [sitePage][] in the site pages [list][] in a [site][]. + /// Create new navigation property to pages for groups /// /// A /// The request body @@ -300,7 +301,7 @@ public RequestInformation ToPostRequestInformation(BaseSitePage body, Action - /// Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. + /// The collection of pages in the baseSitePages list in this site. /// public class PagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs index 5c250b975d..22b37ad37d 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostRequestBody.cs b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostRequestBody.cs index ea15e085ce..92831cdc09 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant { - public class GrantPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant +{ + #pragma warning disable CS1591 + public class GrantPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(DriveRecipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostResponse.cs b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostResponse.cs index ea0b019a69..5a2ad5a0d2 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostResponse.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant { - public class GrantPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant +{ + #pragma warning disable CS1591 + public class GrantPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs index 7772148187..566f0af54e 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant { +namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item.Grant +{ /// /// Provides operations to call the grant method. /// - public class GrantRequestBuilder : BaseCliRequestBuilder + public class GrantRequestBuilder : BaseCliRequestBuilder { /// - /// Grant users access to a link represented by a [permission][]. + /// Grant users access to a link represented by a permission. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Grant users access to a link represented by a [permission][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0"; + command.Description = "Grant users access to a link represented by a permission.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -83,7 +84,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -109,7 +112,7 @@ public GrantRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Grant users access to a link represented by a [permission][]. + /// Grant users access to a link represented by a permission. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 1c7ed087d2..3be5e9bb22 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Permissions.Item +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.site entity. /// - public class PermissionItemRequestBuilder : BaseCliRequestBuilder + public class PermissionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a permission object on a site. - /// Find more info here + /// Delete navigation property permissions for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a permission object on a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-delete-permission?view=graph-rest-1.0"; + command.Description = "Delete navigation property permissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -70,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a permission object on a site. - /// Find more info here + /// The permissions associated with the site. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a permission object on a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-get-permission?view=graph-rest-1.0"; + command.Description = "The permissions associated with the site. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,14 +151,13 @@ public Command BuildGrantNavCommand() return command; } /// - /// Update an application permission object on a site. - /// Find more info here + /// Update the navigation property permissions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update an application permission object on a site. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-update-permission?view=graph-rest-1.0"; + command.Description = "Update the navigation property permissions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -230,7 +228,7 @@ public PermissionItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Delete a permission object on a site. + /// Delete navigation property permissions for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a permission object on a site. + /// The permissions associated with the site. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an application permission object on a site. + /// Update the navigation property permissions in groups /// /// A /// The request body @@ -289,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Permission bod return requestInfo; } /// - /// Retrieve the properties and relationships of a permission object on a site. + /// The permissions associated with the site. Nullable. /// public class PermissionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs index e6d8d124d8..d97a3fc169 100644 --- a/src/generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Permissions { +namespace ApiSdk.Groups.Item.Sites.Item.Permissions +{ /// /// Provides operations to manage the permissions property of the microsoft.graph.site entity. /// - public class PermissionsRequestBuilder : BaseCliRequestBuilder + public class PermissionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the permissions property of the microsoft.graph.site entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new permission object on a site. - /// Find more info here + /// Create new navigation property to permissions for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new permission object on a site. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to permissions for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -113,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the permission resources from the permissions navigation property on a site. - /// Find more info here + /// The permissions associated with the site. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the permission resources from the permissions navigation property on a site.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0"; + command.Description = "The permissions associated with the site. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -208,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +235,7 @@ public PermissionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new permission object on a site. + /// Create new navigation property to permissions for groups /// /// A /// The request body @@ -274,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.Permission body return requestInfo; } /// - /// Get the permission resources from the permissions navigation property on a site. + /// The permissions associated with the site. Nullable. /// public class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs index 0361a252dc..59348d9767 100644 --- a/src/generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs @@ -35,11 +35,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item { +namespace ApiSdk.Groups.Item.Sites.Item +{ /// /// Provides operations to manage the sites property of the microsoft.graph.group entity. /// - public class SiteItemRequestBuilder : BaseCliRequestBuilder + public class SiteItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the analytics property of the microsoft.graph.site entity. diff --git a/src/generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs index e206069e64..8a81337fcb 100644 --- a/src/generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Sites.Count { +namespace ApiSdk.Groups.Item.Sites.Item.Sites.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs index f4d41a5e68..56b6a9738f 100644 --- a/src/generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Sites.Item { +namespace ApiSdk.Groups.Item.Sites.Item.Sites.Item +{ /// /// Provides operations to manage the sites property of the microsoft.graph.site entity. /// - public class SiteItemRequestBuilder : BaseCliRequestBuilder + public class SiteItemRequestBuilder : BaseCliRequestBuilder { /// /// The collection of the sub-sites under this site. diff --git a/src/generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs index 42177c9b10..685b9b9458 100644 --- a/src/generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.Sites { +namespace ApiSdk.Groups.Item.Sites.Item.Sites +{ /// /// Provides operations to manage the sites property of the microsoft.graph.site entity. /// - public class SitesRequestBuilder : BaseCliRequestBuilder + public class SitesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sites property of the microsoft.graph.site entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get a collection of subsites defined for a [site][]. - /// Find more info here + /// The collection of the sub-sites under this site. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a collection of subsites defined for a [site][].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0"; + command.Description = "The collection of the sub-sites under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -172,7 +174,7 @@ public SitesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -191,7 +193,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a collection of subsites defined for a [site][]. + /// The collection of the sub-sites under this site. /// public class SitesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs index f27edb8878..4feecd97a3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs index f7c18763da..a49576518b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups +{ /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. /// - public class GroupsRequestBuilder : BaseCliRequestBuilder + public class GroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new group object in a term store. - /// Find more info here + /// Create new navigation property to groups for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new group object in a term store.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to groups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -113,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of group objects in a term store. - /// Find more info here + /// Collection of all groups available in the term store. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of group objects in a term store.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0"; + command.Description = "Collection of all groups available in the term store."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -208,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +235,7 @@ public GroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did { } /// - /// Get a list of group objects in a term store. + /// Collection of all groups available in the term store. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object in a term store. + /// Create new navigation property to groups for groups /// /// A /// The request body @@ -274,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Group return requestInfo; } /// - /// Get a list of group objects in a term store. + /// Collection of all groups available in the term store. /// public class GroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs index 4f60be7a4a..d17bff10d0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item +{ /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. /// - public class GroupItemRequestBuilder : BaseCliRequestBuilder + public class GroupItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a group object in a term [store]. - /// Find more info here + /// Delete navigation property groups for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a group object in a term [store].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property groups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -70,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term store group object. - /// Find more info here + /// Collection of all groups available in the term store. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term store group object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-1.0"; + command.Description = "Collection of all groups available in the term store."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -239,7 +238,7 @@ public GroupItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Delete a group object in a term [store]. + /// Delete navigation property groups for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -258,7 +257,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term store group object. + /// Collection of all groups available in the term store. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +297,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.TermStore.Grou return requestInfo; } /// - /// Read the properties and relationships of a term store group object. + /// Collection of all groups available in the term store. /// public class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs index b766ee6e78..7c139a56f8 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index f7f866a1d3..5767bcc67c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -127,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +261,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -279,7 +280,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -300,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index e37c10826b..88d08de3c9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index ca24d41111..911fbf6af3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 6feb65f0d8..a49769291a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 93be51163c..c7524109c5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 87c439a048..29a4d3bc1e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 02d28d47dd..8741f850bb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index e0d9a53d33..52e8b112ed 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index da0310ca3b..3f1ab08616 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d04dee242e..0fbb421d8a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index efd6d5d5ff..4ab232132e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 70b47ff080..7b57c36907 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 49386e4662..c9a2e4e103 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index cbcafe7e70..451a1776ef 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0cad9e497a..a3e81999c6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index ddf54c5e7f..33e9710264 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 0b791ff722..7736d87cf6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 0ceaab9438..7c46587fb0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 037a25e9c7..33a6d4f469 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index c1237caa9f..eb8fd8bc3f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 6c0454749a..19b3d68ce0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.ParentGroup { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.ParentGroup +{ /// /// Provides operations to manage the parentGroup property of the microsoft.graph.termStore.set entity. /// - public class ParentGroupRequestBuilder : BaseCliRequestBuilder + public class ParentGroupRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property parentGroup for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 4ce0db0dc8..3810999a12 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index fd81901176..f9e7a8f8a6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index a8fc1d850b..cb23887ba0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index bc6341ca03..ef58a1e44d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a7aa126ed4..dcfaddc7b8 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 4d9aa7f32e..a6fcbe3785 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -126,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -233,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -259,7 +261,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -299,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index b76ceaf441..a14e6737ef 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index a75c301632..db08179a64 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 8ab8f3d0dc..8dc185bd3b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index b49caf3af0..5b79e7aacd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index ece01700e9..c00fb8fedb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index a8c20356fa..a87293b72b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 2a60c1f66a..241adf79c6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 73fe701720..036fddc274 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index f9bbb72ac8..bc4481c46e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 2a8d2ca734..a0bbeedd31 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 8395ebe401..f187e7f95e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 967da5d2af..30979f25b3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 7394fcc22b..a571bb7818 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 83b94d1ada..9c50e73d5d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index f71b89454e..b80c811f97 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 021d52cec2..b7b7e14548 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index cb27bd3dc3..c9fdd4e4a0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index bf923ea0fd..aef7e9480b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 48eee2a04d..ea17910c72 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 7274bd319a..fb8397429f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -188,14 +187,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -322,7 +320,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +339,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +358,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -381,7 +379,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 4c364ff8ac..77a30591d7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -126,13 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -232,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -258,7 +261,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs index afb9c6d432..f730635cd7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Groups.Item.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. @@ -121,14 +122,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the set objects and their properties. - /// Find more info here + /// All sets under the group in a term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the set objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0"; + command.Description = "All sets under the group in a term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +250,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +290,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs index 94f4e70d14..f112ce9cce 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs index 7e68ba8071..66e2c15a86 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -121,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +249,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +268,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -288,7 +289,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs index 3241b91a7c..8a13054422 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index d92f51e9d4..2e09624a44 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -231,7 +232,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 9930743d05..073540dc2c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index dfab83db3f..c9e6301759 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 3fe1a4b98a..de451068dc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index d5aa329a18..fee56f10b3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 31eebb7433..e920a024a4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a984e88d79..fb4f2ed7ef 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d037dac5b6..ad16b42d26 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index de8d34cac0..abf3cfce5a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 0d4392a12e..0c4d282941 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 7309f49663..30a8767467 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 966a29b2dd..0a588722be 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 358d821fc1..2d70f994d9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a532d57c37..87adab4f6f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a836be45d4..371b68f2db 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d08690c870..76603edb88 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -232,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index e00fd29314..eba7416ae6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 828b1ef524..841a9ebfad 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index ca94f05821..f919e253f5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup +{ /// /// Provides operations to manage the parentGroup property of the microsoft.graph.termStore.set entity. /// - public class ParentGroupRequestBuilder : BaseCliRequestBuilder + public class ParentGroupRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property parentGroup for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index fed856ce88..ea07d016b6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index dfff3400f0..06acb6d36e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -127,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +261,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -279,7 +280,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -300,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index 4be2b98100..02cdbaa518 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index c51796d51b..45f7f67f86 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 6338597ec8..4ae00f19db 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 447a2ccddf..82a5e1dc5b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 8961888cf2..e36efe8941 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 6cac5655ce..a95ecc1224 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index d2649897bc..7e3bd76028 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 022caa361a..f509c98845 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 27f25d6273..168b82b492 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 84be523209..31b0275cb0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index d594d9337b..cf13aa4753 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 7a8fc951c1..58df935b9c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 9bb9f15eca..4a19a87e26 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0078e5cb6e..727363cf7f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a7e127d72a..4a8dc4ab38 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index e168742392..b6ef23b13e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index ba40283116..8793acfcfd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 985a27c758..534b47349c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 2f9e5ae4f5..cf8cbd07b9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index 73846ed8f2..ddd27c4906 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index b64e253f3e..1b3ab6b90e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 577ddc3270..ee345c8710 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 0fc3b57515..fb4e20d129 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 32749d79f2..69e094647e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index c54a8aab0e..ae93211bb1 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -126,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -233,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -259,7 +261,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -299,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index 9cf22e26b7..8aa9d7cb41 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index f920b30ed0..48642f1d5e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index cb75232513..8cc1a48b69 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 7aab5627d1..7af533c96e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 09892893c6..dd1a0c460d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 5e8662f7aa..e1b4e881c4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index fef1ce0f47..c687304c4d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 0cfba00234..6651c7fdbb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index aedb3bac32..ff7afa080e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 73ed4031f5..2b5a4f7ce9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index bcf83d53f6..87201b1726 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index d636f75a97..7e148430ac 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 985ee68c58..70ef6c3a28 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index dcd6b5a120..b54efb136b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index f459e0b46d..aa6bf60749 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 038d96e4a1..3790b9d108 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 259820f2aa..7f78e6c478 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index ea76dbaa13..8949667961 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 114f8a7b61..d7529609e5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 5d4e32f003..2f99abcc4b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -188,14 +187,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -322,7 +320,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +339,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +358,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -381,7 +379,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index 1ebc7fba2f..d0c175ed4c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -126,13 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -232,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -258,7 +261,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index 33331fc035..d4e4ff3ff2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.ParentGroup.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. @@ -120,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the set objects and their properties. - /// Find more info here + /// All sets under the group in a term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the set objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0"; + command.Description = "All sets under the group in a term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -221,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -247,7 +249,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +289,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs index f1c3535b9a..32d6ebbcec 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 2040ebed7b..c3571e082b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 6e80247b64..7fd475a6f5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 002a3b8839..294d23efce 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 79f2ea7b83..bbbff3f840 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs index 54aa1b6d8c..de349d2d45 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -120,14 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -221,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -247,7 +249,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +289,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs index 0c3b98535c..1db8eb3055 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -52,14 +53,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a set object. - /// Find more info here + /// Delete navigation property sets for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property sets for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -100,14 +100,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a set object. - /// Find more info here + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0"; + command.Description = "Collection of all sets available in the term store. This relationship can only be used to load a specific term set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -190,14 +189,13 @@ public Command BuildParentGroupNavCommand() return command; } /// - /// Update the properties of a set object. - /// Find more info here + /// Update the navigation property sets in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property sets in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -322,7 +320,7 @@ public SetItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Delete a set object. + /// Delete navigation property sets for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +339,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +358,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a set object. + /// Update the navigation property sets in groups /// /// A /// The request body @@ -381,7 +379,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.TermStore.Set return requestInfo; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// public class SetItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs index e8d1a90f89..60d6e27c5f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 0b68b83049..a8d9cc9324 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -231,7 +232,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 9efa5e9cce..8b35813f49 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 6a35d39b01..86f2e3d7c5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index bb6007f70f..9b8bde07fb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 9f84c0df41..00710a2bf6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index ae96a9cf59..53a3488c19 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a2087e0da7..b32af10c8c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index b94c5c928a..d72b2b5f2b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 23d4b83f8d..930093c1f2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 6f2a63ad72..5ecb58cd21 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 635de642d9..d3ffe135ef 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 0c37a8281b..cad5f2b873 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index d198fa5921..0342edaac3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index c6abf9db55..9e711b74dd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index d36f2f0a05..5fde3289e8 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 5e03dabff7..bfd7f130f9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -232,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index bd7c5546b1..38b1a79e19 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index c6ae416efb..9070fa457f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -176,14 +175,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -304,7 +302,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -323,7 +321,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -342,7 +340,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -363,7 +361,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs index 2b09f91926..29dd2e2ebc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -120,13 +121,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -220,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -246,7 +249,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -286,7 +289,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs index 02e08360a0..6f41c66870 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. @@ -58,14 +59,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new set object. - /// Find more info here + /// Create new navigation property to sets for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sets for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -116,13 +116,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a set object."; + command.Description = "Collection of all sets available in the term store. This relationship can only be used to load a specific term set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -210,7 +210,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -236,7 +238,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -255,7 +257,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new set object. + /// Create new navigation property to sets for groups /// /// A /// The request body @@ -276,7 +278,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs index b0baae7e75..e43bd1048a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStore { +namespace ApiSdk.Groups.Item.Sites.Item.TermStore +{ /// /// Provides operations to manage the termStore property of the microsoft.graph.site entity. /// - public class TermStoreRequestBuilder : BaseCliRequestBuilder + public class TermStoreRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property termStore for groups @@ -64,14 +65,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a store object. - /// Find more info here + /// The default termStore under this site. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0"; + command.Description = "The default termStore under this site."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -150,14 +150,13 @@ public Command BuildGroupsNavCommand() return command; } /// - /// Update the properties of a store object. - /// Find more info here + /// Update the navigation property termStore in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a store object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property termStore in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -268,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +286,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a store object. + /// Update the navigation property termStore in groups /// /// A /// The request body @@ -308,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(Store body, Action - /// Read the properties and relationships of a store object. + /// The default termStore under this site. /// public class TermStoreRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs index b7df006e8b..8b976b1ccd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs index 0483268f54..3ace34624b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs index 2c068151ad..7e73b82713 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups +{ /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. /// - public class GroupsRequestBuilder : BaseCliRequestBuilder + public class GroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new group object in a term store. - /// Find more info here + /// Create new navigation property to groups for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new group object in a term store.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to groups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -119,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of group objects in a term store. - /// Find more info here + /// Collection of all groups available in the term store. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of group objects in a term store.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0"; + command.Description = "Collection of all groups available in the term store."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -220,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -246,7 +247,7 @@ public GroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did { } /// - /// Get a list of group objects in a term store. + /// Collection of all groups available in the term store. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -265,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object in a term store. + /// Create new navigation property to groups for groups /// /// A /// The request body @@ -286,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Group return requestInfo; } /// - /// Get a list of group objects in a term store. + /// Collection of all groups available in the term store. /// public class GroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs index c0224facee..66f9d6be81 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item +{ /// /// Provides operations to manage the groups property of the microsoft.graph.termStore.store entity. /// - public class GroupItemRequestBuilder : BaseCliRequestBuilder + public class GroupItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a group object in a term [store]. - /// Find more info here + /// Delete navigation property groups for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a group object in a term [store].\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property groups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -76,14 +76,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term store group object. - /// Find more info here + /// Collection of all groups available in the term store. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term store group object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-1.0"; + command.Description = "Collection of all groups available in the term store."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -257,7 +256,7 @@ public GroupItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Delete a group object in a term [store]. + /// Delete navigation property groups for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +275,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term store group object. + /// Collection of all groups available in the term store. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -316,7 +315,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.TermStore.Grou return requestInfo; } /// - /// Read the properties and relationships of a term store group object. + /// Collection of all groups available in the term store. /// public class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs index da2c38f2d2..a39a9c61d3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 57380b4ecc..12df4f2003 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -246,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -272,7 +273,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -291,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -312,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index 02841e63bf..8e8e6febc9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 7c4d188c0b..7a4bf1752c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 5cdf1bdbd3..99be6db3e8 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 18413a67f9..3353c99b9b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index df67a6c483..cc33b3a3c2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 9d0405e6aa..f70e49d77d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 785f345d02..4e19a8706d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a8483bd0f7..3f99299473 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index a7677f1862..30070326bd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -268,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 468bec3728..75ad35c6e7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 0e8da05c0b..a52c525bcc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index b822360c4d..d483cdd8db 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index f587752710..ecb508322a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 576e24f9ca..d14fe12290 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 3341f8d7e3..30b688c3d1 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index dfbf4a481a..548065902f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6bb81722ea..c5e095b3ff 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 2311269179..dc2b93c876 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index dbb2c0d7c3..dedd70411d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 1118d12f49..e9c35b5904 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.ParentGroup { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.ParentGroup +{ /// /// Provides operations to manage the parentGroup property of the microsoft.graph.termStore.set entity. /// - public class ParentGroupRequestBuilder : BaseCliRequestBuilder + public class ParentGroupRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property parentGroup for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 980c955e83..3ef127c2cc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index ea8f57f18e..6a37092129 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 94b0bbbc96..9e51451fdf 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 09677bc800..8b10062d4d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 1d20269210..5c5ef88cae 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 3cd9e5e0fc..9f3afba7aa 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -132,14 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -245,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -271,7 +273,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -311,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index c9540bafc1..b44e6c5d23 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index ea8897bd11..c4f5b52f42 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index a6c1dcec7b..00bc5a7c99 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 9ece48f2b5..8b6505fb18 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index bd1d3a6f0e..ea60f4d5af 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index d68bec1ab6..38997856b2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 4d2bbf6b0b..61bae1de2b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index b276204fa9..068f4185ff 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 8b633e97dd..50c635e8df 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d0dbcee269..cd50c52f43 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -268,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index ecc64fb9b5..e0bfa9c725 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 2cdbcb1a79..9797280a77 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 4ec66c39db..bc64f663e3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 1984250dfc..4c76e897d7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 7c8e6dc436..669d9da102 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 6a1076ca4b..99063ac678 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 1a0c5c090d..52575567e2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index bae0734c83..77d7a28245 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 2481086ac0..f11768cf70 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index f2a63bbb08..7ccca717ac 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -200,14 +199,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -340,7 +338,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -359,7 +357,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -378,7 +376,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -399,7 +397,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index c2c2d5aeeb..5d9180784d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -132,13 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -270,7 +273,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -310,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs index 067243dc63..d9b76f9518 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Groups.Item.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. @@ -127,14 +128,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the set objects and their properties. - /// Find more info here + /// All sets under the group in a term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the set objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0"; + command.Description = "All sets under the group in a term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +234,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +262,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -300,7 +302,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs index cf254008fd..b40dd3dfdc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 4464e3bff5..181d0c8ad6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -127,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -234,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -260,7 +261,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -279,7 +280,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -300,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index 6048d2ce25..232c562924 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 58e3ee76cf..889b5c5c00 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index e82a7f5725..ddd3054115 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index ee126bf9c1..0d708f5ba9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 123db598ab..fcafd716b9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 83c93cfa07..a1b75b142c 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 918c8c1b35..1857e63dc1 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 2b2484250e..c3a76f9a85 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 65425ae5bd..2feccedb7f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index ee6a50baed..41ba23947a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 5fb9785870..2b1933c378 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index dd970c62bc..ef8a0b07c1 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index e2b6810a69..9d14c54d54 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index a474d12d3e..6f16cd5594 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 702947255d..eff5b85484 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 700358e85c..b4ac4c70ba 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 9ba14377ba..c16011a6dc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index b2b5f06e60..8305c44a51 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 50d7f6cdcd..d1b36dd34b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 0407d8b2d6..9d1ca4ac70 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup +{ /// /// Provides operations to manage the parentGroup property of the microsoft.graph.termStore.set entity. /// - public class ParentGroupRequestBuilder : BaseCliRequestBuilder + public class ParentGroupRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property parentGroup for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index fbda5eb49d..fa1e4a2fa7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index 43a898b76c..958b51dff0 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new term object. - /// Find more info here + /// Create new navigation property to children for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to children for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. - /// Find more info here + /// Children terms of set in term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the first level children of a [set] or [term] resource using the children navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0"; + command.Description = "Children terms of set in term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -246,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -272,7 +273,7 @@ public ChildrenRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -291,7 +292,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new term object. + /// Create new navigation property to children for groups /// /// A /// The request body @@ -312,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Get the first level children of a [set] or [term] resource using the children navigation property. + /// Children terms of set in term [store]. /// public class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index e64de57a23..f9afb6d521 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 70e5ea04d4..d7ef7d7970 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index ed546dc14b..f0ea7f6bab 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 29c644a870..b8fa27c214 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 949a61140a..8b05724c20 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 4c27bd98bd..cd9dad172f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index c6160ead5c..01f377edb4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 3964eb271b..b059a45ce8 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index ccf3040ceb..058b985374 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -268,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index fab700193e..f1d82b386d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index d9eb977a38..955fd9dff7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 5a2bbd008b..bf5b2be6b4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 2f2b6220a8..97f914fede 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 5d4eb1f314..382a02d9c1 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 95f033ac64..ff97a64d59 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 3c225e6d69..747e5ed4fb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6fcb8c8388..74bc488f89 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 005e63f673..5e235b86d9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index e290ea0dfb..68bcc3750d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index d059c21995..5cb311d400 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index a3bfaf8b77..8cc085ec18 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index ea1976990e..f07bbae865 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 77c4c6ec5d..78fd89ae8e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index f17ec878ed..0e02aad02b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index 77e0f68817..721501d774 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -132,14 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -245,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -271,7 +273,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -311,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index afe6cca5ea..089b0cdcbe 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index 01441fa28d..c5c1962b87 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 57b690e8e0..70ef233458 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -255,7 +256,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 3aaa35bfa4..679ab4c79e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 881f002742..8d8b888913 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index cd5a3278ba..67a109c03f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 9e2635da4f..576a99cc78 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 4c92b0497e..c16ae898cf 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 035995ec77..75e7795ba2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index a32745e1cb..7be479508b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -268,7 +269,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 4ecfa64c47..a0f8b9badc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 7b53dfcc9a..5aa194c335 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 74f24d5a40..6944851e09 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 5c237c1e18..6673ed4870 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 1fcc084f30..30017498f7 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 91f018ccef..442781f4c4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index f94c6fa1f1..6863fdb252 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 6e8ef15049..9ca9b05abc 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index f08dba172f..cb49f73eab 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 4d6bd83ed7..c1ef08746b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -117,14 +117,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -200,14 +199,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -340,7 +338,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -359,7 +357,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -378,7 +376,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -399,7 +397,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index c975906702..02482ba67f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -132,13 +133,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -270,7 +273,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -310,7 +313,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index db29ad7816..ca687e687a 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.ParentGroup.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.group entity. @@ -126,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the set objects and their properties. - /// Find more info here + /// All sets under the group in a term [store]. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the set objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0"; + command.Description = "All sets under the group in a term [store]."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -233,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -259,7 +261,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -299,7 +301,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Get a list of the set objects and their properties. + /// All sets under the group in a term [store]. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 06f5b3c1ea..1f6d701437 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 1fe1b22271..ba3195e47b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 240c634048..96ce1b0652 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 18a34935d9..057e411ded 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 9df9880613..12ce3a1168 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 7135e0ff93..15d4743ba3 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. @@ -126,14 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. - /// Find more info here + /// Indicates which terms have been pinned or reused directly under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the different relation of a [term] or [set] from the relations navigation property.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0"; + command.Description = "Indicates which terms have been pinned or reused directly under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -233,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -259,7 +261,7 @@ public RelationsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -299,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Relation body, Action - /// Get the different relation of a [term] or [set] from the relations navigation property. + /// Indicates which terms have been pinned or reused directly under the set. /// public class RelationsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs index 171fb59b02..42a934d05d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. /// - public class SetItemRequestBuilder : BaseCliRequestBuilder + public class SetItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.set entity. @@ -52,14 +53,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a set object. - /// Find more info here + /// Delete navigation property sets for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property sets for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -106,14 +106,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a set object. - /// Find more info here + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0"; + command.Description = "Collection of all sets available in the term store. This relationship can only be used to load a specific term set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -202,14 +201,13 @@ public Command BuildParentGroupNavCommand() return command; } /// - /// Update the properties of a set object. - /// Find more info here + /// Update the navigation property sets in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property sets in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -340,7 +338,7 @@ public SetItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Delete a set object. + /// Delete navigation property sets for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -359,7 +357,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -378,7 +376,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a set object. + /// Update the navigation property sets in groups /// /// A /// The request body @@ -399,7 +397,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.TermStore.Set return requestInfo; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// public class SetItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 062e21d8dd..5e68114ea4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 03652395f8..d654103a58 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class ChildrenRequestBuilder : BaseCliRequestBuilder + public class ChildrenRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -243,7 +244,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 7e2bf7ba97..76a8b5f04b 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index aea23ccbfe..5e1cf800f9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index f36fca3b80..21af1ca2d4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 68e7830900..80c17489e6 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index c40a768d58..9d49c5473f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index ab9eac413b..da2cf34dfd 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index f6117fe07a..89935f4e79 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -256,7 +257,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index bd19fce62d..ab37aaadf4 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index ce2af6e9a4..b96c1f3f1f 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Children.Item +{ /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property children for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 49908c4e97..4522bba83e 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Count { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index e006b22ad1..6925d0d8c5 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.FromTerm +{ /// /// Provides operations to manage the fromTerm property of the microsoft.graph.termStore.relation entity. /// - public class FromTermRequestBuilder : BaseCliRequestBuilder + public class FromTermRequestBuilder : BaseCliRequestBuilder { /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index fb3f3278ed..aacd5712ca 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationItemRequestBuilder : BaseCliRequestBuilder + public class RelationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property relations for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 514cdf5baf..f7e165d513 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.relation entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the relation is relevant. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 5a2c66c155..506b7e6387 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations.Item.ToTerm +{ /// /// Provides operations to manage the toTerm property of the microsoft.graph.termStore.relation entity. /// - public class ToTermRequestBuilder : BaseCliRequestBuilder + public class ToTermRequestBuilder : BaseCliRequestBuilder { /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index da1edb1e21..52b852f853 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Relations +{ /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. /// - public class RelationsRequestBuilder : BaseCliRequestBuilder + public class RelationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the relations property of the microsoft.graph.termStore.term entity. @@ -244,7 +245,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index a535689d61..921f4177f2 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Set { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item.Set +{ /// /// Provides operations to manage the set property of the microsoft.graph.termStore.term entity. /// - public class SetRequestBuilder : BaseCliRequestBuilder + public class SetRequestBuilder : BaseCliRequestBuilder { /// /// The [set] in which the term is created. diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 6a4e113874..045bfaf3a9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms.Item +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermItemRequestBuilder : BaseCliRequestBuilder + public class TermItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the children property of the microsoft.graph.termStore.term entity. @@ -51,14 +52,13 @@ public Command BuildChildrenNavCommand() return command; } /// - /// Delete a term object. - /// Find more info here + /// Delete navigation property terms for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property terms for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a term object. - /// Find more info here + /// All the terms under the set. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0"; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -188,14 +187,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of a term object. - /// Find more info here + /// Update the navigation property terms in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a term object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property terms in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -322,7 +320,7 @@ public TermItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Delete a term object. + /// Delete navigation property terms for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -341,7 +339,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +358,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a term object. + /// Update the navigation property terms in groups /// /// A /// The request body @@ -381,7 +379,7 @@ public RequestInformation ToPatchRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 1df44712fe..d079effdbb 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets.Item.Terms +{ /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. /// - public class TermsRequestBuilder : BaseCliRequestBuilder + public class TermsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. @@ -126,13 +127,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a term object."; + command.Description = "All the terms under the set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -232,7 +233,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -258,7 +261,7 @@ public TermsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -298,7 +301,7 @@ public RequestInformation ToPostRequestInformation(Term body, Action - /// Read the properties and relationships of a term object. + /// All the terms under the set. /// public class TermsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs index 73a2557b1e..ed464b928d 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item.Sets +{ /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. /// - public class SetsRequestBuilder : BaseCliRequestBuilder + public class SetsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. @@ -58,14 +59,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new set object. - /// Find more info here + /// Create new navigation property to sets for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new set object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/termstore-set-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to sets for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,13 +122,13 @@ public Command BuildCreateCommand() return command; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Read the properties and relationships of a set object."; + command.Description = "Collection of all sets available in the term store. This relationship can only be used to load a specific term set."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +250,7 @@ public SetsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +269,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new set object. + /// Create new navigation property to sets for groups /// /// A /// The request body @@ -288,7 +290,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.TermStore.Set b return requestInfo; } /// - /// Read the properties and relationships of a set object. + /// Collection of all sets available in the term store. This relationship can only be used to load a specific term set. /// public class SetsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs index 2600de926d..37a4af08ec 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores.Item +{ /// /// Provides operations to manage the termStores property of the microsoft.graph.site entity. /// - public class StoreItemRequestBuilder : BaseCliRequestBuilder + public class StoreItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property termStores for groups diff --git a/src/generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs b/src/generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs index ddd718a5d5..688da2efd9 100644 --- a/src/generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Item.TermStores { +namespace ApiSdk.Groups.Item.Sites.Item.TermStores +{ /// /// Provides operations to manage the termStores property of the microsoft.graph.site entity. /// - public class TermStoresRequestBuilder : BaseCliRequestBuilder + public class TermStoresRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the termStores property of the microsoft.graph.site entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/Remove/RemovePostRequestBody.cs b/src/generated/Groups/Item/Sites/Remove/RemovePostRequestBody.cs index 3177e28861..6faa278595 100644 --- a/src/generated/Groups/Item/Sites/Remove/RemovePostRequestBody.cs +++ b/src/generated/Groups/Item/Sites/Remove/RemovePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Remove { - public class RemovePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Sites.Remove +{ + #pragma warning disable CS1591 + public class RemovePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Remove/RemovePostResponse.cs b/src/generated/Groups/Item/Sites/Remove/RemovePostResponse.cs index 0eda50298b..d83d4175e0 100644 --- a/src/generated/Groups/Item/Sites/Remove/RemovePostResponse.cs +++ b/src/generated/Groups/Item/Sites/Remove/RemovePostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Sites.Remove { - public class RemovePostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Sites.Remove +{ + #pragma warning disable CS1591 + public class RemovePostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Site.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs b/src/generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs index 5324b170b3..2ba5e55380 100644 --- a/src/generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites.Remove { +namespace ApiSdk.Groups.Item.Sites.Remove +{ /// /// Provides operations to call the remove method. /// - public class RemoveRequestBuilder : BaseCliRequestBuilder + public class RemoveRequestBuilder : BaseCliRequestBuilder { /// /// Unfollow a user's site or multiple sites. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Sites/SitesRequestBuilder.cs b/src/generated/Groups/Item/Sites/SitesRequestBuilder.cs index a917776199..fc676a26b8 100644 --- a/src/generated/Groups/Item/Sites/SitesRequestBuilder.cs +++ b/src/generated/Groups/Item/Sites/SitesRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Sites { +namespace ApiSdk.Groups.Item.Sites +{ /// /// Provides operations to manage the sites property of the microsoft.graph.group entity. /// - public class SitesRequestBuilder : BaseCliRequestBuilder + public class SitesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -217,7 +218,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs b/src/generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs index 7d94c622f1..5f87ac58af 100644 --- a/src/generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs +++ b/src/generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.SubscribeByMail { +namespace ApiSdk.Groups.Item.SubscribeByMail +{ /// /// Provides operations to call the subscribeByMail method. /// - public class SubscribeByMailRequestBuilder : BaseCliRequestBuilder + public class SubscribeByMailRequestBuilder : BaseCliRequestBuilder { /// /// Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. diff --git a/src/generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs b/src/generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs index 2fc9017ae4..b41c588674 100644 --- a/src/generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.AllChannels { +namespace ApiSdk.Groups.Item.Team.AllChannels +{ /// /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. /// - public class AllChannelsRequestBuilder : BaseCliRequestBuilder + public class AllChannelsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the list of channels either in this team or shared with this team (incoming channels). - /// Find more info here + /// List of channels either hosted in or shared with the team (incoming channels). /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of channels either in this team or shared with this team (incoming channels).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0"; + command.Description = "List of channels either hosted in or shared with the team (incoming channels)."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -140,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -166,7 +168,7 @@ public AllChannelsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the list of channels either in this team or shared with this team (incoming channels). + /// List of channels either hosted in or shared with the team (incoming channels). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +187,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the list of channels either in this team or shared with this team (incoming channels). + /// List of channels either hosted in or shared with the team (incoming channels). /// public class AllChannelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs index 7304517b74..42299a63bb 100644 --- a/src/generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.AllChannels.Count { +namespace ApiSdk.Groups.Item.Team.AllChannels.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs index 86e03f0afa..c7fbb91ed6 100644 --- a/src/generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.AllChannels.Item { +namespace ApiSdk.Groups.Item.Team.AllChannels.Item +{ /// /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. /// - public class ChannelItemRequestBuilder : BaseCliRequestBuilder + public class ChannelItemRequestBuilder : BaseCliRequestBuilder { /// /// List of channels either hosted in or shared with the team (incoming channels). diff --git a/src/generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs b/src/generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs index 227f187ad1..44ec3fd19d 100644 --- a/src/generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Archive { - public class ArchivePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Archive +{ + #pragma warning disable CS1591 + public class ArchivePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"shouldSetSpoSiteReadOnlyForMembers", n => { ShouldSetSpoSiteReadOnlyForMembers = n.GetBoolValue(); } }, + { "shouldSetSpoSiteReadOnlyForMembers", n => { ShouldSetSpoSiteReadOnlyForMembers = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs b/src/generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs index 754d3caf24..f92eff40ce 100644 --- a/src/generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Archive { +namespace ApiSdk.Groups.Item.Team.Archive +{ /// /// Provides operations to call the archive method. /// - public class ArchiveRequestBuilder : BaseCliRequestBuilder + public class ArchiveRequestBuilder : BaseCliRequestBuilder { /// /// Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. diff --git a/src/generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs index e73e7f9d4e..70d22533f7 100644 --- a/src/generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels { +namespace ApiSdk.Groups.Item.Team.Channels +{ /// /// Provides operations to manage the channels property of the microsoft.graph.team entity. /// - public class ChannelsRequestBuilder : BaseCliRequestBuilder + public class ChannelsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the channels property of the microsoft.graph.team entity. @@ -64,14 +65,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. - /// Find more info here + /// Create new navigation property to channels for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to channels for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildGetAllMessagesNavCommand() return command; } /// - /// Retrieve the list of channels in this team. - /// Find more info here + /// The collection of channels and messages associated with the team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of channels in this team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0"; + command.Description = "The collection of channels and messages associated with the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +221,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -248,7 +249,7 @@ public ChannelsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve the list of channels in this team. + /// The collection of channels and messages associated with the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +268,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. + /// Create new navigation property to channels for groups /// /// A /// The request body @@ -288,7 +289,7 @@ public RequestInformation ToPostRequestInformation(Channel body, Action - /// Retrieve the list of channels in this team. + /// The collection of channels and messages associated with the team. /// public class ChannelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs index 1f97831282..17394d4aca 100644 --- a/src/generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesGetResponse.cs b/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesGetResponse.cs index ce2849e1b2..8fc7c80a3b 100644 --- a/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesGetResponse.cs +++ b/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.GetAllMessages { - public class GetAllMessagesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.GetAllMessages +{ + #pragma warning disable CS1591 + public class GetAllMessagesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index b75fe5b1de..ca11798532 100644 --- a/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.GetAllMessages { +namespace ApiSdk.Groups.Item.Team.Channels.GetAllMessages +{ /// /// Provides operations to call the getAllMessages method. /// - public class GetAllMessagesRequestBuilder : BaseCliRequestBuilder + public class GetAllMessagesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getAllMessages + /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getAllMessages"; + command.Description = "Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-getallmessages?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public GetAllMessagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Invoke function getAllMessages + /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAllMessages + /// Retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. /// public class GetAllMessagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index 9b7f3be661..c0891cd3b7 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item +{ /// /// Provides operations to manage the channels property of the microsoft.graph.team entity. /// - public class ChannelItemRequestBuilder : BaseCliRequestBuilder + public class ChannelItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the completeMigration method. @@ -47,14 +48,13 @@ public Command BuildCompleteMigrationNavCommand() return command; } /// - /// Delete the channel. - /// Find more info here + /// Delete navigation property channels for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete the channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property channels for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -129,14 +129,13 @@ public Command BuildFilesFolderNavCommand() return command; } /// - /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. - /// Find more info here + /// The collection of channels and messages associated with the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0"; + command.Description = "The collection of channels and messages associated with the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -244,14 +243,13 @@ public Command BuildMessagesNavCommand() return command; } /// - /// Update the properties of the specified channel. - /// Find more info here + /// Update the navigation property channels in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of the specified channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-patch?view=graph-rest-1.0"; + command.Description = "Update the navigation property channels in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -404,7 +402,7 @@ public ChannelItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Delete the channel. + /// Delete navigation property channels for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -423,7 +421,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. + /// The collection of channels and messages associated with the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -442,7 +440,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the specified channel. + /// Update the navigation property channels in groups /// /// A /// The request body @@ -463,7 +461,7 @@ public RequestInformation ToPatchRequestInformation(Channel body, Action - /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. + /// The collection of channels and messages associated with the team. /// public class ChannelItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 4e1da7a656..552ed4efb1 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.CompleteMigration { +namespace ApiSdk.Groups.Item.Team.Channels.Item.CompleteMigration +{ /// /// Provides operations to call the completeMigration method. /// - public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder + public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder { /// /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index f8a058da2c..8fbf5d3884 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName { - public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName +{ + #pragma warning disable CS1591 + public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index f7ce452ee1..166fe9796f 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName { +namespace ApiSdk.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName +{ /// /// Provides operations to call the doesUserHaveAccess method. /// - public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseCliRequestBuilder + public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function doesUserHaveAccess"; + command.Description = "Determine whether a user has access to a shared channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -96,7 +98,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -115,7 +117,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. /// public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 0941ee7dc1..f7ef59364f 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -14,21 +14,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.FilesFolder.Content { +namespace ApiSdk.Groups.Item.Team.Channels.Item.FilesFolder.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream, if the item represents a file. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var channelIdOption = new Option("--channel-id", description: "The unique identifier of channel") { + }; + channelIdOption.IsRequired = true; + command.AddOption(channelIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var channelId = invocationContext.ParseResult.GetValueForOption(channelIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (channelId is not null) requestInfo.PathParameters.Add("channel%2Did", channelId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream, if the item represents a file. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream, if the item represents a file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0"; + command.Description = "The content stream, if the item represents a file."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -147,6 +188,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index 856ca1ffbe..77fa3f7321 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.FilesFolder { +namespace ApiSdk.Groups.Item.Team.Channels.Item.FilesFolder +{ /// /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. /// - public class FilesFolderRequestBuilder : BaseCliRequestBuilder + public class FilesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,14 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Get the metadata for the location where the files of a channel are stored. - /// Find more info here + /// Metadata for the location where the channel's files are stored. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the metadata for the location where the files of a channel are stored. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0"; + command.Description = "Metadata for the location where the channel's files are stored."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -113,7 +114,7 @@ public FilesFolderRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the metadata for the location where the files of a channel are stored. + /// Metadata for the location where the channel's files are stored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -132,7 +133,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the metadata for the location where the files of a channel are stored. + /// Metadata for the location where the channel's files are stored. /// public class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostRequestBody.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostRequestBody.cs index 309ef86aef..77a90b9864 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostResponse.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostResponse.cs index 338b4483a5..42b9be6aed 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostResponse.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add { - public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs index 176cab68a9..9e46e5049e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. @@ -77,7 +78,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs index 76d020a109..1a54854ac8 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 1a2b39f871..63c36135d8 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete navigation property members for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a conversationMember from a channel. - /// Find more info here + /// A collection of membership records associated with the channel. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a conversationMember from a channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0"; + command.Description = "A collection of membership records associated with the channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the navigation property members in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the role of a conversationMember in a team or channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property members in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +210,7 @@ public ConversationMemberItemRequestBuilder(string rawUrl) : base("{+baseurl}/gr { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete navigation property members for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a conversationMember from a channel. + /// A collection of membership records associated with the channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -250,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the navigation property members in groups /// /// A /// The request body @@ -271,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(ConversationMember body, Act return requestInfo; } /// - /// Get a conversationMember from a channel. + /// A collection of membership records associated with the channel. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs index e221bbd1fc..40c99e6859 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Members { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -71,14 +72,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Create new navigation property to members for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -129,14 +129,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. - /// Find more info here + /// A collection of membership records associated with the channel. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0"; + command.Description = "A collection of membership records associated with the channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -224,7 +223,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -250,7 +251,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + /// A collection of membership records associated with the channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -269,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Create new navigation property to members for groups /// /// A /// The request body @@ -290,7 +291,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + /// A collection of membership records associated with the channel. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs index 3cd1d0adb9..4a9440c9fb 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaGetResponse.cs index ba600fb504..e4748b061f 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index b3e0c0eab9..6e8a303596 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Delta { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 136dc6a590..cedba2b6f3 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item +{ /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property messages for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a single message or a message reply in a channel or a chat. - /// Find more info here + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a single message or a message reply in a channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0"; + command.Description = "A collection of all the messages in the channel. A navigation property. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -166,14 +166,13 @@ public Command BuildHostedContentsNavCommand() return command; } /// - /// Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. - /// Find more info here + /// Update the navigation property messages in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property messages in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -359,7 +358,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -378,7 +377,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + /// Update the navigation property messages in groups /// /// A /// The request body @@ -399,7 +398,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessage body, Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// A collection of all the messages in the channel. A navigation property. Nullable. /// public class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 369fa3e428..126f809ace 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index b4ad531e65..f93ef2b43e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -118,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -219,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -245,7 +247,7 @@ public HostedContentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ChatMessageHostedContent body return requestInfo; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index a0b2f2e244..cb1664d52c 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -93,14 +95,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chatMessageHostedContent object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessageHostedContent bod return requestInfo; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 6464967a47..9d26b4161e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Item.Value { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from groups - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var channelIdOption = new Option("--channel-id", description: "The unique identifier of channel") { + }; + channelIdOption.IsRequired = true; + command.AddOption(channelIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var channelId = invocationContext.ParseResult.GetValueForOption(channelIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (channelId is not null) requestInfo.PathParameters.Add("channel%2Did", channelId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -44,10 +97,6 @@ public Command BuildGetCommand() }; chatMessageHostedContentIdOption.IsRequired = true; command.AddOption(chatMessageHostedContentIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { @@ -55,12 +104,10 @@ public Command BuildGetCommand() var channelId = invocationContext.ParseResult.GetValueForOption(channelIdOption); var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); if (channelId is not null) requestInfo.PathParameters.Add("channel%2Did", channelId); @@ -85,13 +132,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in groups"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -156,28 +203,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; } /// - /// Get media content for the navigation property hostedContents from groups + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -186,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -207,21 +273,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property hostedContents from groups - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index aea0c378b0..05a7c6bf99 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs index 43c17d09c4..e97026e00f 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index ef7cad8945..7e7778459b 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index e45aeda8c0..55a5219b65 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property replies for groups @@ -79,14 +80,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a single message or a message reply in a channel or a chat. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a single message or a message reply in a channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -347,7 +347,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -387,7 +387,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessage body, Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// public class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index c3a8b7f568..48963c524e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 3bf58db9b7..7f9986d745 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -124,14 +125,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -231,7 +231,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -257,7 +259,7 @@ public HostedContentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -297,7 +299,7 @@ public RequestInformation ToPostRequestInformation(ChatMessageHostedContent body return requestInfo; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index f01f5e470a..4b09a5120c 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -99,14 +101,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chatMessageHostedContent object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -284,7 +285,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -324,7 +325,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessageHostedContent bod return requestInfo; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index b36187eca0..b6a028be75 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,80 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from groups - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var channelIdOption = new Option("--channel-id", description: "The unique identifier of channel") { + }; + channelIdOption.IsRequired = true; + command.AddOption(channelIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageId1Option = new Option("--chat-message-id1", description: "The unique identifier of chatMessage") { + }; + chatMessageId1Option.IsRequired = true; + command.AddOption(chatMessageId1Option); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var channelId = invocationContext.ParseResult.GetValueForOption(channelIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageId1 = invocationContext.ParseResult.GetValueForOption(chatMessageId1Option); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (channelId is not null) requestInfo.PathParameters.Add("channel%2Did", channelId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageId1 is not null) requestInfo.PathParameters.Add("chatMessage%2Did1", chatMessageId1); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -48,10 +107,6 @@ public Command BuildGetCommand() }; chatMessageHostedContentIdOption.IsRequired = true; command.AddOption(chatMessageHostedContentIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { @@ -60,12 +115,10 @@ public Command BuildGetCommand() var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); var chatMessageId1 = invocationContext.ParseResult.GetValueForOption(chatMessageId1Option); var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); if (channelId is not null) requestInfo.PathParameters.Add("channel%2Did", channelId); @@ -91,13 +144,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in groups"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -168,28 +221,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) { } /// - /// Get media content for the navigation property hostedContents from groups + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -198,7 +270,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -219,21 +291,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property hostedContents from groups - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 0bacdb529e..1171c7ec5a 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index c060d75ba1..9becfe8442 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 87f7d9cb18..16381d5dbe 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SoftDelete { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 6eb7268df3..5203063635 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index ed900ee49d..35dc5abd2a 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index ac2f396e23..755c98f02e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index e7c5952796..4ad692f95d 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.Replies +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class RepliesRequestBuilder : BaseCliRequestBuilder + public class RepliesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Create new navigation property to replies for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new reply to a chatMessage in a specified channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0"; + command.Description = "Create new navigation property to replies for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -141,14 +141,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -242,7 +241,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -268,7 +269,7 @@ public RepliesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +288,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. + /// Create new navigation property to replies for groups /// /// A /// The request body @@ -308,7 +309,7 @@ public RequestInformation ToPostRequestInformation(ChatMessage body, Action - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// public class RepliesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 9e9834f2b2..bb7f101159 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 36216a805a..821b083e4f 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index eedcd78058..b158e444e3 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SoftDelete { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index d35a8b152e..b178aeae0a 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UndoSoftDelete { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index b0f8aed16c..f034bea686 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 78e27bf546..97fc6fa418 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs index 8f3ebb33ca..e79d21dd2a 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Messages +{ /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// - public class MessagesRequestBuilder : BaseCliRequestBuilder + public class MessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. @@ -61,14 +62,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Create new navigation property to messages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new chatMessage in the specified channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to messages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -136,14 +136,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). - /// Find more info here + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0"; + command.Description = "A collection of all the messages in the channel. A navigation property. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -231,7 +230,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -257,7 +258,7 @@ public MessagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +277,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Create new navigation property to messages for groups /// /// A /// The request body @@ -297,7 +298,7 @@ public RequestInformation ToPostRequestInformation(ChatMessage body, Action - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). + /// A collection of all the messages in the channel. A navigation property. Nullable. /// public class MessagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 8678073dbc..cff724207b 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.ProvisionEmail { +namespace ApiSdk.Groups.Item.Team.Channels.Item.ProvisionEmail +{ /// /// Provides operations to call the provisionEmail method. /// - public class ProvisionEmailRequestBuilder : BaseCliRequestBuilder + public class ProvisionEmailRequestBuilder : BaseCliRequestBuilder { /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index fd7e9daca4..cfb938644e 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.RemoveEmail { +namespace ApiSdk.Groups.Item.Team.Channels.Item.RemoveEmail +{ /// /// Provides operations to call the removeEmail method. /// - public class RemoveEmailRequestBuilder : BaseCliRequestBuilder + public class RemoveEmailRequestBuilder : BaseCliRequestBuilder { /// /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index ce093196be..051b65332b 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 1c241cd57a..226fcb03c0 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers +{ /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. /// - public class AllowedMembersRequestBuilder : BaseCliRequestBuilder + public class AllowedMembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant - /// Find more info here + /// A collection of team members who have access to the shared channel. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0"; + command.Description = "A collection of team members who have access to the shared channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -152,7 +152,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -178,7 +180,7 @@ public AllowedMembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// A collection of team members who have access to the shared channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// A collection of team members who have access to the shared channel. /// public class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 2d52112f33..f554b36b25 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index e79634cd41..e9c72516bb 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.AllowedMembers.Item +{ /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// /// A collection of team members who have access to the shared channel. diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 6d30f75c61..6a2d3a7af1 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item +{ /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. /// - public class SharedWithChannelTeamInfoItemRequestBuilder : BaseCliRequestBuilder + public class SharedWithChannelTeamInfoItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. @@ -49,14 +50,13 @@ public Command BuildAllowedMembersNavCommand() return command; } /// - /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// Delete navigation property sharedWithTeams for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property sharedWithTeams for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -97,14 +97,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// A collection of teams with which a channel is shared. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0"; + command.Description = "A collection of teams with which a channel is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -256,7 +255,7 @@ public SharedWithChannelTeamInfoItemRequestBuilder(string rawUrl) : base("{+base { } /// - /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. + /// Delete navigation property sharedWithTeams for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -275,7 +274,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -315,7 +314,7 @@ public RequestInformation ToPatchRequestInformation(SharedWithChannelTeamInfo bo return requestInfo; } /// - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// public class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index a2aae87afd..6bfa5b76e7 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.Team { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams.Item.Team +{ /// /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. /// - public class TeamRequestBuilder : BaseCliRequestBuilder + public class TeamRequestBuilder : BaseCliRequestBuilder { /// /// Get team from groups diff --git a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index cfdb54c842..87fd82e143 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams { +namespace ApiSdk.Groups.Item.Team.Channels.Item.SharedWithTeams +{ /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. /// - public class SharedWithTeamsRequestBuilder : BaseCliRequestBuilder + public class SharedWithTeamsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. @@ -113,14 +114,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// A collection of teams with which a channel is shared. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0"; + command.Description = "A collection of teams with which a channel is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -208,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +236,7 @@ public SharedWithTeamsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -274,7 +276,7 @@ public RequestInformation ToPostRequestInformation(SharedWithChannelTeamInfo bod return requestInfo; } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// public class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs index 2febcc25d4..e14cb25e52 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Count { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 766fd751cc..b7cdabe838 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Item.TeamsApp { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Item.TeamsApp +{ /// /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. /// - public class TeamsAppRequestBuilder : BaseCliRequestBuilder + public class TeamsAppRequestBuilder : BaseCliRequestBuilder { /// /// The application that is linked to the tab. This can't be changed after tab creation. diff --git a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 82ec46c1f8..5f4453bcfe 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Item { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs.Item +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. /// - public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder + public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder { /// - /// Removes (unpins) a tab from the specified channel within a team. - /// Find more info here + /// Delete navigation property tabs for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Removes (unpins) a tab from the specified channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-delete-tabs?view=graph-rest-1.0"; + command.Description = "Delete navigation property tabs for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -70,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of the specified tab in a channel within a team. - /// Find more info here + /// A collection of all the tabs in the channel. A navigation property. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of the specified tab in a channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-tabs?view=graph-rest-1.0"; + command.Description = "A collection of all the tabs in the channel. A navigation property."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -135,14 +134,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of the specified tab.This API can be used to configure the content of the tab. - /// Find more info here + /// Update the navigation property tabs in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of the specified tab.This API can be used to configure the content of the tab.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-patch-tabs?view=graph-rest-1.0"; + command.Description = "Update the navigation property tabs in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -230,7 +228,7 @@ public TeamsTabItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Removes (unpins) a tab from the specified channel within a team. + /// Delete navigation property tabs for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of the specified tab in a channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the specified tab.This API can be used to configure the content of the tab. + /// Update the navigation property tabs in groups /// /// A /// The request body @@ -289,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(TeamsTab body, Action - /// Retrieve the properties and relationships of the specified tab in a channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// public class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs index 49ffe91e85..19e331c563 100644 --- a/src/generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs { +namespace ApiSdk.Groups.Item.Team.Channels.Item.Tabs +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. /// - public class TabsRequestBuilder : BaseCliRequestBuilder + public class TabsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. - /// Find more info here + /// Create new navigation property to tabs for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-post-tabs?view=graph-rest-1.0"; + command.Description = "Create new navigation property to tabs for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -113,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of tabs in the specified channel within a team. - /// Find more info here + /// A collection of all the tabs in the channel. A navigation property. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of tabs in the specified channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0"; + command.Description = "A collection of all the tabs in the channel. A navigation property."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -208,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -234,7 +235,7 @@ public TabsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Retrieve the list of tabs in the specified channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. + /// Create new navigation property to tabs for groups /// /// A /// The request body @@ -274,7 +275,7 @@ public RequestInformation ToPostRequestInformation(TeamsTab body, Action - /// Retrieve the list of tabs in the specified channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// public class TabsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Clone/ClonePostRequestBody.cs b/src/generated/Groups/Item/Team/Clone/ClonePostRequestBody.cs index 8c239ae5be..0411d7d563 100644 --- a/src/generated/Groups/Item/Team/Clone/ClonePostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Clone/ClonePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Clone { - public class ClonePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Clone +{ + #pragma warning disable CS1591 + public class ClonePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -71,12 +74,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"classification", n => { Classification = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"partsToClone", n => { PartsToClone = n.GetEnumValue(); } }, - {"visibility", n => { Visibility = n.GetEnumValue(); } }, + { "classification", n => { Classification = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "partsToClone", n => { PartsToClone = n.GetEnumValue(); } }, + { "visibility", n => { Visibility = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs b/src/generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs index 96d01ab884..d312619dae 100644 --- a/src/generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs @@ -13,21 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Clone { +namespace ApiSdk.Groups.Item.Team.Clone +{ /// /// Provides operations to call the clone method. /// - public class CloneRequestBuilder : BaseCliRequestBuilder + public class CloneRequestBuilder : BaseCliRequestBuilder { /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. /// Find more info here /// /// A public Command BuildPostCommand() { var command = new Command("post"); - command.Description = "Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0"; + command.Description = "Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -76,7 +77,7 @@ public CloneRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs index 51666525d0..a00254a65a 100644 --- a/src/generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.CompleteMigration { +namespace ApiSdk.Groups.Item.Team.CompleteMigration +{ /// /// Provides operations to call the completeMigration method. /// - public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder + public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder { /// /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/generated/Groups/Item/Team/Group/GroupRequestBuilder.cs b/src/generated/Groups/Item/Team/Group/GroupRequestBuilder.cs index ff41f7a3fe..acf335779e 100644 --- a/src/generated/Groups/Item/Team/Group/GroupRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Group { +namespace ApiSdk.Groups.Item.Team.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.team entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// Get group from groups diff --git a/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 1508027ccd..f43911d087 100644 --- a/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.Groups.Item.Team.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 6c7684e3d5..62daabf9da 100644 --- a/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Group.ServiceProvisioningErrors { +namespace ApiSdk.Groups.Item.Team.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \groups\{group-id}\team\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs index 7401021a66..b0f07533fa 100644 --- a/src/generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.IncomingChannels.Count { +namespace ApiSdk.Groups.Item.Team.IncomingChannels.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs index 6839a712cc..bb4e823177 100644 --- a/src/generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.IncomingChannels { +namespace ApiSdk.Groups.Item.Team.IncomingChannels +{ /// /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. /// - public class IncomingChannelsRequestBuilder : BaseCliRequestBuilder + public class IncomingChannelsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the list of incoming channels (channels shared with a team). - /// Find more info here + /// List of channels shared with the team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of incoming channels (channels shared with a team).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0"; + command.Description = "List of channels shared with the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -140,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -166,7 +168,7 @@ public IncomingChannelsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{ { } /// - /// Get the list of incoming channels (channels shared with a team). + /// List of channels shared with the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +187,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the list of incoming channels (channels shared with a team). + /// List of channels shared with the team. /// public class IncomingChannelsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs index 79e7380b28..a8f8dedfe9 100644 --- a/src/generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.IncomingChannels.Item { +namespace ApiSdk.Groups.Item.Team.IncomingChannels.Item +{ /// /// Provides operations to manage the incomingChannels property of the microsoft.graph.team entity. /// - public class ChannelItemRequestBuilder : BaseCliRequestBuilder + public class ChannelItemRequestBuilder : BaseCliRequestBuilder { /// /// List of channels shared with the team. diff --git a/src/generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs index 28b6fe0af0..6d31ce1740 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Count { +namespace ApiSdk.Groups.Item.Team.InstalledApps.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs index 4e98c088d6..c869b10fae 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps { +namespace ApiSdk.Groups.Item.Team.InstalledApps +{ /// /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. /// - public class InstalledAppsRequestBuilder : BaseCliRequestBuilder + public class InstalledAppsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. @@ -57,14 +58,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Install an app to the specified team. - /// Find more info here + /// Create new navigation property to installedApps for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Install an app to the specified team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0"; + command.Description = "Create new navigation property to installedApps for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -109,14 +109,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of apps installed in the specified team. - /// Find more info here + /// The apps installed in this team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of apps installed in the specified team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0"; + command.Description = "The apps installed in this team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -198,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +225,7 @@ public InstalledAppsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Retrieve a list of apps installed in the specified team. + /// The apps installed in this team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +244,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Install an app to the specified team. + /// Create new navigation property to installedApps for groups /// /// A /// The request body @@ -264,7 +265,7 @@ public RequestInformation ToPostRequestInformation(TeamsAppInstallation body, Ac return requestInfo; } /// - /// Retrieve a list of apps installed in the specified team. + /// The apps installed in this team. /// public class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 107d19db8d..494575df0f 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.TeamsApp { +namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.TeamsApp +{ /// /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. /// - public class TeamsAppRequestBuilder : BaseCliRequestBuilder + public class TeamsAppRequestBuilder : BaseCliRequestBuilder { /// /// The app that is installed. diff --git a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 839fa2f755..5fc0906d23 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.TeamsAppDefinition { +namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.TeamsAppDefinition +{ /// /// Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. /// - public class TeamsAppDefinitionRequestBuilder : BaseCliRequestBuilder + public class TeamsAppDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// The details of this version of the app. diff --git a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index 41b18bd2d3..1e1c563ad8 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -17,21 +17,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Item { +namespace ApiSdk.Groups.Item.Team.InstalledApps.Item +{ /// /// Provides operations to manage the installedApps property of the microsoft.graph.team entity. /// - public class TeamsAppInstallationItemRequestBuilder : BaseCliRequestBuilder + public class TeamsAppInstallationItemRequestBuilder : BaseCliRequestBuilder { /// - /// Uninstalls an app from the specified team. - /// Find more info here + /// Delete navigation property installedApps for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Uninstalls an app from the specified team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0"; + command.Description = "Delete navigation property installedApps for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -66,14 +66,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the app installed in the specified team. - /// Find more info here + /// The apps installed in this team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the app installed in the specified team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0"; + command.Description = "The apps installed in this team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -247,7 +246,7 @@ public TeamsAppInstallationItemRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Uninstalls an app from the specified team. + /// Delete navigation property installedApps for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -266,7 +265,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the app installed in the specified team. + /// The apps installed in this team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +305,7 @@ public RequestInformation ToPatchRequestInformation(TeamsAppInstallation body, A return requestInfo; } /// - /// Retrieve the app installed in the specified team. + /// The apps installed in this team. /// public class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs b/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs index b936483a53..f6e8d5a337 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.Upgrade { - public class UpgradePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.Upgrade +{ + #pragma warning disable CS1591 + public class UpgradePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, + { "consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(TeamsAppPermissionSet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 594087e99c..1c7ffe9b3f 100644 --- a/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.Upgrade { +namespace ApiSdk.Groups.Item.Team.InstalledApps.Item.Upgrade +{ /// /// Provides operations to call the upgrade method. /// - public class UpgradeRequestBuilder : BaseCliRequestBuilder + public class UpgradeRequestBuilder : BaseCliRequestBuilder { /// /// Upgrade an app installation within a chat. diff --git a/src/generated/Groups/Item/Team/Members/Add/AddPostRequestBody.cs b/src/generated/Groups/Item/Team/Members/Add/AddPostRequestBody.cs index e6b70fd85b..c66595fe90 100644 --- a/src/generated/Groups/Item/Team/Members/Add/AddPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Members/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Members.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Members/Add/AddPostResponse.cs b/src/generated/Groups/Item/Team/Members/Add/AddPostResponse.cs index 49e429febf..e6b45df69e 100644 --- a/src/generated/Groups/Item/Team/Members/Add/AddPostResponse.cs +++ b/src/generated/Groups/Item/Team/Members/Add/AddPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Members.Add { - public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Team.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs b/src/generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs index 3c115cd07e..3e38f731b3 100644 --- a/src/generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Members.Add { +namespace ApiSdk.Groups.Item.Team.Members.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs index eed8a49596..1ff8ba78da 100644 --- a/src/generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Members.Count { +namespace ApiSdk.Groups.Item.Team.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs index 98d2a99e22..b5f12a200b 100644 --- a/src/generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Members.Item { +namespace ApiSdk.Groups.Item.Team.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.team entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// - /// Remove a conversationMember from a team. - /// Find more info here + /// Delete navigation property members for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Remove a conversationMember from a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a conversationMember from a team. - /// Find more info here + /// Members and owners of the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a conversationMember from a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0"; + command.Description = "Members and owners of the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the role of a conversationMember in a team. - /// Find more info here + /// Update the navigation property members in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the role of a conversationMember in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-update-members?view=graph-rest-1.0"; + command.Description = "Update the navigation property members in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public ConversationMemberItemRequestBuilder(string rawUrl) : base("{+baseurl}/gr { } /// - /// Remove a conversationMember from a team. + /// Delete navigation property members for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a conversationMember from a team. + /// Members and owners of the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team. + /// Update the navigation property members in groups /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(ConversationMember body, Act return requestInfo; } /// - /// Get a conversationMember from a team. + /// Members and owners of the team. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Members/MembersRequestBuilder.cs b/src/generated/Groups/Item/Team/Members/MembersRequestBuilder.cs index 74956aa881..ae06f9ffc6 100644 --- a/src/generated/Groups/Item/Team/Members/MembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Members/MembersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Members { +namespace ApiSdk.Groups.Item.Team.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.team entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -71,14 +72,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a new conversationMember to a team. - /// Find more info here + /// Create new navigation property to members for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a new conversationMember to a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-post-members?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. - /// Find more info here + /// Members and owners of the team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0"; + command.Description = "Members and owners of the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -238,7 +239,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. + /// Members and owners of the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a new conversationMember to a team. + /// Create new navigation property to members for groups /// /// A /// The request body @@ -278,7 +279,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. + /// Members and owners of the team. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs index cb39a3188d..8ea9d842a1 100644 --- a/src/generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Operations.Count { +namespace ApiSdk.Groups.Item.Team.Operations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs index d79b22cb79..091c5ef051 100644 --- a/src/generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Operations.Item { +namespace ApiSdk.Groups.Item.Team.Operations.Item +{ /// /// Provides operations to manage the operations property of the microsoft.graph.team entity. /// - public class TeamsAsyncOperationItemRequestBuilder : BaseCliRequestBuilder + public class TeamsAsyncOperationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property operations for groups diff --git a/src/generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs b/src/generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs index 39b7910160..c1939e0f53 100644 --- a/src/generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Operations { +namespace ApiSdk.Groups.Item.Team.Operations +{ /// /// Provides operations to manage the operations property of the microsoft.graph.team entity. /// - public class OperationsRequestBuilder : BaseCliRequestBuilder + public class OperationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the operations property of the microsoft.graph.team entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs index cb3cdb3d25..f58f35d4c1 100644 --- a/src/generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PermissionGrants.Count { +namespace ApiSdk.Groups.Item.Team.PermissionGrants.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 8780e39371..43cc37ef0f 100644 --- a/src/generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PermissionGrants.Item { +namespace ApiSdk.Groups.Item.Team.PermissionGrants.Item +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. /// - public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder + public class ResourceSpecificPermissionGrantItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property permissionGrants for groups diff --git a/src/generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs index 828953a5b1..a06be4a979 100644 --- a/src/generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PermissionGrants { +namespace ApiSdk.Groups.Item.Team.PermissionGrants +{ /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. /// - public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder + public class PermissionGrantsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the permissionGrants property of the microsoft.graph.team entity. @@ -104,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. - /// Find more info here + /// A collection of permissions granted to apps to access the team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0"; + command.Description = "A collection of permissions granted to apps to access the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -193,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -219,7 +221,7 @@ public PermissionGrantsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{ { } /// - /// List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. + /// A collection of permissions granted to apps to access the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -259,7 +261,7 @@ public RequestInformation ToPostRequestInformation(ResourceSpecificPermissionGra return requestInfo; } /// - /// List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. + /// A collection of permissions granted to apps to access the team. /// public class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs b/src/generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs index 919829468f..58fd2dab37 100644 --- a/src/generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Photo { +namespace ApiSdk.Groups.Item.Team.Photo +{ /// /// Provides operations to manage the photo property of the microsoft.graph.team entity. /// - public class PhotoRequestBuilder : BaseCliRequestBuilder + public class PhotoRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,14 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. - /// Find more info here + /// The profile photo for the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0"; + command.Description = "The profile photo for the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -158,7 +159,7 @@ public PhotoRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. + /// The profile photo for the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -198,7 +199,7 @@ public RequestInformation ToPatchRequestInformation(ProfilePhoto body, Action - /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. + /// The profile photo for the team. /// public class PhotoRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs index 51e69409db..b274891d91 100644 --- a/src/generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs @@ -13,39 +13,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Photo.Value { +namespace ApiSdk.Groups.Item.Team.Photo.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property photo from groups - /// Find more info here + /// The profile photo for the team. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The profile photo for the team."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The profile photo for the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property photo from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0"; + command.Description = "The profile photo for the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); var errorMapping = new Dictionary> { @@ -67,13 +96,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property photo in groups + /// The profile photo for the team. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property photo in groups"; + command.Description = "The profile photo for the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -120,28 +149,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/photo/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/photo/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/photo/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/photo/$value", rawUrl) { } /// - /// Get media content for the navigation property photo from groups + /// The profile photo for the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The profile photo for the team. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -150,7 +198,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property photo in groups + /// The profile photo for the team. /// /// A /// Binary request body @@ -171,21 +219,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property photo from groups - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 969a23483f..68b94589bf 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.CompleteMigration { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.CompleteMigration +{ /// /// Provides operations to call the completeMigration method. /// - public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder + public class CompleteMigrationRequestBuilder : BaseCliRequestBuilder { /// /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index ee7ca1bc58..2032dd626e 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName { - public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName +{ + #pragma warning disable CS1591 + public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,7 +39,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"value", n => { Value = n.GetBoolValue(); } }, + { "value", n => { Value = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 0ab16f877b..d1921d4a8a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName +{ /// /// Provides operations to call the doesUserHaveAccess method. /// - public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseCliRequestBuilder + public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function doesUserHaveAccess"; + command.Description = "Determine whether a user has access to a shared channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-doesuserhaveaccess?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -90,7 +92,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { } /// - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -109,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function doesUserHaveAccess + /// Determine whether a user has access to a shared channel. /// public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs index 1b435d5ebe..86ae5f6701 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs @@ -14,21 +14,56 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.FilesFolder.Content { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.FilesFolder.Content +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// /// The content stream, if the item represents a file. - /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The content stream, if the item represents a file."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The content stream, if the item represents a file. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The content stream, if the item represents a file.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0"; + command.Description = "The content stream, if the item represents a file."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -135,6 +170,25 @@ public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The content stream, if the item represents a file. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs index c71718a118..2493fbe0dc 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.FilesFolder { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.FilesFolder +{ /// /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. /// - public class FilesFolderRequestBuilder : BaseCliRequestBuilder + public class FilesFolderRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -40,14 +42,13 @@ public Command BuildContentNavCommand() return command; } /// - /// Get the metadata for the location where the files of a channel are stored. - /// Find more info here + /// Metadata for the location where the channel's files are stored. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the metadata for the location where the files of a channel are stored. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0"; + command.Description = "Metadata for the location where the channel's files are stored."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -107,7 +108,7 @@ public FilesFolderRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Get the metadata for the location where the files of a channel are stored. + /// Metadata for the location where the channel's files are stored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +127,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the metadata for the location where the files of a channel are stored. + /// Metadata for the location where the channel's files are stored. /// public class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostRequestBody.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostRequestBody.cs index 3187af0180..c6fdc4c450 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add { - public class AddPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "values", n => { Values = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostResponse.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostResponse.cs index 1ed833d566..3a7b769bde 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostResponse.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add { - public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add +{ + #pragma warning disable CS1591 + public class AddPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActionResultPart.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs index 1a2463a37d..9036b03dc0 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Add +{ /// /// Provides operations to call the add method. /// - public class AddRequestBuilder : BaseCliRequestBuilder + public class AddRequestBuilder : BaseCliRequestBuilder { /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. @@ -71,7 +72,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs index b8980835e1..35e5ed9b88 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 68345ac810..185d33268e 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete navigation property members for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a conversationMember from a channel. - /// Find more info here + /// A collection of membership records associated with the channel. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a conversationMember from a channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0"; + command.Description = "A collection of membership records associated with the channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the role of a conversationMember in a team or channel. - /// Find more info here + /// Update the navigation property members in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the role of a conversationMember in a team or channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property members in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public ConversationMemberItemRequestBuilder(string rawUrl) : base("{+baseurl}/gr { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete navigation property members for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a conversationMember from a channel. + /// A collection of membership records associated with the channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team or channel. + /// Update the navigation property members in groups /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(ConversationMember body, Act return requestInfo; } /// - /// Get a conversationMember from a channel. + /// A collection of membership records associated with the channel. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs index 5c3b25e4dc..691f9d14d2 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.channel entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the add method. @@ -71,14 +72,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Create new navigation property to members for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +123,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. - /// Find more info here + /// A collection of membership records associated with the channel. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0"; + command.Description = "A collection of membership records associated with the channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -238,7 +239,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + /// A collection of membership records associated with the channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Create new navigation property to members for groups /// /// A /// The request body @@ -278,7 +279,7 @@ public RequestInformation ToPostRequestInformation(ConversationMember body, Acti return requestInfo; } /// - /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. + /// A collection of membership records associated with the channel. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs index 0e81058034..c6578d42f1 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs index 93bf75ea1d..8072263f6a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs index 5ceaadfee8..d4d7c16360 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Delta { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs index e342d7a1bf..6a777744bc 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item +{ /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property messages for groups @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a single message or a message reply in a channel or a chat. - /// Find more info here + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a single message or a message reply in a channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0"; + command.Description = "A collection of all the messages in the channel. A navigation property. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -154,14 +154,13 @@ public Command BuildHostedContentsNavCommand() return command; } /// - /// Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. - /// Find more info here + /// Update the navigation property messages in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property messages in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -341,7 +340,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -360,7 +359,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + /// Update the navigation property messages in groups /// /// A /// The request body @@ -381,7 +380,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessage body, Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// A collection of all the messages in the channel. A navigation property. Nullable. /// public class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 1d0d251e41..2fbbcbf42a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 27d4960295..3975576d1f 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -112,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -207,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,7 +235,7 @@ public HostedContentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -273,7 +275,7 @@ public RequestInformation ToPostRequestInformation(ChatMessageHostedContent body return requestInfo; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 4d98bb50f8..6a9cfc0e98 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -87,14 +89,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chatMessageHostedContent object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -248,7 +249,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +289,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessageHostedContent bod return requestInfo; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index aa63beaf27..b18abf52e2 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Item.Value { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from groups - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -40,22 +87,16 @@ public Command BuildGetCommand() }; chatMessageHostedContentIdOption.IsRequired = true; command.AddOption(chatMessageHostedContentIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); @@ -79,13 +120,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in groups"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -144,28 +185,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) { } /// - /// Get media content for the navigation property hostedContents from groups + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -174,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -195,21 +255,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property hostedContents from groups - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs index 633540bcfe..b6e2d251fd 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs index 164161c34f..f2adceecc2 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta { - public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta +{ + #pragma warning disable CS1591 + public class DeltaGetResponse : BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index c9c5eb55b8..a391ae4b53 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta +{ /// /// Provides operations to call the delta method. /// - public class DeltaRequestBuilder : BaseCliRequestBuilder + public class DeltaRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function delta"; + command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public DeltaRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did} { } /// - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function delta + /// Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. /// public class DeltaRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 56131156fe..94269aaa83 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property replies for groups @@ -73,14 +74,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a single message or a message reply in a channel or a chat. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a single message or a message reply in a channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -329,7 +329,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -369,7 +369,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessage body, Action - /// Retrieve a single message or a message reply in a channel or a chat. + /// Replies for a specified message. Supports $expand for channel messages. /// public class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index e00428e8a2..aa37960460 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index c9d923f90b..530045e74e 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class HostedContentsRequestBuilder : BaseCliRequestBuilder + public class HostedContentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. @@ -118,14 +119,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -219,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -245,7 +247,7 @@ public HostedContentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -285,7 +287,7 @@ public RequestInformation ToPostRequestInformation(ChatMessageHostedContent body return requestInfo; } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 38fcbfc7c2..2288efe868 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item +{ /// /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. /// - public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder + public class ChatMessageHostedContentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the group entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the group entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) @@ -93,14 +95,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. - /// Find more info here + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of chatMessageHostedContent object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0"; + command.Description = "Content in a message hosted by Microsoft Teams - for example, images or code snippets."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -266,7 +267,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +307,7 @@ public RequestInformation ToPatchRequestInformation(ChatMessageHostedContent bod return requestInfo; } /// - /// Retrieve the properties and relationships of chatMessageHostedContent object. + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. /// public class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index f561bd239a..67f45a9da7 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,74 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.HostedContents.Item.Value +{ /// /// Provides operations to manage the media for the group entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property hostedContents from groups - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { + }; + groupIdOption.IsRequired = true; + command.AddOption(groupIdOption); + var chatMessageIdOption = new Option("--chat-message-id", description: "The unique identifier of chatMessage") { + }; + chatMessageIdOption.IsRequired = true; + command.AddOption(chatMessageIdOption); + var chatMessageId1Option = new Option("--chat-message-id1", description: "The unique identifier of chatMessage") { + }; + chatMessageId1Option.IsRequired = true; + command.AddOption(chatMessageId1Option); + var chatMessageHostedContentIdOption = new Option("--chat-message-hosted-content-id", description: "The unique identifier of chatMessageHostedContent") { + }; + chatMessageHostedContentIdOption.IsRequired = true; + command.AddOption(chatMessageHostedContentIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); + var chatMessageId1 = invocationContext.ParseResult.GetValueForOption(chatMessageId1Option); + var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); + if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); + if (chatMessageId1 is not null) requestInfo.PathParameters.Add("chatMessage%2Did1", chatMessageId1); + if (chatMessageHostedContentId is not null) requestInfo.PathParameters.Add("chatMessageHostedContent%2Did", chatMessageHostedContentId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property hostedContents from groups\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -44,10 +97,6 @@ public Command BuildGetCommand() }; chatMessageHostedContentIdOption.IsRequired = true; command.AddOption(chatMessageHostedContentIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { @@ -55,12 +104,10 @@ public Command BuildGetCommand() var chatMessageId = invocationContext.ParseResult.GetValueForOption(chatMessageIdOption); var chatMessageId1 = invocationContext.ParseResult.GetValueForOption(chatMessageId1Option); var chatMessageHostedContentId = invocationContext.ParseResult.GetValueForOption(chatMessageHostedContentIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); if (chatMessageId is not null) requestInfo.PathParameters.Add("chatMessage%2Did", chatMessageId); @@ -85,13 +132,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property hostedContents in groups"; + command.Description = "The unique identifier for an entity. Read-only."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -156,28 +203,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; } /// - /// Get media content for the navigation property hostedContents from groups + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -186,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property hostedContents in groups + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -207,21 +273,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property hostedContents from groups - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index b255ed6d08..ca1fc76b6b 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 747bc58876..58786ca50a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 9f66bbb78e..ff27a3de1a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index a546824f45..9f68e0440e 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 6e20517161..baf6220993 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 4f97cf14a1..4e9cb5d04a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 2c25decb19..86b31e9dbb 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies +{ /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// - public class RepliesRequestBuilder : BaseCliRequestBuilder + public class RepliesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. @@ -60,14 +61,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Create new navigation property to replies for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new reply to a chatMessage in a specified channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0"; + command.Description = "Create new navigation property to replies for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -135,14 +135,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. - /// Find more info here + /// Replies for a specified message. Supports $expand for channel messages. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0"; + command.Description = "Replies for a specified message. Supports $expand for channel messages."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -230,7 +229,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -256,7 +257,7 @@ public RepliesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -275,7 +276,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. + /// Create new navigation property to replies for groups /// /// A /// The request body @@ -296,7 +297,7 @@ public RequestInformation ToPostRequestInformation(ChatMessage body, Action - /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. + /// Replies for a specified message. Supports $expand for channel messages. /// public class RepliesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index ee47a3c7a4..4a1de8bf7c 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction { - public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction +{ + #pragma warning disable CS1591 + public class SetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 30313879e9..07ec797b79 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction +{ /// /// Provides operations to call the setReaction method. /// - public class SetReactionRequestBuilder : BaseCliRequestBuilder + public class SetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action setReaction diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 927db1306c..71ed8d19e2 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SoftDelete { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.SoftDelete +{ /// /// Provides operations to call the softDelete method. /// - public class SoftDeleteRequestBuilder : BaseCliRequestBuilder + public class SoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index b04b58cabb..80b48bb670 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UndoSoftDelete { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UndoSoftDelete +{ /// /// Provides operations to call the undoSoftDelete method. /// - public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder + public class UndoSoftDeleteRequestBuilder : BaseCliRequestBuilder { /// /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 8dcccf8a1f..c72ce30196 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction { - public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction +{ + #pragma warning disable CS1591 + public class UnsetReactionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index e29c999969..d934e126d6 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction +{ /// /// Provides operations to call the unsetReaction method. /// - public class UnsetReactionRequestBuilder : BaseCliRequestBuilder + public class UnsetReactionRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action unsetReaction diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs index d75ea532d7..eb63644493 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Messages +{ /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// - public class MessagesRequestBuilder : BaseCliRequestBuilder + public class MessagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the messages property of the microsoft.graph.channel entity. @@ -61,14 +62,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Create new navigation property to messages for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Send a new chatMessage in the specified channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to messages for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -130,14 +130,13 @@ public Command BuildDeltaNavCommand() return command; } /// - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). - /// Find more info here + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0"; + command.Description = "A collection of all the messages in the channel. A navigation property. Nullable."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -219,7 +218,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -245,7 +246,7 @@ public MessagesRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). + /// A collection of all the messages in the channel. A navigation property. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -264,7 +265,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Create new navigation property to messages for groups /// /// A /// The request body @@ -285,7 +286,7 @@ public RequestInformation ToPostRequestInformation(ChatMessage body, Action - /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). + /// A collection of all the messages in the channel. A navigation property. Nullable. /// public class MessagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 66ffb2cd83..b271581deb 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel +{ /// /// Provides operations to manage the primaryChannel property of the microsoft.graph.team entity. /// - public class PrimaryChannelRequestBuilder : BaseCliRequestBuilder + public class PrimaryChannelRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the completeMigration method. @@ -122,14 +123,13 @@ public Command BuildFilesFolderNavCommand() return command; } /// - /// Get the default channel, General, of a team. - /// Find more info here + /// The general channel for the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the default channel, General, of a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0"; + command.Description = "The general channel for the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -403,7 +403,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the default channel, General, of a team. + /// The general channel for the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -443,7 +443,7 @@ public RequestInformation ToPatchRequestInformation(Channel body, Action - /// Get the default channel, General, of a team. + /// The general channel for the team. /// public class PrimaryChannelRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 201f960474..a56539b8c8 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.ProvisionEmail { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.ProvisionEmail +{ /// /// Provides operations to call the provisionEmail method. /// - public class ProvisionEmailRequestBuilder : BaseCliRequestBuilder + public class ProvisionEmailRequestBuilder : BaseCliRequestBuilder { /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs index defc4bb0cb..76db1e40f3 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.RemoveEmail { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.RemoveEmail +{ /// /// Provides operations to call the removeEmail method. /// - public class RemoveEmailRequestBuilder : BaseCliRequestBuilder + public class RemoveEmailRequestBuilder : BaseCliRequestBuilder { /// /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs index cc29fc1fc5..de4e863701 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 5f8ef9352f..8ca123e15a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers +{ /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. /// - public class AllowedMembersRequestBuilder : BaseCliRequestBuilder + public class AllowedMembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. @@ -51,14 +52,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant - /// Find more info here + /// A collection of team members who have access to the shared channel. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0"; + command.Description = "A collection of team members who have access to the shared channel."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -146,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -172,7 +174,7 @@ public AllowedMembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// A collection of team members who have access to the shared channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -191,7 +193,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// A collection of team members who have access to the shared channel. /// public class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index a8b61e6571..e1be9442ca 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index d90fcee2d4..e1be862c4e 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.AllowedMembers.Item +{ /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. /// - public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder + public class ConversationMemberItemRequestBuilder : BaseCliRequestBuilder { /// /// A collection of team members who have access to the shared channel. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 860c1aec05..5caccced96 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item +{ /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. /// - public class SharedWithChannelTeamInfoItemRequestBuilder : BaseCliRequestBuilder + public class SharedWithChannelTeamInfoItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. @@ -49,14 +50,13 @@ public Command BuildAllowedMembersNavCommand() return command; } /// - /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// Delete navigation property sharedWithTeams for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property sharedWithTeams for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -91,14 +91,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// A collection of teams with which a channel is shared. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0"; + command.Description = "A collection of teams with which a channel is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -238,7 +237,7 @@ public SharedWithChannelTeamInfoItemRequestBuilder(string rawUrl) : base("{+base { } /// - /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. + /// Delete navigation property sharedWithTeams for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -257,7 +256,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -297,7 +296,7 @@ public RequestInformation ToPatchRequestInformation(SharedWithChannelTeamInfo bo return requestInfo; } /// - /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// public class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 1e340eeb90..73ee188c08 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.Team { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams.Item.Team +{ /// /// Provides operations to manage the team property of the microsoft.graph.teamInfo entity. /// - public class TeamRequestBuilder : BaseCliRequestBuilder + public class TeamRequestBuilder : BaseCliRequestBuilder { /// /// Get team from groups diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 4962d59bf7..7a4e970829 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.SharedWithTeams +{ /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. /// - public class SharedWithTeamsRequestBuilder : BaseCliRequestBuilder + public class SharedWithTeamsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. @@ -107,14 +108,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. - /// Find more info here + /// A collection of teams with which a channel is shared. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0"; + command.Description = "A collection of teams with which a channel is shared."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -196,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -222,7 +224,7 @@ public SharedWithTeamsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -262,7 +264,7 @@ public RequestInformation ToPostRequestInformation(SharedWithChannelTeamInfo bod return requestInfo; } /// - /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. + /// A collection of teams with which a channel is shared. /// public class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs index 8922c034db..6833bd4a4a 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Count { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 2f3792c5b8..f4ee3cad52 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Item.TeamsApp { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Item.TeamsApp +{ /// /// Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. /// - public class TeamsAppRequestBuilder : BaseCliRequestBuilder + public class TeamsAppRequestBuilder : BaseCliRequestBuilder { /// /// The application that is linked to the tab. This can't be changed after tab creation. diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs index a8c9ab59ac..77d27599ca 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Item { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs.Item +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. /// - public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder + public class TeamsTabItemRequestBuilder : BaseCliRequestBuilder { /// - /// Removes (unpins) a tab from the specified channel within a team. - /// Find more info here + /// Delete navigation property tabs for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Removes (unpins) a tab from the specified channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-delete-tabs?view=graph-rest-1.0"; + command.Description = "Delete navigation property tabs for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -64,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of the specified tab in a channel within a team. - /// Find more info here + /// A collection of all the tabs in the channel. A navigation property. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of the specified tab in a channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-get-tabs?view=graph-rest-1.0"; + command.Description = "A collection of all the tabs in the channel. A navigation property."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -123,14 +122,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of the specified tab.This API can be used to configure the content of the tab. - /// Find more info here + /// Update the navigation property tabs in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of the specified tab.This API can be used to configure the content of the tab.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-patch-tabs?view=graph-rest-1.0"; + command.Description = "Update the navigation property tabs in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -212,7 +210,7 @@ public TeamsTabItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{grou { } /// - /// Removes (unpins) a tab from the specified channel within a team. + /// Delete navigation property tabs for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of the specified tab in a channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -250,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the specified tab.This API can be used to configure the content of the tab. + /// Update the navigation property tabs in groups /// /// A /// The request body @@ -271,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(TeamsTab body, Action - /// Retrieve the properties and relationships of the specified tab in a channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// public class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs index c5bfe3b0ed..526c6b11e3 100644 --- a/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs { +namespace ApiSdk.Groups.Item.Team.PrimaryChannel.Tabs +{ /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. /// - public class TabsRequestBuilder : BaseCliRequestBuilder + public class TabsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tabs property of the microsoft.graph.channel entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. - /// Find more info here + /// Create new navigation property to tabs for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-post-tabs?view=graph-rest-1.0"; + command.Description = "Create new navigation property to tabs for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -107,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the list of tabs in the specified channel within a team. - /// Find more info here + /// A collection of all the tabs in the channel. A navigation property. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the list of tabs in the specified channel within a team. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0"; + command.Description = "A collection of all the tabs in the channel. A navigation property."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -196,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -222,7 +223,7 @@ public TabsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Retrieve the list of tabs in the specified channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. + /// Create new navigation property to tabs for groups /// /// A /// The request body @@ -262,7 +263,7 @@ public RequestInformation ToPostRequestInformation(TeamsTab body, Action - /// Retrieve the list of tabs in the specified channel within a team. + /// A collection of all the tabs in the channel. A navigation property. /// public class TabsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs index 16d72b1b4a..30cfa75050 100644 --- a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs index 97ca921449..922b7f28dd 100644 --- a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests.Item +{ /// /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. /// - public class OfferShiftRequestItemRequestBuilder : BaseCliRequestBuilder + public class OfferShiftRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property offerShiftRequests for groups @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an offerShiftRequest object. - /// Find more info here + /// The offer requests for shifts in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an offerShiftRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0"; + command.Description = "The offer requests for shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an offerShiftRequest object. + /// The offer requests for shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(OfferShiftRequest body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of an offerShiftRequest object. + /// The offer requests for shifts in the schedule. /// public class OfferShiftRequestItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs index 07685d2490..9aae28859a 100644 --- a/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests { +namespace ApiSdk.Groups.Item.Team.Schedule.OfferShiftRequests +{ /// /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. /// - public class OfferShiftRequestsRequestBuilder : BaseCliRequestBuilder + public class OfferShiftRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an instance of an offerShiftRequest. - /// Find more info here + /// Create new navigation property to offerShiftRequests for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an instance of an offerShiftRequest.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to offerShiftRequests for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. - /// Find more info here + /// The offer requests for shifts in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the properties and relationships of all offerShiftRequest objects in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0"; + command.Description = "The offer requests for shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public OfferShiftRequestsRequestBuilder(string rawUrl) : base("{+baseurl}/groups { } /// - /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. + /// The offer requests for shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an instance of an offerShiftRequest. + /// Create new navigation property to offerShiftRequests for groups /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(OfferShiftRequest body, Actio return requestInfo; } /// - /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. + /// The offer requests for shifts in the schedule. /// public class OfferShiftRequestsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs index 9d8d89ec2e..9b26922e8d 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs index 7e8d4e43d6..e0e25a6f5e 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests.Item +{ /// /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. /// - public class OpenShiftChangeRequestItemRequestBuilder : BaseCliRequestBuilder + public class OpenShiftChangeRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property openShiftChangeRequests for groups @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an openShiftChangeRequest object. - /// Find more info here + /// The open shift requests in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an openShiftChangeRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0"; + command.Description = "The open shift requests in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an openShiftChangeRequest object. + /// The open shift requests in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(OpenShiftChangeRequest body, return requestInfo; } /// - /// Retrieve the properties and relationships of an openShiftChangeRequest object. + /// The open shift requests in the schedule. /// public class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs index a3285aab02..b892e873bc 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShiftChangeRequests +{ /// /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. /// - public class OpenShiftChangeRequestsRequestBuilder : BaseCliRequestBuilder + public class OpenShiftChangeRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create instance of an openShiftChangeRequest object. - /// Find more info here + /// Create new navigation property to openShiftChangeRequests for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create instance of an openShiftChangeRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to openShiftChangeRequests for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of openShiftChangeRequest objects in a team. - /// Find more info here + /// The open shift requests in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of openShiftChangeRequest objects in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0"; + command.Description = "The open shift requests in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public OpenShiftChangeRequestsRequestBuilder(string rawUrl) : base("{+baseurl}/g { } /// - /// Retrieve a list of openShiftChangeRequest objects in a team. + /// The open shift requests in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create instance of an openShiftChangeRequest object. + /// Create new navigation property to openShiftChangeRequests for groups /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(OpenShiftChangeRequest body, return requestInfo; } /// - /// Retrieve a list of openShiftChangeRequest objects in a team. + /// The open shift requests in the schedule. /// public class OpenShiftChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs index c5de6bc6ca..52a317608b 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs index 11d94dbc29..957ae02823 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts.Item +{ /// /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. /// - public class OpenShiftItemRequestBuilder : BaseCliRequestBuilder + public class OpenShiftItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an openShift object. - /// Find more info here + /// Delete navigation property openShifts for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an openShift object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property openShifts for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an openshift object. - /// Find more info here + /// The set of open shifts in a scheduling group in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an openshift object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0"; + command.Description = "The set of open shifts in a scheduling group in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an openShift object. - /// Find more info here + /// Update the navigation property openShifts in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an openShift object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property openShifts in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public OpenShiftItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gro { } /// - /// Delete an openShift object. + /// Delete navigation property openShifts for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an openshift object. + /// The set of open shifts in a scheduling group in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an openShift object. + /// Update the navigation property openShifts in groups /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(OpenShift body, Action - /// Retrieve the properties and relationships of an openshift object. + /// The set of open shifts in a scheduling group in the schedule. /// public class OpenShiftItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs index 493dd32012..1beed6e2f3 100644 --- a/src/generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts { +namespace ApiSdk.Groups.Item.Team.Schedule.OpenShifts +{ /// /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. /// - public class OpenShiftsRequestBuilder : BaseCliRequestBuilder + public class OpenShiftsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the openShifts property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an instance of an openShift object. - /// Find more info here + /// Create new navigation property to openShifts for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an instance of an openShift object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to openShifts for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List openShift objects in a team. - /// Find more info here + /// The set of open shifts in a scheduling group in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List openShift objects in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0"; + command.Description = "The set of open shifts in a scheduling group in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public OpenShiftsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// List openShift objects in a team. + /// The set of open shifts in a scheduling group in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an instance of an openShift object. + /// Create new navigation property to openShifts for groups /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(OpenShift body, Action - /// List openShift objects in a team. + /// The set of open shifts in a scheduling group in the schedule. /// public class OpenShiftsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs index 635495ae96..1a3b30ddcf 100644 --- a/src/generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs @@ -24,11 +24,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule { +namespace ApiSdk.Groups.Item.Team.Schedule +{ /// /// Provides operations to manage the schedule property of the microsoft.graph.team entity. /// - public class ScheduleRequestBuilder : BaseCliRequestBuilder + public class ScheduleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property schedule for groups @@ -66,14 +67,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. - /// Find more info here + /// The schedule of shifts for this team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0"; + command.Description = "The schedule of shifts for this team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -463,7 +463,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. + /// The schedule of shifts for this team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -503,7 +503,7 @@ public RequestInformation ToPutRequestInformation(ApiSdk.Models.Schedule body, A return requestInfo; } /// - /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. + /// The schedule of shifts for this team. /// public class ScheduleRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs index 9a11d27ca0..1aa8d60841 100644 --- a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index 8c3265acb6..4c837cb1da 100644 --- a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups.Item +{ /// /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. /// - public class SchedulingGroupItemRequestBuilder : BaseCliRequestBuilder + public class SchedulingGroupItemRequestBuilder : BaseCliRequestBuilder { /// - /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. - /// Find more info here + /// Delete navigation property schedulingGroups for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property schedulingGroups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a schedulingGroup by ID. - /// Find more info here + /// The logical grouping of users in the schedule (usually by role). /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a schedulingGroup by ID.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0"; + command.Description = "The logical grouping of users in the schedule (usually by role)."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -115,14 +114,13 @@ public Command BuildGetCommand() return command; } /// - /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. - /// Find more info here + /// Update the navigation property schedulingGroups in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0"; + command.Description = "Update the navigation property schedulingGroups in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +185,7 @@ public SchedulingGroupItemRequestBuilder(string rawUrl) : base("{+baseurl}/group { } /// - /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + /// Delete navigation property schedulingGroups for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a schedulingGroup by ID. + /// The logical grouping of users in the schedule (usually by role). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. + /// Update the navigation property schedulingGroups in groups /// /// A /// The request body @@ -246,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(SchedulingGroup body, Action return requestInfo; } /// - /// Retrieve the properties and relationships of a schedulingGroup by ID. + /// The logical grouping of users in the schedule (usually by role). /// public class SchedulingGroupItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs index 31695a7286..f07ce5d0ed 100644 --- a/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups { +namespace ApiSdk.Groups.Item.Team.Schedule.SchedulingGroups +{ /// /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. /// - public class SchedulingGroupsRequestBuilder : BaseCliRequestBuilder + public class SchedulingGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new schedulingGroup. - /// Find more info here + /// Create new navigation property to schedulingGroups for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new schedulingGroup.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0"; + command.Description = "Create new navigation property to schedulingGroups for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of schedulingGroups in this schedule. - /// Find more info here + /// The logical grouping of users in the schedule (usually by role). /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of schedulingGroups in this schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0"; + command.Description = "The logical grouping of users in the schedule (usually by role)."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -213,7 +214,7 @@ public SchedulingGroupsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{ { } /// - /// Get the list of schedulingGroups in this schedule. + /// The logical grouping of users in the schedule (usually by role). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new schedulingGroup. + /// Create new navigation property to schedulingGroups for groups /// /// A /// The request body @@ -253,7 +254,7 @@ public RequestInformation ToPostRequestInformation(SchedulingGroup body, Action< return requestInfo; } /// - /// Get the list of schedulingGroups in this schedule. + /// The logical grouping of users in the schedule (usually by role). /// public class SchedulingGroupsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs b/src/generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs index 98801fd836..fa102d7090 100644 --- a/src/generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs +++ b/src/generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.Share { - public class SharePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.Schedule.Share +{ + #pragma warning disable CS1591 + public class SharePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -40,9 +43,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"notifyTeam", n => { NotifyTeam = n.GetBoolValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "notifyTeam", n => { NotifyTeam = n.GetBoolValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs index c943914429..5e61652466 100644 --- a/src/generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.Share { +namespace ApiSdk.Groups.Item.Team.Schedule.Share +{ /// /// Provides operations to call the share method. /// - public class ShareRequestBuilder : BaseCliRequestBuilder + public class ShareRequestBuilder : BaseCliRequestBuilder { /// /// Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. diff --git a/src/generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs index 514b446a32..14a1fbcb33 100644 --- a/src/generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.Shifts.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.Shifts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs index c0da2145f5..2c4217d908 100644 --- a/src/generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.Shifts.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.Shifts.Item +{ /// /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. /// - public class ShiftItemRequestBuilder : BaseCliRequestBuilder + public class ShiftItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a shift from the schedule. - /// Find more info here + /// Delete navigation property shifts for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a shift from the schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property shifts for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a shift object by ID. - /// Find more info here + /// The shifts in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a shift object by ID.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0"; + command.Description = "The shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -115,14 +114,13 @@ public Command BuildGetCommand() return command; } /// - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. - /// Find more info here + /// Update the navigation property shifts in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0"; + command.Description = "Update the navigation property shifts in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +185,7 @@ public ShiftItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Delete a shift from the schedule. + /// Delete navigation property shifts for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a shift object by ID. + /// The shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. + /// Update the navigation property shifts in groups /// /// A /// The request body @@ -246,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(Shift body, Action - /// Retrieve the properties and relationships of a shift object by ID. + /// The shifts in the schedule. /// public class ShiftItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs index 6a55d6aa67..14f8a848bc 100644 --- a/src/generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.Shifts { +namespace ApiSdk.Groups.Item.Team.Schedule.Shifts +{ /// /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. /// - public class ShiftsRequestBuilder : BaseCliRequestBuilder + public class ShiftsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the shifts property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. - /// Find more info here + /// Create new navigation property to shifts for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0"; + command.Description = "Create new navigation property to shifts for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of shift instances in a schedule. - /// Find more info here + /// The shifts in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of shift instances in a schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0"; + command.Description = "The shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -213,7 +214,7 @@ public ShiftsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did { } /// - /// Get the list of shift instances in a schedule. + /// The shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Create new navigation property to shifts for groups /// /// A /// The request body @@ -253,7 +254,7 @@ public RequestInformation ToPostRequestInformation(Shift body, Action - /// Get the list of shift instances in a schedule. + /// The shifts in the schedule. /// public class ShiftsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs index 39086b4720..12ffb029b3 100644 --- a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs index dc23201be9..60322fd9f6 100644 --- a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.Item +{ /// /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. /// - public class SwapShiftsChangeRequestItemRequestBuilder : BaseCliRequestBuilder + public class SwapShiftsChangeRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property swapShiftsChangeRequests for groups @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. - /// Find more info here + /// The swap requests for shifts in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a swapShiftsChangeRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0"; + command.Description = "The swap requests for shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. + /// The swap requests for shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(SwapShiftsChangeRequest body return requestInfo; } /// - /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. + /// The swap requests for shifts in the schedule. /// public class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs index 65228f4285..17570decae 100644 --- a/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests { +namespace ApiSdk.Groups.Item.Team.Schedule.SwapShiftsChangeRequests +{ /// /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. /// - public class SwapShiftsChangeRequestsRequestBuilder : BaseCliRequestBuilder + public class SwapShiftsChangeRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create an instance of a swapShiftsChangeRequest object. - /// Find more info here + /// Create new navigation property to swapShiftsChangeRequests for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create an instance of a swapShiftsChangeRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to swapShiftsChangeRequests for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of swapShiftsChangeRequest objects in the team. - /// Find more info here + /// The swap requests for shifts in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of swapShiftsChangeRequest objects in the team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0"; + command.Description = "The swap requests for shifts in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public SwapShiftsChangeRequestsRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Retrieve a list of swapShiftsChangeRequest objects in the team. + /// The swap requests for shifts in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an instance of a swapShiftsChangeRequest object. + /// Create new navigation property to swapShiftsChangeRequests for groups /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(SwapShiftsChangeRequest body, return requestInfo; } /// - /// Retrieve a list of swapShiftsChangeRequest objects in the team. + /// The swap requests for shifts in the schedule. /// public class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs index 5bbd5d62ae..6903f2036b 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs index 810e65875e..d39d0098e7 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons.Item +{ /// /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. /// - public class TimeOffReasonItemRequestBuilder : BaseCliRequestBuilder + public class TimeOffReasonItemRequestBuilder : BaseCliRequestBuilder { /// - /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. - /// Find more info here + /// Delete navigation property timeOffReasons for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property timeOffReasons for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a timeOffReason object by ID. - /// Find more info here + /// The set of reasons for a time off in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a timeOffReason object by ID.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0"; + command.Description = "The set of reasons for a time off in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -115,14 +114,13 @@ public Command BuildGetCommand() return command; } /// - /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. - /// Find more info here + /// Update the navigation property timeOffReasons in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0"; + command.Description = "Update the navigation property timeOffReasons in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +185,7 @@ public TimeOffReasonItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/ { } /// - /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. + /// Delete navigation property timeOffReasons for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a timeOffReason object by ID. + /// The set of reasons for a time off in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. + /// Update the navigation property timeOffReasons in groups /// /// A /// The request body @@ -246,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(TimeOffReason body, Action - /// Retrieve the properties and relationships of a timeOffReason object by ID. + /// The set of reasons for a time off in the schedule. /// public class TimeOffReasonItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs index 66670525f3..36d98cd3d1 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffReasons +{ /// /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. /// - public class TimeOffReasonsRequestBuilder : BaseCliRequestBuilder + public class TimeOffReasonsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new timeOffReason. - /// Find more info here + /// Create new navigation property to timeOffReasons for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new timeOffReason.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0"; + command.Description = "Create new navigation property to timeOffReasons for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of timeOffReasons in a schedule. - /// Find more info here + /// The set of reasons for a time off in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of timeOffReasons in a schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0"; + command.Description = "The set of reasons for a time off in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -213,7 +214,7 @@ public TimeOffReasonsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{gr { } /// - /// Get the list of timeOffReasons in a schedule. + /// The set of reasons for a time off in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new timeOffReason. + /// Create new navigation property to timeOffReasons for groups /// /// A /// The request body @@ -253,7 +254,7 @@ public RequestInformation ToPostRequestInformation(TimeOffReason body, Action - /// Get the list of timeOffReasons in a schedule. + /// The set of reasons for a time off in the schedule. /// public class TimeOffReasonsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs index c8ec07922a..bb7ab8403a 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs index bb8faae74d..ebc99b5fd0 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests.Item +{ /// /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. /// - public class TimeOffRequestItemRequestBuilder : BaseCliRequestBuilder + public class TimeOffRequestItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a timeOffRequest object. - /// Find more info here + /// Delete navigation property timeOffRequests for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a timeOffRequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property timeOffRequests for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a timeoffrequest object. - /// Find more info here + /// The time off requests in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a timeoffrequest object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0"; + command.Description = "The time off requests in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -186,7 +185,7 @@ public TimeOffRequestItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups { } /// - /// Delete a timeOffRequest object. + /// Delete navigation property timeOffRequests for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a timeoffrequest object. + /// The time off requests in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -245,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(TimeOffRequest body, Action< return requestInfo; } /// - /// Retrieve the properties and relationships of a timeoffrequest object. + /// The time off requests in the schedule. /// public class TimeOffRequestItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index b0235ebddf..c1a2c217a3 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests { +namespace ApiSdk.Groups.Item.Team.Schedule.TimeOffRequests +{ /// /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. /// - public class TimeOffRequestsRequestBuilder : BaseCliRequestBuilder + public class TimeOffRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. @@ -104,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of timeOffRequest objects in the team. - /// Find more info here + /// The time off requests in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of timeOffRequest objects in the team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0"; + command.Description = "The time off requests in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -186,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -212,7 +214,7 @@ public TimeOffRequestsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Retrieve a list of timeOffRequest objects in the team. + /// The time off requests in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -252,7 +254,7 @@ public RequestInformation ToPostRequestInformation(TimeOffRequest body, Action - /// Retrieve a list of timeOffRequest objects in the team. + /// The time off requests in the schedule. /// public class TimeOffRequestsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs index 83af22fc1d..cd04a1d136 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff.Count { +namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs index ae36419066..0a8e22bb77 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff.Item { +namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff.Item +{ /// /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. /// - public class TimeOffItemRequestBuilder : BaseCliRequestBuilder + public class TimeOffItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a timeOff instance from a schedule. - /// Find more info here + /// Delete navigation property timesOff for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a timeOff instance from a schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property timesOff for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of a timeOff object by ID. - /// Find more info here + /// The instances of times off in the schedule. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of a timeOff object by ID.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0"; + command.Description = "The instances of times off in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -115,14 +114,13 @@ public Command BuildGetCommand() return command; } /// - /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. - /// Find more info here + /// Update the navigation property timesOff in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0"; + command.Description = "Update the navigation property timesOff in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +185,7 @@ public TimeOffItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Delete a timeOff instance from a schedule. + /// Delete navigation property timesOff for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +204,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a timeOff object by ID. + /// The instances of times off in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +223,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. + /// Update the navigation property timesOff in groups /// /// A /// The request body @@ -246,7 +244,7 @@ public RequestInformation ToPatchRequestInformation(TimeOff body, Action - /// Retrieve the properties and relationships of a timeOff object by ID. + /// The instances of times off in the schedule. /// public class TimeOffItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs index d79662e428..a596af3c27 100644 --- a/src/generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff { +namespace ApiSdk.Groups.Item.Team.Schedule.TimesOff +{ /// /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. /// - public class TimesOffRequestBuilder : BaseCliRequestBuilder + public class TimesOffRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the timesOff property of the microsoft.graph.schedule entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new timeOff instance in a schedule. - /// Find more info here + /// Create new navigation property to timesOff for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new timeOff instance in a schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0"; + command.Description = "Create new navigation property to timesOff for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the list of timeOff instances in a schedule. - /// Find more info here + /// The instances of times off in the schedule. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the list of timeOff instances in a schedule.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0"; + command.Description = "The instances of times off in the schedule."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -187,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -213,7 +214,7 @@ public TimesOffRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2D { } /// - /// Get the list of timeOff instances in a schedule. + /// The instances of times off in the schedule. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +233,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new timeOff instance in a schedule. + /// Create new navigation property to timesOff for groups /// /// A /// The request body @@ -253,7 +254,7 @@ public RequestInformation ToPostRequestInformation(TimeOff body, Action - /// Get the list of timeOff instances in a schedule. + /// The instances of times off in the schedule. /// public class TimesOffRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 78333a8d80..019631f00b 100644 --- a/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Team.SendActivityNotification { - public class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Team.SendActivityNotification +{ + #pragma warning disable CS1591 + public class SendActivityNotificationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The activityType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,13 +88,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"activityType", n => { ActivityType = n.GetStringValue(); } }, - {"chainId", n => { ChainId = n.GetLongValue(); } }, - {"previewText", n => { PreviewText = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"recipient", n => { Recipient = n.GetObjectValue(TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, - {"teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - {"templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(ApiSdk.Models.KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"topic", n => { Topic = n.GetObjectValue(TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, + { "activityType", n => { ActivityType = n.GetStringValue(); } }, + { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "previewText", n => { PreviewText = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "recipient", n => { Recipient = n.GetObjectValue(TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, + { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, + { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(ApiSdk.Models.KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "topic", n => { Topic = n.GetObjectValue(TeamworkActivityTopic.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 67418eeaf5..89ea11e474 100644 --- a/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.SendActivityNotification { +namespace ApiSdk.Groups.Item.Team.SendActivityNotification +{ /// /// Provides operations to call the sendActivityNotification method. /// - public class SendActivityNotificationRequestBuilder : BaseCliRequestBuilder + public class SendActivityNotificationRequestBuilder : BaseCliRequestBuilder { /// /// Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs index b27fab407f..3f04c5d9ee 100644 --- a/src/generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags.Count { +namespace ApiSdk.Groups.Item.Team.Tags.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs index ca469eb1ad..f00d569f89 100644 --- a/src/generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags.Item.Members.Count { +namespace ApiSdk.Groups.Item.Team.Tags.Item.Members.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs index 84eb7b737c..714ebda060 100644 --- a/src/generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags.Item.Members.Item { +namespace ApiSdk.Groups.Item.Team.Tags.Item.Members.Item +{ /// /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. /// - public class TeamworkTagMemberItemRequestBuilder : BaseCliRequestBuilder + public class TeamworkTagMemberItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a member from a standard tag in a team. - /// Find more info here + /// Delete navigation property members for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a member from a standard tag in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -69,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get the properties and relationships of a member of a standard tag in a team. - /// Find more info here + /// Users assigned to the tag. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the properties and relationships of a member of a standard tag in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0"; + command.Description = "Users assigned to the tag."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -211,7 +210,7 @@ public TeamworkTagMemberItemRequestBuilder(string rawUrl) : base("{+baseurl}/gro { } /// - /// Delete a member from a standard tag in a team. + /// Delete navigation property members for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a member of a standard tag in a team. + /// Users assigned to the tag. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(TeamworkTagMember body, Acti return requestInfo; } /// - /// Get the properties and relationships of a member of a standard tag in a team. + /// Users assigned to the tag. /// public class TeamworkTagMemberItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs index 0f37af76c1..3390c4bf33 100644 --- a/src/generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags.Item.Members { +namespace ApiSdk.Groups.Item.Team.Tags.Item.Members +{ /// /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. /// - public class MembersRequestBuilder : BaseCliRequestBuilder + public class MembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the members property of the microsoft.graph.teamworkTag entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new teamworkTagMember object in a team. - /// Find more info here + /// Create new navigation property to members for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new teamworkTagMember object in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to members for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -111,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the members of a standard tag in a team and their properties. - /// Find more info here + /// Users assigned to the tag. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the members of a standard tag in a team and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0"; + command.Description = "Users assigned to the tag."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -206,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -232,7 +233,7 @@ public MembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Di { } /// - /// Get a list of the members of a standard tag in a team and their properties. + /// Users assigned to the tag. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -251,7 +252,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new teamworkTagMember object in a team. + /// Create new navigation property to members for groups /// /// A /// The request body @@ -272,7 +273,7 @@ public RequestInformation ToPostRequestInformation(TeamworkTagMember body, Actio return requestInfo; } /// - /// Get a list of the members of a standard tag in a team and their properties. + /// Users assigned to the tag. /// public class MembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs index d6bcf0f3b9..a453880dde 100644 --- a/src/generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs @@ -15,21 +15,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags.Item { +namespace ApiSdk.Groups.Item.Team.Tags.Item +{ /// /// Provides operations to manage the tags property of the microsoft.graph.team entity. /// - public class TeamworkTagItemRequestBuilder : BaseCliRequestBuilder + public class TeamworkTagItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete a tag object permanently. - /// Find more info here + /// Delete navigation property tags for groups /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete a tag object permanently.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property tags for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -64,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of a tag object. - /// Find more info here + /// The tags associated with the team. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a tag object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0"; + command.Description = "The tags associated with the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -150,14 +149,13 @@ public Command BuildMembersNavCommand() return command; } /// - /// Update the properties of a tag object. - /// Find more info here + /// Update the navigation property tags in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of a tag object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property tags in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -222,7 +220,7 @@ public TeamworkTagItemRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{g { } /// - /// Delete a tag object permanently. + /// Delete navigation property tags for groups /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +239,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a tag object. + /// The tags associated with the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +258,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a tag object. + /// Update the navigation property tags in groups /// /// A /// The request body @@ -281,7 +279,7 @@ public RequestInformation ToPatchRequestInformation(TeamworkTag body, Action - /// Read the properties and relationships of a tag object. + /// The tags associated with the team. /// public class TeamworkTagItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs b/src/generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs index c3970f00ec..4d3644c1e1 100644 --- a/src/generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Tags { +namespace ApiSdk.Groups.Item.Team.Tags +{ /// /// Provides operations to manage the tags property of the microsoft.graph.team entity. /// - public class TagsRequestBuilder : BaseCliRequestBuilder + public class TagsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tags property of the microsoft.graph.team entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a standard tag for members in a team. - /// Find more info here + /// Create new navigation property to tags for groups /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a standard tag for members in a team.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0"; + command.Description = "Create new navigation property to tags for groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -107,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the tag objects and their properties. - /// Find more info here + /// The tags associated with the team. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the tag objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0"; + command.Description = "The tags associated with the team."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -196,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -222,7 +223,7 @@ public TagsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/ { } /// - /// Get a list of the tag objects and their properties. + /// The tags associated with the team. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a standard tag for members in a team. + /// Create new navigation property to tags for groups /// /// A /// The request body @@ -262,7 +263,7 @@ public RequestInformation ToPostRequestInformation(TeamworkTag body, Action - /// Get a list of the tag objects and their properties. + /// The tags associated with the team. /// public class TagsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Team/TeamRequestBuilder.cs b/src/generated/Groups/Item/Team/TeamRequestBuilder.cs index 07582a02b6..a196cec408 100644 --- a/src/generated/Groups/Item/Team/TeamRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/TeamRequestBuilder.cs @@ -32,11 +32,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team { +namespace ApiSdk.Groups.Item.Team +{ /// /// Provides operations to manage the team property of the microsoft.graph.group entity. /// - public class TeamRequestBuilder : BaseCliRequestBuilder + public class TeamRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the allChannels property of the microsoft.graph.team entity. @@ -446,13 +447,14 @@ public Command BuildPrimaryChannelNavCommand() return command; } /// - /// Update the navigation property team in groups + /// Create a new team under a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + /// Find more info here /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update the navigation property team in groups"; + command.Description = "Create a new team under a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/team-put-teams?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -661,7 +663,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property team in groups + /// Create a new team under a group. In order to create a team, the group must have a least one owner. If the creation of the team call is delayed, you can retry the call up to three times before you have to wait for 15 minutes due to a propagation delay. If the group was created less than 15 minutes ago, the call might fail with a 404 error code due to replication delays. If the group was created less than 15 minutes ago, it's possible for a call to create a team to fail with a 404 error code, due to ongoing replication delays.The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. /// /// A /// The request body diff --git a/src/generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs b/src/generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs index cedda7a6bf..a51adc657a 100644 --- a/src/generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Template { +namespace ApiSdk.Groups.Item.Team.Template +{ /// /// Provides operations to manage the template property of the microsoft.graph.team entity. /// - public class TemplateRequestBuilder : BaseCliRequestBuilder + public class TemplateRequestBuilder : BaseCliRequestBuilder { /// /// The template this team was created from. See available templates. diff --git a/src/generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs b/src/generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs index 6ae1835013..3a246b7fec 100644 --- a/src/generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Team.Unarchive { +namespace ApiSdk.Groups.Item.Team.Unarchive +{ /// /// Provides operations to call the unarchive method. /// - public class UnarchiveRequestBuilder : BaseCliRequestBuilder + public class UnarchiveRequestBuilder : BaseCliRequestBuilder { /// /// Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. diff --git a/src/generated/Groups/Item/Threads/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Count/CountRequestBuilder.cs index 7fd68df9d0..b76e6a862a 100644 --- a/src/generated/Groups/Item/Threads/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Count { +namespace ApiSdk.Groups.Item.Threads.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -31,17 +32,23 @@ public Command BuildGetCommand() }; groupIdOption.IsRequired = true; command.AddOption(groupIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; command.AddOption(filterOption); command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -59,14 +66,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/$count{?%24filter,%24search}", rawUrl) { } /// @@ -102,6 +109,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index daf32eb6b5..5e454817ed 100644 --- a/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item { +namespace ApiSdk.Groups.Item.Threads.Item +{ /// /// Provides operations to manage the threads property of the microsoft.graph.group entity. /// - public class ConversationThreadItemRequestBuilder : BaseCliRequestBuilder + public class ConversationThreadItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete conversationThread. @@ -65,14 +66,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. - /// Find more info here + /// Get a thread object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0"; + command.Description = "Get a thread object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -251,7 +252,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -291,7 +292,7 @@ public RequestInformation ToPatchRequestInformation(ConversationThread body, Act return requestInfo; } /// - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// public class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs index f37e59940b..b36c7da618 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Count { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource @@ -35,6 +36,10 @@ public Command BuildGetCommand() }; conversationThreadIdOption.IsRequired = true; command.AddOption(conversationThreadIdOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -42,11 +47,13 @@ public Command BuildGetCommand() command.SetHandler(async (invocationContext) => { var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var conversationThreadId = invocationContext.ParseResult.GetValueForOption(conversationThreadIdOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; }); if (groupId is not null) requestInfo.PathParameters.Add("group%2Did", groupId); @@ -65,14 +72,14 @@ public Command BuildGetCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter,%24search}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter}", rawUrl) + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter,%24search}", rawUrl) { } /// @@ -108,6 +115,16 @@ public class CountRequestBuilderGetQueryParameters #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } } diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs index 8bbb3e2183..a69784e424 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. @@ -133,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to a post. - /// Find more info here + /// Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to a post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -228,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -254,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs index a51252c2fa..eb2271b2a4 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.Count { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 033c895c09..96c346f995 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 3cdce8dc5e..ca0c47dd08 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 501bef0ad9..942b4918f3 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.Item { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attachments for groups diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs index b394eb6a82..22ee7d94cb 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions.Count { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs index 0ddeab1ac5..07a8da3939 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. @@ -116,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -210,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -236,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 7cfad10633..52bcfbd6f2 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions.Item { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. - /// Find more info here + /// Update the navigation property extensions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property extensions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + /// Update the navigation property extensions in groups /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs index b921d633c8..0a1f4ea675 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs index d231d124b1..ecb70c3521 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Forward { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs index a46f7cf2df..0dfdb5a264 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentsRequestBuilder : BaseCliRequestBuilder + public class AttachmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. @@ -133,14 +134,13 @@ public Command BuildCreateUploadSessionNavCommand() return command; } /// - /// Retrieve a list of attachment objects attached to a post. - /// Find more info here + /// Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of attachment objects attached to a post.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0"; + command.Description = "Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -228,7 +228,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -254,7 +256,7 @@ public AttachmentsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group { } /// - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -294,7 +296,7 @@ public RequestInformation ToPostRequestInformation(Attachment body, Action - /// Retrieve a list of attachment objects attached to a post. + /// Read-only. Nullable. Supports $expand. /// public class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs index 006398a672..2a22e17d26 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Count { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 36530db240..d96bebac30 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession { - public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession +{ + #pragma warning disable CS1591 + public class CreateUploadSessionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + { "AttachmentItem", n => { AttachmentItem = n.GetObjectValue(ApiSdk.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 954553a86b..d0693c5490 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.CreateUploadSession +{ /// /// Provides operations to call the createUploadSession method. /// - public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder + public class CreateUploadSessionRequestBuilder : BaseCliRequestBuilder { /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs index 2fe19ba395..bad88b7686 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Item { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Attachments.Item +{ /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. /// - public class AttachmentItemRequestBuilder : BaseCliRequestBuilder + public class AttachmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property attachments for groups diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs index aed5abc45b..4439a4886d 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Count { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs index 214a5debd9..aeafb58424 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionsRequestBuilder : BaseCliRequestBuilder + public class ExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. @@ -116,13 +117,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance."; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -210,7 +211,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -236,7 +239,7 @@ public ExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -276,7 +279,7 @@ public RequestInformation ToPostRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs index c6c24abd1c..242d216073 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Item { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Extensions.Item +{ /// /// Provides operations to manage the extensions property of the microsoft.graph.post entity. /// - public class ExtensionItemRequestBuilder : BaseCliRequestBuilder + public class ExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property extensions for groups @@ -74,14 +75,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0"; + command.Description = "The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand."; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -145,14 +145,13 @@ public Command BuildGetCommand() return command; } /// - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. - /// Find more info here + /// Update the navigation property extensions in groups /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property extensions in groups"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -248,7 +247,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -267,7 +266,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + /// Update the navigation property extensions in groups /// /// A /// The request body @@ -288,7 +287,7 @@ public RequestInformation ToPatchRequestInformation(Extension body, Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. /// public class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs index 08a515ba29..b5b3999d4e 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Forward { - public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Forward +{ + #pragma warning disable CS1591 + public class ForwardPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "Comment", n => { Comment = n.GetStringValue(); } }, + { "ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs index 592382df2d..abd304c476 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Forward { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Forward +{ /// /// Provides operations to call the forward method. /// - public class ForwardRequestBuilder : BaseCliRequestBuilder + public class ForwardRequestBuilder : BaseCliRequestBuilder { /// /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs index 34b945272b..a8d51a228e 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo +{ /// /// Provides operations to manage the inReplyTo property of the microsoft.graph.post entity. /// - public class InReplyToRequestBuilder : BaseCliRequestBuilder + public class InReplyToRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs index e8a1703768..d45fe62f47 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index 019069f68a..7bdc9e1793 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Reply { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.InReplyTo.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action reply diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs index 444292386e..776ca48697 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item +{ /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. /// - public class PostItemRequestBuilder : BaseCliRequestBuilder + public class PostItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the attachments property of the microsoft.graph.post entity. diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs index 48912ce229..2933ddad5d 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index de312f7d6f..d99aaa8a7c 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Reply { +namespace ApiSdk.Groups.Item.Threads.Item.Posts.Item.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action reply diff --git a/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs index bf9484da99..476839898f 100644 --- a/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Posts { +namespace ApiSdk.Groups.Item.Threads.Item.Posts +{ /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. /// - public class PostsRequestBuilder : BaseCliRequestBuilder + public class PostsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the posts property of the microsoft.graph.conversationThread entity. @@ -81,6 +82,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -115,6 +120,7 @@ public Command BuildListCommand() var conversationThreadId = invocationContext.ParseResult.GetValueForOption(conversationThreadIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -131,6 +137,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -146,7 +153,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -161,14 +170,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public PostsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public PostsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public PostsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public PostsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -227,6 +236,16 @@ public class PostsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs b/src/generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs index 3f318904a1..fd36e77155 100644 --- a/src/generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs +++ b/src/generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Reply { - public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.Threads.Item.Reply +{ + #pragma warning disable CS1591 + public class ReplyPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, + { "Post", n => { Post = n.GetObjectValue(ApiSdk.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index cd04d7391a..f7c28d5afc 100644 --- a/src/generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads.Item.Reply { +namespace ApiSdk.Groups.Item.Threads.Item.Reply +{ /// /// Provides operations to call the reply method. /// - public class ReplyRequestBuilder : BaseCliRequestBuilder + public class ReplyRequestBuilder : BaseCliRequestBuilder { /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. diff --git a/src/generated/Groups/Item/Threads/ThreadsRequestBuilder.cs b/src/generated/Groups/Item/Threads/ThreadsRequestBuilder.cs index 07e22b8fa0..1ca9b7d4fa 100644 --- a/src/generated/Groups/Item/Threads/ThreadsRequestBuilder.cs +++ b/src/generated/Groups/Item/Threads/ThreadsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.Threads { +namespace ApiSdk.Groups.Item.Threads +{ /// /// Provides operations to manage the threads property of the microsoft.graph.group entity. /// - public class ThreadsRequestBuilder : BaseCliRequestBuilder + public class ThreadsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the threads property of the microsoft.graph.group entity. @@ -128,6 +129,10 @@ public Command BuildListCommand() }; skipOption.IsRequired = false; command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); var filterOption = new Option("--filter", description: "Filter items by property values") { }; filterOption.IsRequired = false; @@ -156,6 +161,7 @@ public Command BuildListCommand() var groupId = invocationContext.ParseResult.GetValueForOption(groupIdOption); var top = invocationContext.ParseResult.GetValueForOption(topOption); var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); var filter = invocationContext.ParseResult.GetValueForOption(filterOption); var count = invocationContext.ParseResult.GetValueForOption(countOption); var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); @@ -171,6 +177,7 @@ public Command BuildListCommand() var requestInfo = ToGetRequestInformation(q => { q.QueryParameters.Top = top; q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; q.QueryParameters.Count = count; q.QueryParameters.Orderby = orderby; @@ -184,7 +191,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -199,14 +208,14 @@ public Command BuildListCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ThreadsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters) + public ThreadsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ThreadsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", rawUrl) + public ThreadsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -276,6 +285,16 @@ public class ThreadsRequestBuilderGetQueryParameters #else [QueryParameter("%24orderby")] public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif /// Select properties to be returned #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index cbadce96d2..62ee94f35a 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.Count { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index bcb93349c8..d7f3ca8afe 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphAdministrativeUnit.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index fedb662d32..3bcb24c21e 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphAdministrativeUnit { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index fc8e67a696..bd6f9941e1 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphGroup.Count { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index c91488a5fc..a85c30efff 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphGroup { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index a157621f58..31fc5ea33a 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.group entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// The groups that a group is a member of, either directly or through nested membership. Nullable. diff --git a/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 24446673c3..d81ccefc13 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item.GraphAdministrativeUnit +{ /// /// Casts the previous resource to administrativeUnit. /// - public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder + public class GraphAdministrativeUnitRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index f677684fbb..fda64eb23b 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item.GraphGroup { +namespace ApiSdk.Groups.Item.TransitiveMemberOf.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index a3bd0e3a47..78e93be11d 100644 --- a/src/generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMemberOf { +namespace ApiSdk.Groups.Item.TransitiveMemberOf +{ /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.group entity. /// - public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder + public class TransitiveMemberOfRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the transitiveMemberOf property of the microsoft.graph.group entity. @@ -102,14 +103,14 @@ public Command BuildGraphGroupNavCommand() return command; } /// - /// The groups that a group is a member of, either directly or through nested membership. Nullable. + /// Get groups that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The groups that a group is a member of, either directly or through nested membership. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivememberof?view=graph-rest-1.0"; + command.Description = "Get groups that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivememberof?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -198,7 +199,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -224,7 +227,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl) : base("{+baseurl}/groups { } /// - /// The groups that a group is a member of, either directly or through nested membership. Nullable. + /// Get groups that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +246,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The groups that a group is a member of, either directly or through nested membership. Nullable. + /// Get groups that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// public class TransitiveMemberOfRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs index 3965ee5c99..f0ae4bed65 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs index 33b19e7f6c..663d257862 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphApplication.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphApplication.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs index 7a5d479bb9..ace7d3c126 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphApplication { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs index 01c062426b..b95bb614ef 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphDevice.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphDevice.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs index ee6559e573..fba4eb7b27 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphDevice { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs index cb4319c758..d596cdde3b 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphGroup.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphGroup.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs index c442eeab1a..75c3e224cd 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphGroup { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"; + command.Description = "Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs index 35891c69e8..79a7e31188 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphOrgContact.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphOrgContact.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 5db486b90c..1f036344b8 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphOrgContact { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs index c4d17befb4..41178a7218 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphServicePrincipal.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphServicePrincipal.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 6fed1f8b1f..0dd06d0cda 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -134,7 +135,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs index f177a12452..7abd7a3e2c 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphUser.Count { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphUser.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs index c0d1cf62f8..167e3be8c4 100644 --- a/src/generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.GraphUser { +namespace ApiSdk.Groups.Item.TransitiveMembers.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -39,13 +40,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection"; + command.Description = "Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -134,7 +136,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -160,7 +164,7 @@ public GraphUserRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -179,7 +183,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// public class GraphUserRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs index 37ce76ad40..a3a14021b7 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item +{ /// /// Provides operations to manage the transitiveMembers property of the microsoft.graph.group entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// The direct and transitive members of a group. Nullable. diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs index f4fecd33bb..fa9ce868ae 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphApplication { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphApplication +{ /// /// Casts the previous resource to application. /// - public class GraphApplicationRequestBuilder : BaseCliRequestBuilder + public class GraphApplicationRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 09cbced5ed..b5519a9427 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphDevice { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphDevice +{ /// /// Casts the previous resource to device. /// - public class GraphDeviceRequestBuilder : BaseCliRequestBuilder + public class GraphDeviceRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs index f84cecdcd3..f08be8d480 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphGroup { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphGroup +{ /// /// Casts the previous resource to group. /// - public class GraphGroupRequestBuilder : BaseCliRequestBuilder + public class GraphGroupRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"; + command.Description = "Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphGroupRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group% { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// public class GraphGroupRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 1d04446aa7..10cbb55192 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphOrgContact { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphOrgContact +{ /// /// Casts the previous resource to orgContact. /// - public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder + public class GraphOrgContactRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 2c36ffdbe4..8449c440fb 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphServicePrincipal { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphServicePrincipal +{ /// /// Casts the previous resource to servicePrincipal. /// - public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder + public class GraphServicePrincipalRequestBuilder : BaseCliRequestBuilder { /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs index 9894f7de78..931ec38134 100644 --- a/src/generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphUser { +namespace ApiSdk.Groups.Item.TransitiveMembers.Item.GraphUser +{ /// /// Casts the previous resource to user. /// - public class GraphUserRequestBuilder : BaseCliRequestBuilder + public class GraphUserRequestBuilder : BaseCliRequestBuilder { /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the item of type microsoft.graph.directoryObject as microsoft.graph.user"; + command.Description = "Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -100,7 +102,7 @@ public GraphUserRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2 { } /// - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +121,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// public class GraphUserRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs b/src/generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs index 8805a93cb2..322f38d39e 100644 --- a/src/generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs +++ b/src/generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs @@ -22,11 +22,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.TransitiveMembers { +namespace ApiSdk.Groups.Item.TransitiveMembers +{ /// /// Provides operations to manage the transitiveMembers property of the microsoft.graph.group entity. /// - public class TransitiveMembersRequestBuilder : BaseCliRequestBuilder + public class TransitiveMembersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the transitiveMembers property of the microsoft.graph.group entity. @@ -202,14 +203,14 @@ public Command BuildGraphUserNavCommand() return command; } /// - /// The direct and transitive members of a group. Nullable. + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The direct and transitive members of a group. Nullable.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; + command.Description = "Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-list-transitivemembers?view=graph-rest-1.0"; var groupIdOption = new Option("--group-id", description: "The unique identifier of group") { }; groupIdOption.IsRequired = true; @@ -298,7 +299,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -324,7 +327,7 @@ public TransitiveMembersRequestBuilder(string rawUrl) : base("{+baseurl}/groups/ { } /// - /// The direct and transitive members of a group. Nullable. + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -343,7 +346,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The direct and transitive members of a group. Nullable. + /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// public class TransitiveMembersRequestBuilderGetQueryParameters { diff --git a/src/generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs b/src/generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs index 6d5bf3a7a1..e5ee886224 100644 --- a/src/generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs +++ b/src/generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.UnsubscribeByMail { +namespace ApiSdk.Groups.Item.UnsubscribeByMail +{ /// /// Provides operations to call the unsubscribeByMail method. /// - public class UnsubscribeByMailRequestBuilder : BaseCliRequestBuilder + public class UnsubscribeByMailRequestBuilder : BaseCliRequestBuilder { /// /// Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. diff --git a/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesPostRequestBody.cs index 3c4caf3000..f00e67d9a2 100644 --- a/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.Item.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.Item.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs index b9d9910d4e..e76ff1b7b8 100644 --- a/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.Item.ValidateProperties { +namespace ApiSdk.Groups.Item.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/Groups/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/generated/Groups/ValidateProperties/ValidatePropertiesPostRequestBody.cs index fa44ca27d7..b3e65ebeb3 100644 --- a/src/generated/Groups/ValidateProperties/ValidatePropertiesPostRequestBody.cs +++ b/src/generated/Groups/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Groups.ValidateProperties { - public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Groups.ValidateProperties +{ + #pragma warning disable CS1591 + public class ValidatePropertiesPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"entityType", n => { EntityType = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 4737846cf8..4d64b9bd3e 100644 --- a/src/generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Groups.ValidateProperties { +namespace ApiSdk.Groups.ValidateProperties +{ /// /// Provides operations to call the validateProperties method. /// - public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder + public class ValidatePropertiesRequestBuilder : BaseCliRequestBuilder { /// /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs b/src/generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs index bd38ff19e9..fa3dc73718 100644 --- a/src/generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs +++ b/src/generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.GroupsWithUniqueName { +namespace ApiSdk.GroupsWithUniqueName +{ /// /// Provides operations to manage the collection of group entities. /// - public class GroupsWithUniqueNameRequestBuilder : BaseCliRequestBuilder + public class GroupsWithUniqueNameRequestBuilder : BaseCliRequestBuilder { /// /// Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. @@ -110,14 +111,14 @@ public Command BuildGetCommand() return command; } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; + command.Description = "Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0"; var uniqueNameOption = new Option("--unique-name", description: "Alternate key of group") { }; uniqueNameOption.IsRequired = true; @@ -214,7 +215,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// /// A /// The request body diff --git a/src/generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs b/src/generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs index ff1183a9ec..7316629dd1 100644 --- a/src/generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs +++ b/src/generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ApiConnectors { +namespace ApiSdk.Identity.ApiConnectors +{ /// /// Provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. /// - public class ApiConnectorsRequestBuilder : BaseCliRequestBuilder + public class ApiConnectorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs b/src/generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs index ca128ee1a3..8a895a7ce9 100644 --- a/src/generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ApiConnectors.Count { +namespace ApiSdk.Identity.ApiConnectors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs b/src/generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs index 7df1d0bffd..d7bad4a070 100644 --- a/src/generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs +++ b/src/generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ApiConnectors.Item { +namespace ApiSdk.Identity.ApiConnectors.Item +{ /// /// Provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. /// - public class IdentityApiConnectorItemRequestBuilder : BaseCliRequestBuilder + public class IdentityApiConnectorItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an identityApiConnector object. diff --git a/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs b/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs index afffcd998e..d75c354d6f 100644 --- a/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs +++ b/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.ApiConnectors.Item.UploadClientCertificate { - public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Identity.ApiConnectors.Item.UploadClientCertificate +{ + #pragma warning disable CS1591 + public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"password", n => { Password = n.GetStringValue(); } }, - {"pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index 617efb3dd6..ba7af58dc9 100644 --- a/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ApiConnectors.Item.UploadClientCertificate { +namespace ApiSdk.Identity.ApiConnectors.Item.UploadClientCertificate +{ /// /// Provides operations to call the uploadClientCertificate method. /// - public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder + public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder { /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/generated/Identity/AuthenticationEventListeners/AuthenticationEventListenersRequestBuilder.cs b/src/generated/Identity/AuthenticationEventListeners/AuthenticationEventListenersRequestBuilder.cs new file mode 100644 index 0000000000..debfbd4196 --- /dev/null +++ b/src/generated/Identity/AuthenticationEventListeners/AuthenticationEventListenersRequestBuilder.cs @@ -0,0 +1,319 @@ +// +using ApiSdk.Identity.AuthenticationEventListeners.Count; +using ApiSdk.Identity.AuthenticationEventListeners.Item; +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.AuthenticationEventListeners +{ + /// + /// Provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. + /// + public class AuthenticationEventListenersRequestBuilder : BaseCliRequestBuilder + { + /// + /// Provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. + /// + /// A Tuple<List<Command>, List<Command>> + public Tuple, List> BuildCommand() + { + var executables = new List(); + var builder = new AuthenticationEventListenerItemRequestBuilder(PathParameters); + executables.Add(builder.BuildDeleteCommand()); + executables.Add(builder.BuildGetCommand()); + executables.Add(builder.BuildPatchCommand()); + return new(executables, new(0)); + } + /// + /// Provides operations to count the resources in the collection. + /// + /// A + public Command BuildCountNavCommand() + { + var command = new Command("count"); + command.Description = "Provides operations to count the resources in the collection."; + var builder = new CountRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildGetCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. + /// Find more info here + /// + /// A + public Command BuildCreateCommand() + { + var command = new Command("create"); + command.Description = "Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-post-authenticationeventlisteners?view=graph-rest-1.0"; + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(AuthenticationEventListener.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPostRequestInformation(model, q => { + }); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: + /// Find more info here + /// + /// A + public Command BuildListCommand() + { + var command = new Command("list"); + command.Description = "Get a list of the authenticationEventListener objects and their properties. The following derived types are supported:\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventlisteners?view=graph-rest-1.0"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); + var orderbyOption = new Option("--orderby", description: "Order items by property values") { + Arity = ArgumentArity.ZeroOrMore + }; + orderbyOption.IsRequired = false; + command.AddOption(orderbyOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + var allOption = new Option("--all"); + command.AddOption(allOption); + command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); + var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + var all = invocationContext.ParseResult.GetValueForOption(allOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; + q.QueryParameters.Orderby = orderby; + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); + var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); + var response = pageResponse?.Response; +#nullable enable + IOutputFormatter? formatter = null; +#nullable restore + if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { + formatter = outputFormatterFactory.GetFormatter(output); + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + } else { + formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + } + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public AuthenticationEventListenersRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventListeners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public AuthenticationEventListenersRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventListeners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(AuthenticationEventListener body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(AuthenticationEventListener body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: + /// + public class AuthenticationEventListenersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + } +} diff --git a/src/generated/Identity/AuthenticationEventListeners/Count/CountRequestBuilder.cs b/src/generated/Identity/AuthenticationEventListeners/Count/CountRequestBuilder.cs new file mode 100644 index 0000000000..d76ccad554 --- /dev/null +++ b/src/generated/Identity/AuthenticationEventListeners/Count/CountRequestBuilder.cs @@ -0,0 +1,119 @@ +// +using ApiSdk.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.AuthenticationEventListeners.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseCliRequestBuilder + { + /// + /// Get the number of the resource + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Get the number of the resource"; + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + command.SetHandler(async (invocationContext) => { + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventListeners/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventListeners/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Get the number of the resource + /// + public class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + } +} diff --git a/src/generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs b/src/generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs new file mode 100644 index 0000000000..e8eec96603 --- /dev/null +++ b/src/generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs @@ -0,0 +1,265 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.AuthenticationEventListeners.Item +{ + /// + /// Provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. + /// + public class AuthenticationEventListenerItemRequestBuilder : BaseCliRequestBuilder + { + /// + /// Delete an authenticationEventListener object. + /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "Delete an authenticationEventListener object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventlistener-delete?view=graph-rest-1.0"; + var authenticationEventListenerIdOption = new Option("--authentication-event-listener-id", description: "The unique identifier of authenticationEventListener") { + }; + authenticationEventListenerIdOption.IsRequired = true; + command.AddOption(authenticationEventListenerIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var authenticationEventListenerId = invocationContext.ParseResult.GetValueForOption(authenticationEventListenerIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (authenticationEventListenerId is not null) requestInfo.PathParameters.Add("authenticationEventListener%2Did", authenticationEventListenerId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + /// Find more info here + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-1.0"; + var authenticationEventListenerIdOption = new Option("--authentication-event-listener-id", description: "The unique identifier of authenticationEventListener") { + }; + authenticationEventListenerIdOption.IsRequired = true; + command.AddOption(authenticationEventListenerIdOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var authenticationEventListenerId = invocationContext.ParseResult.GetValueForOption(authenticationEventListenerIdOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + if (authenticationEventListenerId is not null) requestInfo.PathParameters.Add("authenticationEventListener%2Did", authenticationEventListenerId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. + /// Find more info here + /// + /// A + public Command BuildPatchCommand() + { + var command = new Command("patch"); + command.Description = "Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventlistener-update?view=graph-rest-1.0"; + var authenticationEventListenerIdOption = new Option("--authentication-event-listener-id", description: "The unique identifier of authenticationEventListener") { + }; + authenticationEventListenerIdOption.IsRequired = true; + command.AddOption(authenticationEventListenerIdOption); + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var authenticationEventListenerId = invocationContext.ParseResult.GetValueForOption(authenticationEventListenerIdOption); + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(AuthenticationEventListener.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPatchRequestInformation(model, q => { + }); + if (authenticationEventListenerId is not null) requestInfo.PathParameters.Add("authenticationEventListener%2Did", authenticationEventListenerId); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public AuthenticationEventListenerItemRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventListeners/{authenticationEventListener%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public AuthenticationEventListenerItemRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventListeners/{authenticationEventListener%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete an authenticationEventListener object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(AuthenticationEventListener body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(AuthenticationEventListener body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. + /// + public class AuthenticationEventListenerItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + } +} diff --git a/src/generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs index 0f3794ed2d..3d535aa381 100644 --- a/src/generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows { +namespace ApiSdk.Identity.B2xUserFlows +{ /// /// Provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. /// - public class B2xUserFlowsRequestBuilder : BaseCliRequestBuilder + public class B2xUserFlowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs index eb877e1cec..71604a9e54 100644 --- a/src/generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Count { +namespace ApiSdk.Identity.B2xUserFlows.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs index 0ded557d0e..37c0c2bee1 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs @@ -16,20 +16,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration +{ /// /// Builds and executes requests for operations under \identity\b2xUserFlows\{b2xIdentityUserFlow-id}\apiConnectorConfiguration /// - public class ApiConnectorConfigurationRequestBuilder : BaseCliRequestBuilder + public class ApiConnectorConfigurationRequestBuilder : BaseCliRequestBuilder { /// - /// Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + /// Get the apiConnectorConfiguration property in a b2xIdentityUserFlow to detail the API connectors enabled for the user flow. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration."; + command.Description = "Get the apiConnectorConfiguration property in a b2xIdentityUserFlow to detail the API connectors enabled for the user flow.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/b2xidentityuserflow-get-apiconnectorconfiguration?view=graph-rest-1.0"; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -141,7 +143,7 @@ public ApiConnectorConfigurationRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + /// Get the apiConnectorConfiguration property in a b2xIdentityUserFlow to detail the API connectors enabled for the user flow. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + /// Get the apiConnectorConfiguration property in a b2xIdentityUserFlow to detail the API connectors enabled for the user flow. /// public class ApiConnectorConfigurationRequestBuilderGetQueryParameters { diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs index 611714bf17..13e294ce0b 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection +{ /// /// Provides operations to manage the postAttributeCollection property of the microsoft.graph.userFlowApiConnectorConfiguration entity. /// - public class PostAttributeCollectionRequestBuilder : BaseCliRequestBuilder + public class PostAttributeCollectionRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property postAttributeCollection for identity diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs index 2f56d3a57f..27fdb70ced 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.Ref { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.Ref +{ /// /// Provides operations to manage the collection of identityContainer entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete ref of navigation property postAttributeCollection for identity diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs index ca0abef1ae..1d4abf13fe 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.UploadClientCertificate { - public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.UploadClientCertificate +{ + #pragma warning disable CS1591 + public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"password", n => { Password = n.GetStringValue(); } }, - {"pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index 48256b7eae..e5fe3f11ae 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.UploadClientCertificate { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostAttributeCollection.UploadClientCertificate +{ /// /// Provides operations to call the uploadClientCertificate method. /// - public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder + public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder { /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs index 140f5d1a7a..55bbbb037c 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup +{ /// /// Provides operations to manage the postFederationSignup property of the microsoft.graph.userFlowApiConnectorConfiguration entity. /// - public class PostFederationSignupRequestBuilder : BaseCliRequestBuilder + public class PostFederationSignupRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property postFederationSignup for identity diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs index 5a93b39471..c988844794 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.Ref { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.Ref +{ /// /// Provides operations to manage the collection of identityContainer entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete ref of navigation property postFederationSignup for identity diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs index 90d2e966a8..8a3ebfa2db 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificatePostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.UploadClientCertificate { - public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.UploadClientCertificate +{ + #pragma warning disable CS1591 + public class UploadClientCertificatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"password", n => { Password = n.GetStringValue(); } }, - {"pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "pkcs12Value", n => { Pkcs12Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index e4b030a86d..5958945986 100644 --- a/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.UploadClientCertificate { +namespace ApiSdk.Identity.B2xUserFlows.Item.ApiConnectorConfiguration.PostFederationSignup.UploadClientCertificate +{ /// /// Provides operations to call the uploadClientCertificate method. /// - public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder + public class UploadClientCertificateRequestBuilder : BaseCliRequestBuilder { /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs index 20fb71ab04..df2d2473d8 100644 --- a/src/generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item +{ /// /// Provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. /// - public class B2xIdentityUserFlowItemRequestBuilder : BaseCliRequestBuilder + public class B2xIdentityUserFlowItemRequestBuilder : BaseCliRequestBuilder { /// /// The apiConnectorConfiguration property diff --git a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs index 0d97337829..13d0786274 100644 --- a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs index b66824dd01..8341433f85 100644 --- a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders { +namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders +{ /// /// Provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder + public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs index a39161bcdc..80110c52b8 100644 --- a/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.IdentityProviders.Item +{ /// /// Provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class IdentityProviderItemRequestBuilder : BaseCliRequestBuilder + public class IdentityProviderItemRequestBuilder : BaseCliRequestBuilder { /// /// The identity providers included in the user flow. diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs index 5362b07798..6dc9fc3f45 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs index cca1c39822..31f47a0a19 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs index 034fa36e95..4479157b03 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages +{ /// /// Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. /// - public class DefaultPagesRequestBuilder : BaseCliRequestBuilder + public class DefaultPagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs index 6483b77fd9..f8af519e45 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Item +{ /// /// Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. /// - public class UserFlowLanguagePageItemRequestBuilder : BaseCliRequestBuilder + public class UserFlowLanguagePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the identityContainer entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the identityContainer entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs index 0d69d7216e..6899fe0e15 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs @@ -13,20 +13,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Item.Value { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.DefaultPages.Item.Value +{ /// /// Provides operations to manage the media for the identityContainer entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property defaultPages from identity + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { + }; + b2xIdentityUserFlowIdOption.IsRequired = true; + command.AddOption(b2xIdentityUserFlowIdOption); + var userFlowLanguageConfigurationIdOption = new Option("--user-flow-language-configuration-id", description: "The unique identifier of userFlowLanguageConfiguration") { + }; + userFlowLanguageConfigurationIdOption.IsRequired = true; + command.AddOption(userFlowLanguageConfigurationIdOption); + var userFlowLanguagePageIdOption = new Option("--user-flow-language-page-id", description: "The unique identifier of userFlowLanguagePage") { + }; + userFlowLanguagePageIdOption.IsRequired = true; + command.AddOption(userFlowLanguagePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var b2xIdentityUserFlowId = invocationContext.ParseResult.GetValueForOption(b2xIdentityUserFlowIdOption); + var userFlowLanguageConfigurationId = invocationContext.ParseResult.GetValueForOption(userFlowLanguageConfigurationIdOption); + var userFlowLanguagePageId = invocationContext.ParseResult.GetValueForOption(userFlowLanguagePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (b2xIdentityUserFlowId is not null) requestInfo.PathParameters.Add("b2xIdentityUserFlow%2Did", b2xIdentityUserFlowId); + if (userFlowLanguageConfigurationId is not null) requestInfo.PathParameters.Add("userFlowLanguageConfiguration%2Did", userFlowLanguageConfigurationId); + if (userFlowLanguagePageId is not null) requestInfo.PathParameters.Add("userFlowLanguagePage%2Did", userFlowLanguagePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property defaultPages from identity"; + command.Description = "The unique identifier for an entity. Read-only."; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -39,22 +87,16 @@ public Command BuildGetCommand() }; userFlowLanguagePageIdOption.IsRequired = true; command.AddOption(userFlowLanguagePageIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { var b2xIdentityUserFlowId = invocationContext.ParseResult.GetValueForOption(b2xIdentityUserFlowIdOption); var userFlowLanguageConfigurationId = invocationContext.ParseResult.GetValueForOption(userFlowLanguageConfigurationIdOption); var userFlowLanguagePageId = invocationContext.ParseResult.GetValueForOption(userFlowLanguagePageIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (b2xIdentityUserFlowId is not null) requestInfo.PathParameters.Add("b2xIdentityUserFlow%2Did", b2xIdentityUserFlowId); if (userFlowLanguageConfigurationId is not null) requestInfo.PathParameters.Add("userFlowLanguageConfiguration%2Did", userFlowLanguageConfigurationId); @@ -78,13 +120,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property defaultPages in identity + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property defaultPages in identity"; + command.Description = "The unique identifier for an entity. Read-only."; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -143,28 +185,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%2Did}/$value", rawUrl) { } /// - /// Get media content for the navigation property defaultPages from identity + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -173,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property defaultPages in identity + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -194,21 +255,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property defaultPages from identity - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs index 8abdb6d456..ecb8c1dc14 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs index 0ddf5b416d..0eee2f8d9b 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Item +{ /// /// Provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. /// - public class UserFlowLanguagePageItemRequestBuilder : BaseCliRequestBuilder + public class UserFlowLanguagePageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the media for the identityContainer entity. @@ -31,6 +32,7 @@ public Command BuildContentNavCommand() command.Description = "Provides operations to manage the media for the identityContainer entity."; var builder = new ContentRequestBuilder(PathParameters); var execCommands = new List(); + execCommands.Add(builder.BuildDeleteCommand()); execCommands.Add(builder.BuildGetCommand()); execCommands.Add(builder.BuildPutCommand()); foreach (var cmd in execCommands) diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs index 4bc6c37d95..1774051569 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs @@ -13,21 +13,68 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Item.Value { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Item.Value +{ /// /// Provides operations to manage the media for the identityContainer entity. /// - public class ContentRequestBuilder : BaseCliRequestBuilder + public class ContentRequestBuilder : BaseCliRequestBuilder { /// - /// Get media content for the navigation property overridesPages from identity - /// Find more info here + /// The unique identifier for an entity. Read-only. + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "The unique identifier for an entity. Read-only."; + var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { + }; + b2xIdentityUserFlowIdOption.IsRequired = true; + command.AddOption(b2xIdentityUserFlowIdOption); + var userFlowLanguageConfigurationIdOption = new Option("--user-flow-language-configuration-id", description: "The unique identifier of userFlowLanguageConfiguration") { + }; + userFlowLanguageConfigurationIdOption.IsRequired = true; + command.AddOption(userFlowLanguageConfigurationIdOption); + var userFlowLanguagePageIdOption = new Option("--user-flow-language-page-id", description: "The unique identifier of userFlowLanguagePage") { + }; + userFlowLanguagePageIdOption.IsRequired = true; + command.AddOption(userFlowLanguagePageIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var b2xIdentityUserFlowId = invocationContext.ParseResult.GetValueForOption(b2xIdentityUserFlowIdOption); + var userFlowLanguageConfigurationId = invocationContext.ParseResult.GetValueForOption(userFlowLanguageConfigurationIdOption); + var userFlowLanguagePageId = invocationContext.ParseResult.GetValueForOption(userFlowLanguagePageIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (b2xIdentityUserFlowId is not null) requestInfo.PathParameters.Add("b2xIdentityUserFlow%2Did", b2xIdentityUserFlowId); + if (userFlowLanguageConfigurationId is not null) requestInfo.PathParameters.Add("userFlowLanguageConfiguration%2Did", userFlowLanguageConfigurationId); + if (userFlowLanguagePageId is not null) requestInfo.PathParameters.Add("userFlowLanguagePage%2Did", userFlowLanguagePageId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get media content for the navigation property overridesPages from identity\n\nFind more info here:\n https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0"; + command.Description = "The unique identifier for an entity. Read-only."; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -40,22 +87,16 @@ public Command BuildGetCommand() }; userFlowLanguagePageIdOption.IsRequired = true; command.AddOption(userFlowLanguagePageIdOption); - var formatOption = new Option("--format", description: "Format of the content") { - }; - formatOption.IsRequired = false; - command.AddOption(formatOption); var outputFileOption = new Option("--output-file"); command.AddOption(outputFileOption); command.SetHandler(async (invocationContext) => { var b2xIdentityUserFlowId = invocationContext.ParseResult.GetValueForOption(b2xIdentityUserFlowIdOption); var userFlowLanguageConfigurationId = invocationContext.ParseResult.GetValueForOption(userFlowLanguageConfigurationIdOption); var userFlowLanguagePageId = invocationContext.ParseResult.GetValueForOption(userFlowLanguagePageIdOption); - var format = invocationContext.ParseResult.GetValueForOption(formatOption); var outputFile = invocationContext.ParseResult.GetValueForOption(outputFileOption); var cancellationToken = invocationContext.GetCancellationToken(); var reqAdapter = invocationContext.GetRequestAdapter(); var requestInfo = ToGetRequestInformation(q => { - if (!string.IsNullOrEmpty(format)) q.QueryParameters.Format = format; }); if (b2xIdentityUserFlowId is not null) requestInfo.PathParameters.Add("b2xIdentityUserFlow%2Did", b2xIdentityUserFlowId); if (userFlowLanguageConfigurationId is not null) requestInfo.PathParameters.Add("userFlowLanguageConfiguration%2Did", userFlowLanguageConfigurationId); @@ -79,13 +120,13 @@ public Command BuildGetCommand() return command; } /// - /// Update media content for the navigation property overridesPages in identity + /// The unique identifier for an entity. Read-only. /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update media content for the navigation property overridesPages in identity"; + command.Description = "The unique identifier for an entity. Read-only."; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -144,28 +185,47 @@ public Command BuildPutCommand() /// Instantiates a new and sets the default values. /// /// Path parameters for the request - public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}/$value{?%24format*}", pathParameters) + public ContentRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}/$value", pathParameters) { } /// /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. - public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}/$value{?%24format*}", rawUrl) + public ContentRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%2Did}/$value", rawUrl) { } /// - /// Get media content for the navigation property overridesPages from identity + /// The unique identifier for an entity. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -174,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update media content for the navigation property overridesPages in identity + /// The unique identifier for an entity. Read-only. /// /// A /// Binary request body @@ -195,21 +255,5 @@ public RequestInformation ToPutRequestInformation(Stream body, Action - /// Get media content for the navigation property overridesPages from identity - /// - public class ContentRequestBuilderGetQueryParameters - { - /// Format of the content -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24format")] - public string? Format { get; set; } -#nullable restore -#else - [QueryParameter("%24format")] - public string Format { get; set; } -#endif - } } } diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs index a0e5e40995..187cc5a8ee 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages +{ /// /// Provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. /// - public class OverridesPagesRequestBuilder : BaseCliRequestBuilder + public class OverridesPagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. @@ -112,14 +113,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. - /// Find more info here + /// Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0"; + command.Description = "Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages)."; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -207,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -233,7 +235,7 @@ public OverridesPagesRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b { } /// - /// Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. + /// Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -273,7 +275,7 @@ public RequestInformation ToPostRequestInformation(UserFlowLanguagePage body, Ac return requestInfo; } /// - /// Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. + /// Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). /// public class OverridesPagesRequestBuilderGetQueryParameters { diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs index ebf61ae833..ca966d7444 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages.Item +{ /// /// Provides operations to manage the languages property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class UserFlowLanguageConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class UserFlowLanguageConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. diff --git a/src/generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs index f691a14dbf..1e5defcb90 100644 --- a/src/generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.Languages { +namespace ApiSdk.Identity.B2xUserFlows.Item.Languages +{ /// /// Provides operations to manage the languages property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class LanguagesRequestBuilder : BaseCliRequestBuilder + public class LanguagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the languages property of the microsoft.graph.b2xIdentityUserFlow entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs index f1618311ef..72b3dafdf5 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs index 0a9d8c115c..ddf94cc8e7 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.GetOrder { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.GetOrder +{ /// /// Provides operations to call the getOrder method. /// - public class GetOrderRequestBuilder : BaseCliRequestBuilder + public class GetOrderRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function getOrder + /// Get the order of identityUserFlowAttributeAssignments being collected within a user flow. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function getOrder"; + command.Description = "Get the order of identityUserFlowAttributeAssignments being collected within a user flow.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-getorder?view=graph-rest-1.0"; var b2xIdentityUserFlowIdOption = new Option("--b2x-identity-user-flow-id", description: "The unique identifier of b2xIdentityUserFlow") { }; b2xIdentityUserFlowIdOption.IsRequired = true; @@ -73,7 +75,7 @@ public GetOrderRequestBuilder(string rawUrl) : base("{+baseurl}/identity/b2xUser { } /// - /// Invoke function getOrder + /// Get the order of identityUserFlowAttributeAssignments being collected within a user flow. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs index f6dfec39c5..b6e6e8048f 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Item +{ /// /// Provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class IdentityUserFlowAttributeAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class IdentityUserFlowAttributeAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an identityUserFlowAttributeAssignment object. diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs index 3b48ef67e1..85f6b7ceb5 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Item.UserAttribute { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.Item.UserAttribute +{ /// /// Provides operations to manage the userAttribute property of the microsoft.graph.identityUserFlowAttributeAssignment entity. /// - public class UserAttributeRequestBuilder : BaseCliRequestBuilder + public class UserAttributeRequestBuilder : BaseCliRequestBuilder { /// /// The user attribute that you want to add to your user flow. diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderPostRequestBody.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderPostRequestBody.cs index 7d9b3804d7..65efccc1db 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderPostRequestBody.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.SetOrder { - public class SetOrderPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.SetOrder +{ + #pragma warning disable CS1591 + public class SetOrderPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"newAssignmentOrder", n => { NewAssignmentOrder = n.GetObjectValue(AssignmentOrder.CreateFromDiscriminatorValue); } }, + { "newAssignmentOrder", n => { NewAssignmentOrder = n.GetObjectValue(AssignmentOrder.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs index be1221e490..8fe9687dac 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.SetOrder { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments.SetOrder +{ /// /// Provides operations to call the setOrder method. /// - public class SetOrderRequestBuilder : BaseCliRequestBuilder + public class SetOrderRequestBuilder : BaseCliRequestBuilder { /// /// Set the order of identityUserFlowAttributeAssignments being collected within a user flow. diff --git a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs index a620eb5c0c..6da7410d58 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserAttributeAssignments +{ /// /// Provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class UserAttributeAssignmentsRequestBuilder : BaseCliRequestBuilder + public class UserAttributeAssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2xIdentityUserFlow entity. @@ -215,7 +216,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs index be8d0745f0..b3e7e27d3b 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Count { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs index 78389d2b83..3908ca55d5 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Item { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Item +{ /// /// Builds and executes requests for operations under \identity\b2xUserFlows\{b2xIdentityUserFlow-id}\userFlowIdentityProviders\{identityProviderBase-id} /// - public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder + public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of identityContainer entities. diff --git a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs index 1ec356954c..25ca30a709 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Item.Ref { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Item.Ref +{ /// /// Provides operations to manage the collection of identityContainer entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete ref of navigation property userFlowIdentityProviders for identity diff --git a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs index 5ea6ab7a28..18ce2c305e 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Ref { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders.Ref +{ /// /// Provides operations to manage the collection of identityContainer entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Delete ref of navigation property userFlowIdentityProviders for identity @@ -136,7 +137,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs index a1acb12d44..07d74a2685 100644 --- a/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs +++ b/src/generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders { +namespace ApiSdk.Identity.B2xUserFlows.Item.UserFlowIdentityProviders +{ /// /// Provides operations to manage the userFlowIdentityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. /// - public class UserFlowIdentityProvidersRequestBuilder : BaseCliRequestBuilder + public class UserFlowIdentityProvidersRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.identity.b2xUserFlows.item.userFlowIdentityProviders.item collection @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs index 7dd42ba921..ad03d5dcdc 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences +{ /// /// Provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. /// - public class AuthenticationContextClassReferencesRequestBuilder : BaseCliRequestBuilder + public class AuthenticationContextClassReferencesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs index 6db5a2b384..e2186f6bd0 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences.Count { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs index 36516ae573..7ebb1ce447 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences.Item { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationContextClassReferences.Item +{ /// /// Provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. /// - public class AuthenticationContextClassReferenceItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationContextClassReferenceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs index 6d62216ecb..35a0f44235 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes +{ /// /// Provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. /// - public class AuthenticationMethodModesRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodModesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs index 3074bb1c4a..a9f7233cb5 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes.Count { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs index 644d503737..9b7ba17dc9 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes.Item { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.AuthenticationMethodModes.Item +{ /// /// Provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. /// - public class AuthenticationMethodModeDetailItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationMethodModeDetailItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property authenticationMethodModes for identity diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs index 79a7cf3ab5..6ea4287db0 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength +{ /// /// Provides operations to manage the authenticationStrength property of the microsoft.graph.conditionalAccessRoot entity. /// - public class AuthenticationStrengthRequestBuilder : BaseCliRequestBuilder + public class AuthenticationStrengthRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs index 27f6a812a8..528772fcf9 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Count { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs index c5f9f6aac4..7332d6fe5d 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item +{ /// /// Provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. /// - public class AuthenticationStrengthPolicyItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationStrengthPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs index f5de37fa35..bd8e85e21f 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations +{ /// /// Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. /// - public class CombinationConfigurationsRequestBuilder : BaseCliRequestBuilder + public class CombinationConfigurationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs index 071bf4b983..aa4b65886b 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations.Count { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs index c3720ed269..bed5d4b46e 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations.Item { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.CombinationConfigurations.Item +{ /// /// Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. /// - public class AuthenticationCombinationConfigurationItemRequestBuilder : BaseCliRequestBuilder + public class AuthenticationCombinationConfigurationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsPostRequestBody.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsPostRequestBody.cs index 372110aa2e..8c25449e36 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsPostRequestBody.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.UpdateAllowedCombinations { - public class UpdateAllowedCombinationsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.UpdateAllowedCombinations +{ + #pragma warning disable CS1591 + public class UpdateAllowedCombinationsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedCombinations", n => { AllowedCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "allowedCombinations", n => { AllowedCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs index 813eeb23cc..926e8989f1 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.UpdateAllowedCombinations { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.UpdateAllowedCombinations +{ /// /// Provides operations to call the updateAllowedCombinations method. /// - public class UpdateAllowedCombinationsRequestBuilder : BaseCliRequestBuilder + public class UpdateAllowedCombinationsRequestBuilder : BaseCliRequestBuilder { /// /// Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs index 4c0f00e73a..f37a21b935 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs @@ -14,20 +14,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.Usage { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies.Item.Usage +{ /// /// Provides operations to call the usage method. /// - public class UsageRequestBuilder : BaseCliRequestBuilder + public class UsageRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function usage + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function usage"; + command.Description = "Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-usage?view=graph-rest-1.0"; var authenticationStrengthPolicyIdOption = new Option("--authentication-strength-policy-id", description: "The unique identifier of authenticationStrengthPolicy") { }; authenticationStrengthPolicyIdOption.IsRequired = true; @@ -73,7 +75,7 @@ public UsageRequestBuilder(string rawUrl) : base("{+baseurl}/identity/conditiona { } /// - /// Invoke function usage + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs index 409db528e5..1cac4c7497 100644 --- a/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies { +namespace ApiSdk.Identity.ConditionalAccess.AuthenticationStrength.Policies +{ /// /// Provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. /// - public class PoliciesRequestBuilder : BaseCliRequestBuilder + public class PoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs index 7bfb8a0731..ff70f07573 100644 --- a/src/generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.Identity.ConditionalAccess { +namespace ApiSdk.Identity.ConditionalAccess +{ /// /// Builds and executes requests for operations under \identity\conditionalAccess /// - public class ConditionalAccessRequestBuilder : BaseCliRequestBuilder + public class ConditionalAccessRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. diff --git a/src/generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs index d3e1ad0756..5e0ab4b50b 100644 --- a/src/generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.NamedLocations.Count { +namespace ApiSdk.Identity.ConditionalAccess.NamedLocations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index d68e2de134..a04d259cdb 100644 --- a/src/generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.NamedLocations.Item { +namespace ApiSdk.Identity.ConditionalAccess.NamedLocations.Item +{ /// /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. /// - public class NamedLocationItemRequestBuilder : BaseCliRequestBuilder + public class NamedLocationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a countryNamedLocation object. @@ -57,14 +58,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an ipNamedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of a namedLocation object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an ipNamedLocation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0"; + command.Description = "Retrieve the properties and relationships of a namedLocation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0"; var namedLocationIdOption = new Option("--named-location-id", description: "The unique identifier of namedLocation") { }; namedLocationIdOption.IsRequired = true; @@ -110,14 +111,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an ipNamedLocation object. - /// Find more info here + /// Update the properties of a countryNamedLocation object. + /// Find more info here /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an ipNamedLocation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0"; + command.Description = "Update the properties of a countryNamedLocation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0"; var namedLocationIdOption = new Option("--named-location-id", description: "The unique identifier of namedLocation") { }; namedLocationIdOption.IsRequired = true; @@ -195,7 +196,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a namedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -214,7 +215,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an ipNamedLocation object. + /// Update the properties of a countryNamedLocation object. /// /// A /// The request body @@ -235,7 +236,7 @@ public RequestInformation ToPatchRequestInformation(NamedLocation body, Action - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a namedLocation object. /// public class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs index 3cf9376a99..883b4e476d 100644 --- a/src/generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.NamedLocations { +namespace ApiSdk.Identity.ConditionalAccess.NamedLocations +{ /// /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. /// - public class NamedLocationsRequestBuilder : BaseCliRequestBuilder + public class NamedLocationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs index cc79fd0429..ef8f59d331 100644 --- a/src/generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Policies.Count { +namespace ApiSdk.Identity.ConditionalAccess.Policies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs index dfcf78f57e..104e9aa44c 100644 --- a/src/generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Policies.Item { +namespace ApiSdk.Identity.ConditionalAccess.Policies.Item +{ /// /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. /// - public class ConditionalAccessPolicyItemRequestBuilder : BaseCliRequestBuilder + public class ConditionalAccessPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a conditionalAccessPolicy object. diff --git a/src/generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs index c443710cb8..f541853f83 100644 --- a/src/generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Policies { +namespace ApiSdk.Identity.ConditionalAccess.Policies +{ /// /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. /// - public class PoliciesRequestBuilder : BaseCliRequestBuilder + public class PoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs index b96f40f294..1941d59592 100644 --- a/src/generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Templates.Count { +namespace ApiSdk.Identity.ConditionalAccess.Templates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs index d41076c366..02a91d40cb 100644 --- a/src/generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Templates.Item { +namespace ApiSdk.Identity.ConditionalAccess.Templates.Item +{ /// /// Provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. /// - public class ConditionalAccessTemplateItemRequestBuilder : BaseCliRequestBuilder + public class ConditionalAccessTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Read the properties and relationships of a conditionalAccessTemplate object. diff --git a/src/generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs b/src/generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs index 0f906cb7f6..f11715eae7 100644 --- a/src/generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs +++ b/src/generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.ConditionalAccess.Templates { +namespace ApiSdk.Identity.ConditionalAccess.Templates +{ /// /// Provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. /// - public class TemplatesRequestBuilder : BaseCliRequestBuilder + public class TemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. @@ -134,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/CustomAuthenticationExtensions/Count/CountRequestBuilder.cs b/src/generated/Identity/CustomAuthenticationExtensions/Count/CountRequestBuilder.cs new file mode 100644 index 0000000000..e1f8bdbb4d --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/Count/CountRequestBuilder.cs @@ -0,0 +1,119 @@ +// +using ApiSdk.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseCliRequestBuilder + { + /// + /// Get the number of the resource + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Get the number of the resource"; + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + command.SetHandler(async (invocationContext) => { + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/customAuthenticationExtensions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder(string rawUrl) : base("{+baseurl}/identity/customAuthenticationExtensions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Get the number of the resource + /// + public class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + } +} diff --git a/src/generated/Identity/CustomAuthenticationExtensions/CustomAuthenticationExtensionsRequestBuilder.cs b/src/generated/Identity/CustomAuthenticationExtensions/CustomAuthenticationExtensionsRequestBuilder.cs new file mode 100644 index 0000000000..7d43c17b82 --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/CustomAuthenticationExtensionsRequestBuilder.cs @@ -0,0 +1,339 @@ +// +using ApiSdk.Identity.CustomAuthenticationExtensions.Count; +using ApiSdk.Identity.CustomAuthenticationExtensions.Item; +using ApiSdk.Identity.CustomAuthenticationExtensions.ValidateAuthenticationConfiguration; +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions +{ + /// + /// Provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. + /// + public class CustomAuthenticationExtensionsRequestBuilder : BaseCliRequestBuilder + { + /// + /// Provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. + /// + /// A Tuple<List<Command>, List<Command>> + public Tuple, List> BuildCommand() + { + var executables = new List(); + var commands = new List(); + var builder = new CustomAuthenticationExtensionItemRequestBuilder(PathParameters); + executables.Add(builder.BuildDeleteCommand()); + executables.Add(builder.BuildGetCommand()); + executables.Add(builder.BuildPatchCommand()); + commands.Add(builder.BuildValidateAuthenticationConfigurationByIdNavCommand()); + return new(executables, commands); + } + /// + /// Provides operations to count the resources in the collection. + /// + /// A + public Command BuildCountNavCommand() + { + var command = new Command("count"); + command.Description = "Provides operations to count the resources in the collection."; + var builder = new CountRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildGetCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Create a new customAuthenticationExtension object. The following derived types are currently supported. + /// Find more info here + /// + /// A + public Command BuildCreateCommand() + { + var command = new Command("create"); + command.Description = "Create a new customAuthenticationExtension object. The following derived types are currently supported.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-post-customauthenticationextensions?view=graph-rest-1.0"; + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(CustomAuthenticationExtension.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPostRequestInformation(model, q => { + }); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. + /// Find more info here + /// + /// A + public Command BuildListCommand() + { + var command = new Command("list"); + command.Description = "Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-list-customauthenticationextensions?view=graph-rest-1.0"; + var topOption = new Option("--top", description: "Show only the first n items") { + }; + topOption.IsRequired = false; + command.AddOption(topOption); + var skipOption = new Option("--skip", description: "Skip the first n items") { + }; + skipOption.IsRequired = false; + command.AddOption(skipOption); + var searchOption = new Option("--search", description: "Search items by search phrases") { + }; + searchOption.IsRequired = false; + command.AddOption(searchOption); + var filterOption = new Option("--filter", description: "Filter items by property values") { + }; + filterOption.IsRequired = false; + command.AddOption(filterOption); + var countOption = new Option("--count", description: "Include count of items") { + }; + countOption.IsRequired = false; + command.AddOption(countOption); + var orderbyOption = new Option("--orderby", description: "Order items by property values") { + Arity = ArgumentArity.ZeroOrMore + }; + orderbyOption.IsRequired = false; + command.AddOption(orderbyOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + var allOption = new Option("--all"); + command.AddOption(allOption); + command.SetHandler(async (invocationContext) => { + var top = invocationContext.ParseResult.GetValueForOption(topOption); + var skip = invocationContext.ParseResult.GetValueForOption(skipOption); + var search = invocationContext.ParseResult.GetValueForOption(searchOption); + var filter = invocationContext.ParseResult.GetValueForOption(filterOption); + var count = invocationContext.ParseResult.GetValueForOption(countOption); + var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + var all = invocationContext.ParseResult.GetValueForOption(allOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Top = top; + q.QueryParameters.Skip = skip; + if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search; + if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter; + q.QueryParameters.Count = count; + q.QueryParameters.Orderby = orderby; + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); + var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); + var response = pageResponse?.Response; +#nullable enable + IOutputFormatter? formatter = null; +#nullable restore + if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { + formatter = outputFormatterFactory.GetFormatter(output); + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + } else { + formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT); + } + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Provides operations to call the validateAuthenticationConfiguration method. + /// + /// A + public Command BuildValidateAuthenticationConfigurationNavCommand() + { + var command = new Command("validate-authentication-configuration"); + command.Description = "Provides operations to call the validateAuthenticationConfiguration method."; + var builder = new ValidateAuthenticationConfigurationRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildPostCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CustomAuthenticationExtensionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/customAuthenticationExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CustomAuthenticationExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/identity/customAuthenticationExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new customAuthenticationExtension object. The following derived types are currently supported. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(CustomAuthenticationExtension body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(CustomAuthenticationExtension body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. + /// + public class CustomAuthenticationExtensionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + } +} diff --git a/src/generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs b/src/generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs new file mode 100644 index 0000000000..bdb65c0630 --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs @@ -0,0 +1,283 @@ +// +using ApiSdk.Identity.CustomAuthenticationExtensions.Item.ValidateAuthenticationConfiguration; +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions.Item +{ + /// + /// Provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. + /// + public class CustomAuthenticationExtensionItemRequestBuilder : BaseCliRequestBuilder + { + /// + /// Delete a customAuthenticationExtension object. + /// Find more info here + /// + /// A + public Command BuildDeleteCommand() + { + var command = new Command("delete"); + command.Description = "Delete a customAuthenticationExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/customauthenticationextension-delete?view=graph-rest-1.0"; + var customAuthenticationExtensionIdOption = new Option("--custom-authentication-extension-id", description: "The unique identifier of customAuthenticationExtension") { + }; + customAuthenticationExtensionIdOption.IsRequired = true; + command.AddOption(customAuthenticationExtensionIdOption); + var ifMatchOption = new Option("--if-match", description: "ETag") { + Arity = ArgumentArity.ZeroOrMore + }; + ifMatchOption.IsRequired = false; + command.AddOption(ifMatchOption); + command.SetHandler(async (invocationContext) => { + var customAuthenticationExtensionId = invocationContext.ParseResult.GetValueForOption(customAuthenticationExtensionIdOption); + var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToDeleteRequestInformation(q => { + }); + if (customAuthenticationExtensionId is not null) requestInfo.PathParameters.Add("customAuthenticationExtension%2Did", customAuthenticationExtensionId); + if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken); + Console.WriteLine("Success"); + }); + return command; + } + /// + /// Read the properties and relationships of a customAuthenticationExtension object. + /// Find more info here + /// + /// A + public Command BuildGetCommand() + { + var command = new Command("get"); + command.Description = "Read the properties and relationships of a customAuthenticationExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-1.0"; + var customAuthenticationExtensionIdOption = new Option("--custom-authentication-extension-id", description: "The unique identifier of customAuthenticationExtension") { + }; + customAuthenticationExtensionIdOption.IsRequired = true; + command.AddOption(customAuthenticationExtensionIdOption); + var selectOption = new Option("--select", description: "Select properties to be returned") { + Arity = ArgumentArity.ZeroOrMore + }; + selectOption.IsRequired = false; + command.AddOption(selectOption); + var expandOption = new Option("--expand", description: "Expand related entities") { + Arity = ArgumentArity.ZeroOrMore + }; + expandOption.IsRequired = false; + command.AddOption(expandOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var customAuthenticationExtensionId = invocationContext.ParseResult.GetValueForOption(customAuthenticationExtensionIdOption); + var select = invocationContext.ParseResult.GetValueForOption(selectOption); + var expand = invocationContext.ParseResult.GetValueForOption(expandOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToGetRequestInformation(q => { + q.QueryParameters.Select = select; + q.QueryParameters.Expand = expand; + }); + if (customAuthenticationExtensionId is not null) requestInfo.PathParameters.Add("customAuthenticationExtension%2Did", customAuthenticationExtensionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Update the properties of a customAuthenticationExtension object. + /// Find more info here + /// + /// A + public Command BuildPatchCommand() + { + var command = new Command("patch"); + command.Description = "Update the properties of a customAuthenticationExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/customauthenticationextension-update?view=graph-rest-1.0"; + var customAuthenticationExtensionIdOption = new Option("--custom-authentication-extension-id", description: "The unique identifier of customAuthenticationExtension") { + }; + customAuthenticationExtensionIdOption.IsRequired = true; + command.AddOption(customAuthenticationExtensionIdOption); + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var customAuthenticationExtensionId = invocationContext.ParseResult.GetValueForOption(customAuthenticationExtensionIdOption); + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(CustomAuthenticationExtension.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPatchRequestInformation(model, q => { + }); + if (customAuthenticationExtensionId is not null) requestInfo.PathParameters.Add("customAuthenticationExtension%2Did", customAuthenticationExtensionId); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Provides operations to call the validateAuthenticationConfiguration method. + /// + /// A + public Command BuildValidateAuthenticationConfigurationByIdNavCommand() + { + var command = new Command("validate-authentication-configuration-by-id"); + command.Description = "Provides operations to call the validateAuthenticationConfiguration method."; + var builder = new ValidateAuthenticationConfigurationRequestBuilder(PathParameters); + var execCommands = new List(); + execCommands.Add(builder.BuildPostCommand()); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public CustomAuthenticationExtensionItemRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/customAuthenticationExtensions/{customAuthenticationExtension%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public CustomAuthenticationExtensionItemRequestBuilder(string rawUrl) : base("{+baseurl}/identity/customAuthenticationExtensions/{customAuthenticationExtension%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a customAuthenticationExtension object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a customAuthenticationExtension object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a customAuthenticationExtension object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(CustomAuthenticationExtension body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(CustomAuthenticationExtension body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a customAuthenticationExtension object. + /// + public class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + } +} diff --git a/src/generated/Identity/CustomAuthenticationExtensions/Item/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs b/src/generated/Identity/CustomAuthenticationExtensions/Item/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs new file mode 100644 index 0000000000..eadea20e7c --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/Item/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs @@ -0,0 +1,97 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions.Item.ValidateAuthenticationConfiguration +{ + /// + /// Provides operations to call the validateAuthenticationConfiguration method. + /// + public class ValidateAuthenticationConfigurationRequestBuilder : BaseCliRequestBuilder + { + /// + /// An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. + /// Find more info here + /// + /// A + public Command BuildPostCommand() + { + var command = new Command("post"); + command.Description = "An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/customauthenticationextension-validateauthenticationconfiguration?view=graph-rest-1.0"; + var customAuthenticationExtensionIdOption = new Option("--custom-authentication-extension-id", description: "The unique identifier of customAuthenticationExtension") { + }; + customAuthenticationExtensionIdOption.IsRequired = true; + command.AddOption(customAuthenticationExtensionIdOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var customAuthenticationExtensionId = invocationContext.ParseResult.GetValueForOption(customAuthenticationExtensionIdOption); + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + var requestInfo = ToPostRequestInformation(q => { + }); + if (customAuthenticationExtensionId is not null) requestInfo.PathParameters.Add("customAuthenticationExtension%2Did", customAuthenticationExtensionId); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public ValidateAuthenticationConfigurationRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/customAuthenticationExtensions/{customAuthenticationExtension%2Did}/validateAuthenticationConfiguration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public ValidateAuthenticationConfigurationRequestBuilder(string rawUrl) : base("{+baseurl}/identity/customAuthenticationExtensions/{customAuthenticationExtension%2Did}/validateAuthenticationConfiguration", rawUrl) + { + } + /// + /// An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + } +} diff --git a/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationPostRequestBody.cs b/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationPostRequestBody.cs new file mode 100644 index 0000000000..e35413dd39 --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationPostRequestBody.cs @@ -0,0 +1,73 @@ +// +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions.ValidateAuthenticationConfiguration +{ + #pragma warning disable CS1591 + public class ValidateAuthenticationConfigurationPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The authenticationConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public CustomExtensionAuthenticationConfiguration? AuthenticationConfiguration { get; set; } +#nullable restore +#else + public CustomExtensionAuthenticationConfiguration AuthenticationConfiguration { get; set; } +#endif + /// The endpointConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public CustomExtensionEndpointConfiguration? EndpointConfiguration { get; set; } +#nullable restore +#else + public CustomExtensionEndpointConfiguration EndpointConfiguration { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ValidateAuthenticationConfigurationPostRequestBody() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static ValidateAuthenticationConfigurationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new ValidateAuthenticationConfigurationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "authenticationConfiguration", n => { AuthenticationConfiguration = n.GetObjectValue(CustomExtensionAuthenticationConfiguration.CreateFromDiscriminatorValue); } }, + { "endpointConfiguration", n => { EndpointConfiguration = n.GetObjectValue(CustomExtensionEndpointConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("authenticationConfiguration", AuthenticationConfiguration); + writer.WriteObjectValue("endpointConfiguration", EndpointConfiguration); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs b/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs new file mode 100644 index 0000000000..3a01a3d523 --- /dev/null +++ b/src/generated/Identity/CustomAuthenticationExtensions/ValidateAuthenticationConfiguration/ValidateAuthenticationConfigurationRequestBuilder.cs @@ -0,0 +1,105 @@ +// +using ApiSdk.Models.ODataErrors; +using ApiSdk.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Cli.Commons.Extensions; +using Microsoft.Kiota.Cli.Commons.IO; +using Microsoft.Kiota.Cli.Commons; +using System.Collections.Generic; +using System.CommandLine; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace ApiSdk.Identity.CustomAuthenticationExtensions.ValidateAuthenticationConfiguration +{ + /// + /// Provides operations to call the validateAuthenticationConfiguration method. + /// + public class ValidateAuthenticationConfigurationRequestBuilder : BaseCliRequestBuilder + { + /// + /// Invoke action validateAuthenticationConfiguration + /// + /// A + public Command BuildPostCommand() + { + var command = new Command("post"); + command.Description = "Invoke action validateAuthenticationConfiguration"; + var bodyOption = new Option("--body", description: "The request body") { + }; + bodyOption.IsRequired = true; + command.AddOption(bodyOption); + var outputOption = new Option("--output", () => FormatterType.JSON); + command.AddOption(outputOption); + var queryOption = new Option("--query"); + command.AddOption(queryOption); + command.SetHandler(async (invocationContext) => { + var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty; + var output = invocationContext.ParseResult.GetValueForOption(outputOption); + var query = invocationContext.ParseResult.GetValueForOption(queryOption); + IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter"); + IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory"); + var cancellationToken = invocationContext.GetCancellationToken(); + var reqAdapter = invocationContext.GetRequestAdapter(); + using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body)); + var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream); + var model = parseNode.GetObjectValue(ValidateAuthenticationConfigurationPostRequestBody.CreateFromDiscriminatorValue); + if (model is null) { + Console.Error.WriteLine("No model data to send."); + return; + } + var requestInfo = ToPostRequestInformation(model, q => { + }); + requestInfo.SetContentFromParsable(reqAdapter, "application/json", model); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null; + response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; + var formatter = outputFormatterFactory.GetFormatter(output); + await formatter.WriteOutputAsync(response, cancellationToken); + }); + return command; + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + public ValidateAuthenticationConfigurationRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/customAuthenticationExtensions/validateAuthenticationConfiguration", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + public ValidateAuthenticationConfigurationRequestBuilder(string rawUrl) : base("{+baseurl}/identity/customAuthenticationExtensions/validateAuthenticationConfiguration", rawUrl) + { + } + /// + /// Invoke action validateAuthenticationConfiguration + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(ValidateAuthenticationConfigurationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(ValidateAuthenticationConfigurationPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + } +} diff --git a/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs b/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs index c9fbff6174..78530a23ad 100644 --- a/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs +++ b/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Identity.IdentityProviders.AvailableProviderTypes { - public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Identity.IdentityProviders.AvailableProviderTypes +{ + #pragma warning disable CS1591 + public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index d0c254df23..befaee01ec 100644 --- a/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.IdentityProviders.AvailableProviderTypes { +namespace ApiSdk.Identity.IdentityProviders.AvailableProviderTypes +{ /// /// Provides operations to call the availableProviderTypes method. /// - public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder + public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function availableProviderTypes"; + command.Description = "Get all identity providers supported in a directory.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -81,7 +83,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -107,7 +111,7 @@ public AvailableProviderTypesRequestBuilder(string rawUrl) : base("{+baseurl}/id { } /// - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function availableProviderTypes + /// Get all identity providers supported in a directory. /// public class AvailableProviderTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs b/src/generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs index 742bce78f4..77ccc61b66 100644 --- a/src/generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.IdentityProviders.Count { +namespace ApiSdk.Identity.IdentityProviders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs index 147e2fc179..da2c9e8a4a 100644 --- a/src/generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.IdentityProviders { +namespace ApiSdk.Identity.IdentityProviders +{ /// /// Provides operations to manage the identityProviders property of the microsoft.graph.identityContainer entity. /// - public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder + public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the availableProviderTypes method. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs b/src/generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs index aec4320fd8..c15a14d594 100644 --- a/src/generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs +++ b/src/generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.IdentityProviders.Item { +namespace ApiSdk.Identity.IdentityProviders.Item +{ /// /// Provides operations to manage the identityProviders property of the microsoft.graph.identityContainer entity. /// - public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder + public class IdentityProviderBaseItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. diff --git a/src/generated/Identity/IdentityRequestBuilder.cs b/src/generated/Identity/IdentityRequestBuilder.cs index 3f819eb331..ce636c5b9a 100644 --- a/src/generated/Identity/IdentityRequestBuilder.cs +++ b/src/generated/Identity/IdentityRequestBuilder.cs @@ -1,7 +1,9 @@ // using ApiSdk.Identity.ApiConnectors; +using ApiSdk.Identity.AuthenticationEventListeners; using ApiSdk.Identity.B2xUserFlows; using ApiSdk.Identity.ConditionalAccess; +using ApiSdk.Identity.CustomAuthenticationExtensions; using ApiSdk.Identity.IdentityProviders; using ApiSdk.Identity.UserFlowAttributes; using ApiSdk.Models.ODataErrors; @@ -19,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity { +namespace ApiSdk.Identity +{ /// /// Provides operations to manage the identityContainer singleton. /// - public class IdentityRequestBuilder : BaseCliRequestBuilder + public class IdentityRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. @@ -53,6 +56,33 @@ public Command BuildApiConnectorsNavCommand() return command; } /// + /// Provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. + /// + /// A + public Command BuildAuthenticationEventListenersNavCommand() + { + var command = new Command("authentication-event-listeners"); + command.Description = "Provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity."; + var builder = new AuthenticationEventListenersRequestBuilder(PathParameters); + var execCommands = new List(); + var nonExecCommands = new List(); + nonExecCommands.Add(builder.BuildCountNavCommand()); + execCommands.Add(builder.BuildCreateCommand()); + execCommands.Add(builder.BuildListCommand()); + var cmds = builder.BuildCommand(); + execCommands.AddRange(cmds.Item1); + nonExecCommands.AddRange(cmds.Item2); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + foreach (var cmd in nonExecCommands.OrderBy(static c => c.Name, StringComparer.Ordinal)) + { + command.AddCommand(cmd); + } + return command; + } + /// /// Provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. /// /// A @@ -101,6 +131,34 @@ public Command BuildConditionalAccessNavCommand() return command; } /// + /// Provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. + /// + /// A + public Command BuildCustomAuthenticationExtensionsNavCommand() + { + var command = new Command("custom-authentication-extensions"); + command.Description = "Provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity."; + var builder = new CustomAuthenticationExtensionsRequestBuilder(PathParameters); + var execCommands = new List(); + var nonExecCommands = new List(); + nonExecCommands.Add(builder.BuildCountNavCommand()); + execCommands.Add(builder.BuildCreateCommand()); + execCommands.Add(builder.BuildListCommand()); + nonExecCommands.Add(builder.BuildValidateAuthenticationConfigurationNavCommand()); + var cmds = builder.BuildCommand(); + execCommands.AddRange(cmds.Item1); + nonExecCommands.AddRange(cmds.Item2); + foreach (var cmd in execCommands) + { + command.AddCommand(cmd); + } + foreach (var cmd in nonExecCommands.OrderBy(static c => c.Name, StringComparer.Ordinal)) + { + command.AddCommand(cmd); + } + return command; + } + /// /// Get identity /// /// A diff --git a/src/generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs b/src/generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs index a43c7b24c3..95fd102e0b 100644 --- a/src/generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs +++ b/src/generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.UserFlowAttributes.Count { +namespace ApiSdk.Identity.UserFlowAttributes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs b/src/generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs index 23ce8d8cfc..409487d12e 100644 --- a/src/generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs +++ b/src/generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.UserFlowAttributes.Item { +namespace ApiSdk.Identity.UserFlowAttributes.Item +{ /// /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. /// - public class IdentityUserFlowAttributeItemRequestBuilder : BaseCliRequestBuilder + public class IdentityUserFlowAttributeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a custom identityUserFlowAttribute. diff --git a/src/generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs b/src/generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs index 1536378f2f..57c34cbb51 100644 --- a/src/generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs +++ b/src/generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Identity.UserFlowAttributes { +namespace ApiSdk.Identity.UserFlowAttributes +{ /// /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. /// - public class UserFlowAttributesRequestBuilder : BaseCliRequestBuilder + public class UserFlowAttributesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. @@ -182,7 +183,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs index ee3d5c5929..7ddaa65fda 100644 --- a/src/generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews { +namespace ApiSdk.IdentityGovernance.AccessReviews +{ /// /// Provides operations to manage the accessReviews property of the microsoft.graph.identityGovernance entity. /// - public class AccessReviewsRequestBuilder : BaseCliRequestBuilder + public class AccessReviewsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs index 0175188fe2..398d53e781 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs index 3fdab52cab..320140053b 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions +{ /// /// Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. /// - public class DefinitionsRequestBuilder : BaseCliRequestBuilder + public class DefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. @@ -203,7 +204,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index fcd34592f6..e1d70a06c7 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 924665a580..422c29ef40 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs index 48ffbf6c58..b86c2ffaa7 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item +{ /// /// Provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. /// - public class AccessReviewScheduleDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewScheduleDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Deletes an accessReviewScheduleDefinition object. @@ -140,13 +141,14 @@ public Command BuildInstancesNavCommand() return command; } /// - /// Update the navigation property definitions in identityGovernance + /// Update an existing accessReviewScheduleDefinition object to change one or more of its properties. + /// Find more info here /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update the navigation property definitions in identityGovernance"; + command.Description = "Update an existing accessReviewScheduleDefinition object to change one or more of its properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-update?view=graph-rest-1.0"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -260,7 +262,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property definitions in identityGovernance + /// Update an existing accessReviewScheduleDefinition object to change one or more of its properties. /// /// A /// The request body diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs index 58233a66be..9d3440fba7 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 43226a15c0..4cb4c328cf 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 1407af6632..3c27185f76 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-1.0"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs index 2791ceb956..e5b8835306 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. @@ -221,7 +222,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs index 31190bfcf6..61340676bd 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.AcceptRecommendations { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.AcceptRecommendations +{ /// /// Provides operations to call the acceptRecommendations method. /// - public class AcceptRecommendationsRequestBuilder : BaseCliRequestBuilder + public class AcceptRecommendationsRequestBuilder : BaseCliRequestBuilder { /// /// Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed on an accessReviewInstance object for which the calling user is a reviewer. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs index 6ce1adc540..0dfecbf4ca 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs @@ -23,11 +23,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. /// - public class AccessReviewInstanceItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewInstanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the acceptRecommendations method. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs index 036b777c32..8eb8e3400d 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ApplyDecisions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ApplyDecisions +{ /// /// Provides operations to call the applyDecisions method. /// - public class ApplyDecisionsRequestBuilder : BaseCliRequestBuilder + public class ApplyDecisionsRequestBuilder : BaseCliRequestBuilder { /// /// Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs index 2a6d9c6e2f..e74b675cf3 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.BatchRecordDecisions { - public class BatchRecordDecisionsPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.BatchRecordDecisions +{ + #pragma warning disable CS1591 + public class BatchRecordDecisionsPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decision", n => { Decision = n.GetStringValue(); } }, - {"justification", n => { Justification = n.GetStringValue(); } }, - {"principalId", n => { PrincipalId = n.GetStringValue(); } }, - {"resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "decision", n => { Decision = n.GetStringValue(); } }, + { "justification", n => { Justification = n.GetStringValue(); } }, + { "principalId", n => { PrincipalId = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs index d23cf4ca9e..b9508e62be 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.BatchRecordDecisions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.BatchRecordDecisions +{ /// /// Provides operations to call the batchRecordDecisions method. /// - public class BatchRecordDecisionsRequestBuilder : BaseCliRequestBuilder + public class BatchRecordDecisionsRequestBuilder : BaseCliRequestBuilder { /// /// Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs index 500f93e3da..a668694797 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers +{ /// /// Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. /// - public class ContactedReviewersRequestBuilder : BaseCliRequestBuilder + public class ContactedReviewersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. - /// Find more info here + /// Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0"; + command.Description = "Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public ContactedReviewersRequestBuilder(string rawUrl) : base("{+baseurl}/identi { } /// - /// Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. + /// Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewReviewer body, Ac return requestInfo; } /// - /// Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. + /// Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. /// public class ContactedReviewersRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs index 38791083db..736dd1db82 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs index 94ada3b2d2..931ae03347 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ContactedReviewers.Item +{ /// /// Provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. /// - public class AccessReviewReviewerItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewReviewerItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property contactedReviewers for identityGovernance diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs index aa730a4158..c947f38c59 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs index 704dfb8b10..df2a925ee8 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions +{ /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. /// - public class DecisionsRequestBuilder : BaseCliRequestBuilder + public class DecisionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. @@ -130,14 +131,13 @@ public Command BuildFilterByCurrentUserWithOnRbCommand() return command; } /// - /// Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. - /// Find more info here + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0"; + command.Description = "Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -225,7 +225,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -251,7 +253,7 @@ public DecisionsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGoverna { } /// - /// Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -291,7 +293,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewInstanceDecisionI return requestInfo; } /// - /// Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// public class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index d291a332d8..b6de342a85 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 24dc930859..dc6aecaa56 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-filterbycurrentuser?view=graph-rest-1.0"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs index 4c08d81f2a..d73fe464f8 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item +{ /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. /// - public class AccessReviewInstanceDecisionItemItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewInstanceDecisionItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property decisions for identityGovernance @@ -69,14 +70,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. - /// Find more info here + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of an accessReviewInstanceDecisionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0"; + command.Description = "Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -257,7 +257,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -297,7 +297,7 @@ public RequestInformation ToPatchRequestInformation(AccessReviewInstanceDecision return requestInfo; } /// - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. /// public class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs index 32a6a79167..169c2da349 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs index 6ef54798d5..8b81b584cd 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights +{ /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. /// - public class InsightsRequestBuilder : BaseCliRequestBuilder + public class InsightsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs index 60ed1dec41..8dee49b5b5 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Decisions.Item.Insights.Item +{ /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. /// - public class GovernanceInsightItemRequestBuilder : BaseCliRequestBuilder + public class GovernanceInsightItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property insights for identityGovernance diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs index 2f0a821410..b891cd3c61 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ResetDecisions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.ResetDecisions +{ /// /// Provides operations to call the resetDecisions method. /// - public class ResetDecisionsRequestBuilder : BaseCliRequestBuilder + public class ResetDecisionsRequestBuilder : BaseCliRequestBuilder { /// /// Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs index 9123f112d8..b69b5f2bf6 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.SendReminder { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.SendReminder +{ /// /// Provides operations to call the sendReminder method. /// - public class SendReminderRequestBuilder : BaseCliRequestBuilder + public class SendReminderRequestBuilder : BaseCliRequestBuilder { /// /// Send a reminder to the reviewers of an active accessReviewInstance. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs index fbfc564328..cd88244bda 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 32f82c76e9..31f0cc4b3a 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 657833f000..1f1f6a6dc0 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-1.0"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -120,7 +122,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -146,7 +150,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs index 923a926751..ead930f397 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item +{ /// /// Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. /// - public class AccessReviewStageItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewStageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. @@ -98,14 +99,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties and relationships of an accessReviewStage object. - /// Find more info here + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties and relationships of an accessReviewStage object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0"; + command.Description = "If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -163,14 +163,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. - /// Find more info here + /// Update the navigation property stages in identityGovernance /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property stages in identityGovernance"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -277,7 +276,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessReviewStage object. + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -296,7 +295,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. + /// Update the navigation property stages in identityGovernance /// /// A /// The request body @@ -317,7 +316,7 @@ public RequestInformation ToPatchRequestInformation(AccessReviewStage body, Acti return requestInfo; } /// - /// Retrieve the properties and relationships of an accessReviewStage object. + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// public class AccessReviewStageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs index 082c5a4e77..cd783fde71 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs index e884c41132..f95d17e31d 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions +{ /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. /// - public class DecisionsRequestBuilder : BaseCliRequestBuilder + public class DecisionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. @@ -136,14 +137,13 @@ public Command BuildFilterByCurrentUserWithOnRbCommand() return command; } /// - /// Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. - /// Find more info here + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0"; + command.Description = "Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -237,7 +237,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -263,7 +265,7 @@ public DecisionsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGoverna { } /// - /// Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -303,7 +305,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewInstanceDecisionI return requestInfo; } /// - /// Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// public class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 6ffae9b0fd..6f09dc0853 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index b064a69d8c..8ad43ca020 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-filterbycurrentuser?view=graph-rest-1.0"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -126,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -152,7 +156,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +175,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve all decision items for an instance of an access review or a stage of an instance of a multi-stage access review, for which the calling user is the reviewer. The decision items are represented by accessReviewInstanceDecisionItem objects on a given accessReviewInstance or accessReviewStage for which the calling user is the reviewer. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs index 3cf73feb8d..ebfe5e2748 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item +{ /// /// Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. /// - public class AccessReviewInstanceDecisionItemItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewInstanceDecisionItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property decisions for identityGovernance @@ -75,14 +76,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. - /// Find more info here + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of an accessReviewInstanceDecisionItem object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0"; + command.Description = "Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -173,14 +173,13 @@ public Command BuildInsightsNavCommand() return command; } /// - /// Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. - /// Find more info here + /// Update the navigation property decisions in identityGovernance /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property decisions in identityGovernance"; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -276,7 +275,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -295,7 +294,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. + /// Update the navigation property decisions in identityGovernance /// /// A /// The request body @@ -316,7 +315,7 @@ public RequestInformation ToPatchRequestInformation(AccessReviewInstanceDecision return requestInfo; } /// - /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. + /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. /// public class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs index fbc95a8422..3c64a580b8 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs index 436a92219b..570af80f19 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights +{ /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. /// - public class InsightsRequestBuilder : BaseCliRequestBuilder + public class InsightsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. @@ -228,7 +229,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs index cf1ec3bf5b..1a19ee8c7c 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.Item.Insights.Item +{ /// /// Provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. /// - public class GovernanceInsightItemRequestBuilder : BaseCliRequestBuilder + public class GovernanceInsightItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property insights for identityGovernance diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs index e6b4992743..0aae76d23c 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Stop { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Stop +{ /// /// Provides operations to call the stop method. /// - public class StopRequestBuilder : BaseCliRequestBuilder + public class StopRequestBuilder : BaseCliRequestBuilder { /// /// Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs index e744b25878..0eebfbe45c 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages +{ /// /// Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. /// - public class StagesRequestBuilder : BaseCliRequestBuilder + public class StagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. @@ -131,14 +132,13 @@ public Command BuildFilterByCurrentUserWithOnRbCommand() return command; } /// - /// Retrieve the stages in a multi-stage access review instance. - /// Find more info here + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve the stages in a multi-stage access review instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0"; + command.Description = "If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition."; var accessReviewScheduleDefinitionIdOption = new Option("--access-review-schedule-definition-id", description: "The unique identifier of accessReviewScheduleDefinition") { }; accessReviewScheduleDefinitionIdOption.IsRequired = true; @@ -226,7 +226,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -252,7 +254,7 @@ public StagesRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernance { } /// - /// Retrieve the stages in a multi-stage access review instance. + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -292,7 +294,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewStage body, Actio return requestInfo; } /// - /// Retrieve the stages in a multi-stage access review instance. + /// If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. /// public class StagesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs index 684bb27ed3..1cf0b713c0 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stop { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stop +{ /// /// Provides operations to call the stop method. /// - public class StopRequestBuilder : BaseCliRequestBuilder + public class StopRequestBuilder : BaseCliRequestBuilder { /// /// Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. diff --git a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs index caae90870a..333a75e670 100644 --- a/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Stop { +namespace ApiSdk.IdentityGovernance.AccessReviews.Definitions.Item.Stop +{ /// /// Provides operations to call the stop method. /// - public class StopRequestBuilder : BaseCliRequestBuilder + public class StopRequestBuilder : BaseCliRequestBuilder { /// /// Invoke action stop diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs index 25eff79a29..147d352299 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs index 94e873cdff..e080b640d5 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions +{ /// /// Provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. /// - public class HistoryDefinitionsRequestBuilder : BaseCliRequestBuilder + public class HistoryDefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs index 1bc6d493e1..2f1b339ed4 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item +{ /// /// Provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. /// - public class AccessReviewHistoryDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewHistoryDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property historyDefinitions for identityGovernance diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs index 79dba54573..f0bc14f404 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Count { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs index 31254dac0a..316e37d3fb 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances +{ /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. /// - public class InstancesRequestBuilder : BaseCliRequestBuilder + public class InstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs index 3a3d23c6bb..3b1b8b6804 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Item { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Item +{ /// /// Provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. /// - public class AccessReviewHistoryInstanceItemRequestBuilder : BaseCliRequestBuilder + public class AccessReviewHistoryInstanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property instances for identityGovernance diff --git a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs index 624ea0b509..af74bca16d 100644 --- a/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Item.GenerateDownloadUri { +namespace ApiSdk.IdentityGovernance.AccessReviews.HistoryDefinitions.Item.Instances.Item.GenerateDownloadUri +{ /// /// Provides operations to call the generateDownloadUri method. /// - public class GenerateDownloadUriRequestBuilder : BaseCliRequestBuilder + public class GenerateDownloadUriRequestBuilder : BaseCliRequestBuilder { /// /// Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs index 5b708f83e2..549cd1aba9 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent { +namespace ApiSdk.IdentityGovernance.AppConsent +{ /// /// Provides operations to manage the appConsent property of the microsoft.graph.identityGovernance entity. /// - public class AppConsentRequestBuilder : BaseCliRequestBuilder + public class AppConsentRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs index ab6c477ade..d281c324de 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests +{ /// /// Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. /// - public class AppConsentRequestsRequestBuilder : BaseCliRequestBuilder + public class AppConsentRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. @@ -201,7 +202,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs index 6cd2e8a146..c25ff65f01 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Count { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 55c30d3720..07fac677dd 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 2c764abed0..8243b9860a 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/appconsentrequest-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs index 9ecafd9eb9..c907474943 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item +{ /// /// Provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. /// - public class AppConsentRequestItemRequestBuilder : BaseCliRequestBuilder + public class AppConsentRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property appConsentRequests for identityGovernance diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs index 05b196bfbd..8f3a80f97c 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Count { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index cb75955577..bb34b6beed 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(UserConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(UserConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index fd9606b35f..549185f5f5 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/userconsentrequest-filterbycurrentuser?view=graph-rest-1.0"; var appConsentRequestIdOption = new Option("--app-consent-request-id", description: "The unique identifier of appConsentRequest") { }; appConsentRequestIdOption.IsRequired = true; @@ -114,7 +116,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -140,7 +144,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +163,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs index a03e4683ef..707c37cb7f 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval +{ /// /// Provides operations to manage the approval property of the microsoft.graph.userConsentRequest entity. /// - public class ApprovalRequestBuilder : BaseCliRequestBuilder + public class ApprovalRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property approval for identityGovernance diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs index 83d48d823c..55fb9159a6 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages.Count { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs index 4ee3c4310a..27adbe077a 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages.Item { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages.Item +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder + public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property stages for identityGovernance @@ -68,14 +69,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. - /// Find more info here + /// A collection of stages in the approval decision. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approvalstage-get?view=graph-rest-1.0"; + command.Description = "A collection of stages in the approval decision."; var appConsentRequestIdOption = new Option("--app-consent-request-id", description: "The unique identifier of appConsentRequest") { }; appConsentRequestIdOption.IsRequired = true; @@ -133,14 +133,13 @@ public Command BuildGetCommand() return command; } /// - /// Approve or deny an approvalStage object in an approval. - /// Find more info here + /// Update the navigation property stages in identityGovernance /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Approve or deny an approvalStage object in an approval.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approvalstage-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property stages in identityGovernance"; var appConsentRequestIdOption = new Option("--app-consent-request-id", description: "The unique identifier of appConsentRequest") { }; appConsentRequestIdOption.IsRequired = true; @@ -230,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. + /// A collection of stages in the approval decision. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -249,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Approve or deny an approvalStage object in an approval. + /// Update the navigation property stages in identityGovernance /// /// A /// The request body @@ -270,7 +269,7 @@ public RequestInformation ToPatchRequestInformation(ApprovalStage body, Action - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. + /// A collection of stages in the approval decision. /// public class ApprovalStageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs index d02efd2dbe..61abe1976c 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item.Approval.Stages +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class StagesRequestBuilder : BaseCliRequestBuilder + public class StagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. @@ -110,14 +111,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. - /// Find more info here + /// A collection of stages in the approval decision. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approval-list-stages?view=graph-rest-1.0"; + command.Description = "A collection of stages in the approval decision."; var appConsentRequestIdOption = new Option("--app-consent-request-id", description: "The unique identifier of appConsentRequest") { }; appConsentRequestIdOption.IsRequired = true; @@ -205,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -231,7 +233,7 @@ public StagesRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernance { } /// - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. + /// A collection of stages in the approval decision. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -271,7 +273,7 @@ public RequestInformation ToPostRequestInformation(ApprovalStage body, Action - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. + /// A collection of stages in the approval decision. /// public class StagesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs index d6f439b02b..c84b4d6d52 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests.Item +{ /// /// Provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. /// - public class UserConsentRequestItemRequestBuilder : BaseCliRequestBuilder + public class UserConsentRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the approval property of the microsoft.graph.userConsentRequest entity. diff --git a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs index 3492455ed4..ffdc6edc34 100644 --- a/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests { +namespace ApiSdk.IdentityGovernance.AppConsent.AppConsentRequests.Item.UserConsentRequests +{ /// /// Provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. /// - public class UserConsentRequestsRequestBuilder : BaseCliRequestBuilder + public class UserConsentRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. @@ -213,7 +214,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs index d3a4ebb773..689f9634ba 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals +{ /// /// Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageAssignmentApprovalsRequestBuilder : BaseCliRequestBuilder + public class AccessPackageAssignmentApprovalsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs index 14449723a3..fbf40c918d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index cd07405b52..e04a1a335c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Approval.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Approval.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 7c86d55541..4e8a31cee8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs index 21849b317e..a18fc70097 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item +{ /// /// Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. /// - public class ApprovalItemRequestBuilder : BaseCliRequestBuilder + public class ApprovalItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property accessPackageAssignmentApprovals for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs index a1e842a6f2..dfafdfa94e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs index 40028815f6..4602563569 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages.Item +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder + public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property stages for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs index 9f8f680fa2..690225cc7e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.Item.Stages +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class StagesRequestBuilder : BaseCliRequestBuilder + public class StagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs index 4fe56c0adc..b68370f3f4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackagesRequestBuilder : BaseCliRequestBuilder + public class AccessPackagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. @@ -208,7 +209,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs index 13a6b4409f..69b1a13253 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index e155911ece..f973eaf73f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 4235181f87..a5a589d381 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackage-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 4bf08ba084..d555b05594 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs index b3f611a9fd..3721b0b657 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith +{ /// /// Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. /// - public class AccessPackagesIncompatibleWithRequestBuilder : BaseCliRequestBuilder + public class AccessPackagesIncompatibleWithRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. @@ -140,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs index 385cda186a..21787a75ff 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs index 4ac3cde588..578682e3d5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AccessPackagesIncompatibleWith.Item +{ /// /// Provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. /// - public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder { /// /// The access packages that are incompatible with this package. Read-only. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs index a6432cda86..b49174cb9d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies +{ /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.accessPackage entity. /// - public class AssignmentPoliciesRequestBuilder : BaseCliRequestBuilder + public class AssignmentPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.accessPackage entity. @@ -197,7 +198,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs index f499b5693a..4c337c1815 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index 88a09ebb16..da44a4ea83 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.AccessPackage { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.AccessPackage +{ /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class AccessPackageRequestBuilder : BaseCliRequestBuilder + public class AccessPackageRequestBuilder : BaseCliRequestBuilder { /// /// Access package containing this policy. Read-only. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs index d3fcea0c6b..a58511c033 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item +{ /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.accessPackage entity. /// - public class AccessPackageAssignmentPolicyItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageAssignmentPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentPolicy entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs index 555690b924..d0a1e95d14 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Catalog { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Catalog +{ /// /// Provides operations to manage the catalog property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CatalogRequestBuilder : BaseCliRequestBuilder + public class CatalogRequestBuilder : BaseCliRequestBuilder { /// /// Catalog of the access package containing this policy. Read-only. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs index bf471f0ef7..0cbef14f1c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs index 62e50e3454..7411b0faa0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings +{ /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CustomExtensionStageSettingsRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionStageSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs index 99279e0753..eecd50f850 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Item.CustomExtension { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Item.CustomExtension +{ /// /// Provides operations to manage the customExtension property of the microsoft.graph.customExtensionStageSetting entity. /// - public class CustomExtensionRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionRequestBuilder : BaseCliRequestBuilder { /// /// Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs index ed030e84e0..3bd97275b1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.CustomExtensionStageSettings.Item +{ /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CustomExtensionStageSettingItemRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionStageSettingItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customExtension property of the microsoft.graph.customExtensionStageSetting entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs index a871619ce9..a3760c1dcb 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs index 21a8e78aa2..8944ebf78f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions.Item +{ /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class AccessPackageQuestionItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageQuestionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property questions for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs index 2e1a03d93e..728210aeb3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.AssignmentPolicies.Item.Questions +{ /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class QuestionsRequestBuilder : BaseCliRequestBuilder + public class QuestionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs index 29aa2b919f..b686ded4d0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.Catalog { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.Catalog +{ /// /// Provides operations to manage the catalog property of the microsoft.graph.accessPackage entity. /// - public class CatalogRequestBuilder : BaseCliRequestBuilder + public class CatalogRequestBuilder : BaseCliRequestBuilder { /// /// Required when creating the access package. Read-only. Nullable. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsPostResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsPostResponse.cs index f9021eb924..1985119532 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsPostResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsPostResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.GetApplicablePolicyRequirements { - public class GetApplicablePolicyRequirementsPostResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.GetApplicablePolicyRequirements +{ + #pragma warning disable CS1591 + public class GetApplicablePolicyRequirementsPostResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequestRequirements.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequestRequirements.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs index e586ab3423..4ad84e4ea7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.GetApplicablePolicyRequirements { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.GetApplicablePolicyRequirements +{ /// /// Provides operations to call the getApplicablePolicyRequirements method. /// - public class GetApplicablePolicyRequirementsRequestBuilder : BaseCliRequestBuilder + public class GetApplicablePolicyRequirementsRequestBuilder : BaseCliRequestBuilder { /// /// In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. @@ -58,7 +59,9 @@ public Command BuildPostCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs index 2f9aad9967..f0db67b281 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs index 6456cd0251..b8cce6a2df 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages +{ /// /// Provides operations to manage the incompatibleAccessPackages property of the microsoft.graph.accessPackage entity. /// - public class IncompatibleAccessPackagesRequestBuilder : BaseCliRequestBuilder + public class IncompatibleAccessPackagesRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.identityGovernance.entitlementManagement.accessPackages.item.incompatibleAccessPackages.item collection @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/AccessPackageItemRequestBuilder.cs index d67d81e7fb..adefde08a1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Item +{ /// /// Builds and executes requests for operations under \identityGovernance\entitlementManagement\accessPackages\{accessPackage-id}\incompatibleAccessPackages\{accessPackage-id1} /// - public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of identityGovernance entities. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs index d5043d3cb4..55dce0da40 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Item.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Item.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs index 6b898de7ef..47656fa5cf 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleAccessPackages.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs index 32c6da2e50..77641e687a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs index 2213170e8f..efbd268ec9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups +{ /// /// Provides operations to manage the incompatibleGroups property of the microsoft.graph.accessPackage entity. /// - public class IncompatibleGroupsRequestBuilder : BaseCliRequestBuilder + public class IncompatibleGroupsRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.identityGovernance.entitlementManagement.accessPackages.item.incompatibleGroups.item collection @@ -142,7 +143,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/GroupItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/GroupItemRequestBuilder.cs index 5f6e2bfc02..ac9eb9863d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/GroupItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/GroupItemRequestBuilder.cs @@ -11,11 +11,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item +{ /// /// Builds and executes requests for operations under \identityGovernance\entitlementManagement\accessPackages\{accessPackage-id}\incompatibleGroups\{group-id} /// - public class GroupItemRequestBuilder : BaseCliRequestBuilder + public class GroupItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of identityGovernance entities. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs index d211626451..5ceb2c4d7b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a group from the list of groups that have been marked as incompatible on an accessPackage. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 23012a1cf5..fd263dddcf 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 0f9cf8282d..ad6d2b7ecc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Item.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\entitlementManagement\accessPackages\{accessPackage-id}\incompatibleGroups\{group-id}\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs index 90e954e967..139e6e082b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.IncompatibleGroups.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a group from the list of groups that have been marked as incompatible on an accessPackage. @@ -138,7 +139,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs index 695db1fbff..4ac0301ffe 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs index d657dd60e8..1d676a9524 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item +{ /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.accessPackage entity. /// - public class AccessPackageResourceRoleScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 37ab80fcf5..83e7bcb3af 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs index b4949d7fa8..22a4237644 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs index edd2f06f1d..d1a765c7ba 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index bd800e8d81..a97bc34589 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs index 41b2136f00..3d414995ac 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs index 8344307917..79dc7239ec 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 3f9551f976..cb7ea0a530 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 1d50d411a9..2adb48cf33 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 31a4f87c21..366a76ac10 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 9b48c7cd30..b9104a9b28 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 14acc38116..1fce13201d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index d79937ec55..8b7d705813 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs index e976c6ee82..045cef9a51 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs index 70d65ee808..469b70d8f1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Role +{ /// /// Provides operations to manage the role property of the microsoft.graph.accessPackageResourceRoleScope entity. /// - public class RoleRequestBuilder : BaseCliRequestBuilder + public class RoleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property role for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 9f02797a28..2d3e8ff75c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs index 3f3a239ef4..8a9585b91d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs index fc559026fe..b2331051fa 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index ee85fd3862..369c4cc9c1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index fe233accc8..9fa69844bb 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index b7ef35be38..0f09b987fc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 1c5938758a..dd32658b34 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 6bdb2ff601..a02e998bc7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 72d95238a2..6fcff33783 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs index a572bd4f4b..a3c2cfd224 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs index 6d96b4494f..07e6e0c9b4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 0a9765cd07..6d09257ca4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs index e2ca47ff4c..d3a2dc3e6b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs index 1aa5c3d0f1..347170960c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.Item.Scope +{ /// /// Provides operations to manage the scope property of the microsoft.graph.accessPackageResourceRoleScope entity. /// - public class ScopeRequestBuilder : BaseCliRequestBuilder + public class ScopeRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scope for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs index 10969d625a..b2d4fb128f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes +{ /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.accessPackage entity. /// - public class ResourceRoleScopesRequestBuilder : BaseCliRequestBuilder + public class ResourceRoleScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.accessPackage entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs index 4ac6b7cbf6..d3fd53bd10 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies +{ /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. /// - public class AssignmentPoliciesRequestBuilder : BaseCliRequestBuilder + public class AssignmentPoliciesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. @@ -187,7 +188,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs index 1bab3b3c75..260482a905 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index b3e0f9e6db..4f4bb25302 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.AccessPackage { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.AccessPackage +{ /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class AccessPackageRequestBuilder : BaseCliRequestBuilder + public class AccessPackageRequestBuilder : BaseCliRequestBuilder { /// /// Access package containing this policy. Read-only. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs index 99dc23882c..c87862a220 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item +{ /// /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageAssignmentPolicyItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageAssignmentPolicyItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentPolicy entity. @@ -175,13 +176,14 @@ public Command BuildGetCommand() return command; } /// - /// Update the navigation property assignmentPolicies in identityGovernance + /// Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description. + /// Find more info here /// /// A public Command BuildPutCommand() { var command = new Command("put"); - command.Description = "Update the navigation property assignmentPolicies in identityGovernance"; + command.Description = "Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-update?view=graph-rest-1.0"; var accessPackageAssignmentPolicyIdOption = new Option("--access-package-assignment-policy-id", description: "The unique identifier of accessPackageAssignmentPolicy") { }; accessPackageAssignmentPolicyIdOption.IsRequired = true; @@ -305,7 +307,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property assignmentPolicies in identityGovernance + /// Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description. /// /// A /// The request body diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs index f31165d129..f6dd200cc6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Catalog { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Catalog +{ /// /// Provides operations to manage the catalog property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CatalogRequestBuilder : BaseCliRequestBuilder + public class CatalogRequestBuilder : BaseCliRequestBuilder { /// /// Catalog of the access package containing this policy. Read-only. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs index ec23d9c987..1bd4a2b047 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs index fcee90e612..f13e2f6357 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings +{ /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CustomExtensionStageSettingsRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionStageSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs index 9f69d2ca83..e398cef842 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Item.CustomExtension { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Item.CustomExtension +{ /// /// Provides operations to manage the customExtension property of the microsoft.graph.customExtensionStageSetting entity. /// - public class CustomExtensionRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionRequestBuilder : BaseCliRequestBuilder { /// /// Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs index 78324e5931..778a378586 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.CustomExtensionStageSettings.Item +{ /// /// Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class CustomExtensionStageSettingItemRequestBuilder : BaseCliRequestBuilder + public class CustomExtensionStageSettingItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customExtension property of the microsoft.graph.customExtensionStageSetting entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs index 6787c51797..3fa8b7139b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs index 1185410511..d6875ad0ed 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions.Item +{ /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class AccessPackageQuestionItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageQuestionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property questions for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs index 7293b02d60..ca9294af62 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentPolicies.Item.Questions +{ /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. /// - public class QuestionsRequestBuilder : BaseCliRequestBuilder + public class QuestionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the questions property of the microsoft.graph.accessPackageAssignmentPolicy entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs index d63756f70e..7c1b8b1cea 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests +{ /// /// Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity. /// - public class AssignmentRequestsRequestBuilder : BaseCliRequestBuilder + public class AssignmentRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity. @@ -207,7 +208,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs index d4875fa778..a6f37410c7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 0504428105..65cfdf6526 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 2126c940e1..7cc441ffcc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs index 3b8cb0e9e0..44fd985c5a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.AccessPackage { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.AccessPackage +{ /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentRequest entity. /// - public class AccessPackageRequestBuilder : BaseCliRequestBuilder + public class AccessPackageRequestBuilder : BaseCliRequestBuilder { /// /// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs index a9cdd1c08b..a4b9baec96 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item +{ /// /// Provides operations to manage the assignmentRequests property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageAssignmentRequestItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageAssignmentRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignmentRequest entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs index c52df755e5..972cfd1725 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Assignment { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Assignment +{ /// /// Provides operations to manage the assignment property of the microsoft.graph.accessPackageAssignmentRequest entity. /// - public class AssignmentRequestBuilder : BaseCliRequestBuilder + public class AssignmentRequestBuilder : BaseCliRequestBuilder { /// /// For a requestType of userAdd or adminAdd, this is an access package assignment requested to be created. For a requestType of userRemove, adminRemove or systemRemove, this has the id property of an existing assignment to be removed. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs index 4c1ed8c04a..01ec6b2e43 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Cancel { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs index 6450be5773..bfb14afd4b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Reprocess { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Reprocess +{ /// /// Provides operations to call the reprocess method. /// - public class ReprocessRequestBuilder : BaseCliRequestBuilder + public class ReprocessRequestBuilder : BaseCliRequestBuilder { /// /// In Microsoft Entra entitlement management, callers can automatically retry a user's request for access to an access package. It's performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs index 512a34891f..1a2196d413 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Requestor { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Requestor +{ /// /// Provides operations to manage the requestor property of the microsoft.graph.accessPackageAssignmentRequest entity. /// - public class RequestorRequestBuilder : BaseCliRequestBuilder + public class RequestorRequestBuilder : BaseCliRequestBuilder { /// /// The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumePostRequestBody.cs index ef065fac27..b124f4d268 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Resume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Resume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomExtensionData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomExtensionData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs index d3891720f9..105deaa3df 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Resume { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.AssignmentRequests.Item.Resume +{ /// /// Provides operations to call the resume method. /// - public class ResumeRequestBuilder : BaseCliRequestBuilder + public class ResumeRequestBuilder : BaseCliRequestBuilder { /// /// In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessGetResponse.cs index 160ea55203..1941f7bddc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccess { - public class AdditionalAccessGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccess +{ + #pragma warning disable CS1591 + public class AdditionalAccessGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs index 3f3d9af039..6caffeed1a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccess { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccess +{ /// /// Provides operations to call the additionalAccess method. /// - public class AdditionalAccessRequestBuilder : BaseCliRequestBuilder + public class AdditionalAccessRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function additionalAccess + /// In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. This can be used to prepare to configure the incompatible access packages for a specific access package. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function additionalAccess"; + command.Description = "In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. This can be used to prepare to configure the incompatible access packages for a specific access package.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignment-additionalaccess?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -102,7 +104,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -128,7 +132,7 @@ public AdditionalAccessRequestBuilder(string rawUrl) : base("{+baseurl}/identity { } /// - /// Invoke function additionalAccess + /// In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. This can be used to prepare to configure the incompatible access packages for a specific access package. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function additionalAccess + /// In Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. This can be used to prepare to configure the incompatible access packages for a specific access package. /// public class AdditionalAccessRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.cs index aeca53a8f5..1fc0d2f96c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId { - public class AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId +{ + #pragma warning disable CS1591 + public class AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs index d1f5eaed4f..bfac7c6efc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId +{ /// /// Provides operations to call the additionalAccess method. /// - public class AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder : BaseCliRequestBuilder + public class AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function additionalAccess @@ -114,7 +115,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs index 87195d7198..aa0d722665 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity. /// - public class AssignmentsRequestBuilder : BaseCliRequestBuilder + public class AssignmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the additionalAccess method. @@ -240,7 +241,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs index 7e47c818e1..cd7f2977be 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 2b5badfb82..1270a8a7d3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 819ff140d5..765c2ee9c1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignment-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs index 70ecb56d3e..a2eafa0238 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.AccessPackage { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.AccessPackage +{ /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignment entity. /// - public class AccessPackageRequestBuilder : BaseCliRequestBuilder + public class AccessPackageRequestBuilder : BaseCliRequestBuilder { /// /// Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs index bc13308cc7..d8dbab1da6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item +{ /// /// Provides operations to manage the assignments property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageAssignmentItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageAssignmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageAssignment entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs index 8264fda536..0daa5ede2f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.AssignmentPolicy { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.AssignmentPolicy +{ /// /// Provides operations to manage the assignmentPolicy property of the microsoft.graph.accessPackageAssignment entity. /// - public class AssignmentPolicyRequestBuilder : BaseCliRequestBuilder + public class AssignmentPolicyRequestBuilder : BaseCliRequestBuilder { /// /// Read-only. Supports $filter (eq) on the id property and $expand query parameters. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs index 603144ddfa..6b8fbe9a8f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.Reprocess { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.Reprocess +{ /// /// Provides operations to call the reprocess method. /// - public class ReprocessRequestBuilder : BaseCliRequestBuilder + public class ReprocessRequestBuilder : BaseCliRequestBuilder { /// /// In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs index c933970bf5..e151c6de83 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.Target { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Assignments.Item.Target +{ /// /// Provides operations to manage the target property of the microsoft.graph.accessPackageAssignment entity. /// - public class TargetRequestBuilder : BaseCliRequestBuilder + public class TargetRequestBuilder : BaseCliRequestBuilder { /// /// The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs index b9e0eb7b74..98731e80f5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs +{ /// /// Provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. /// - public class CatalogsRequestBuilder : BaseCliRequestBuilder + public class CatalogsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. @@ -188,7 +189,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs index 81851d36c4..f0ce6b4de5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs index 42b4e98919..dbf0185ade 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item +{ /// /// Provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageCatalogItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageCatalogItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs index 085dd09c33..c82adfe893 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackagesRequestBuilder : BaseCliRequestBuilder + public class AccessPackagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs index d147f993df..0406d1f182 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 629a2f6780..406b69157c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.AccessPackages.Item +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder { /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs index 7d7742992f..8e7da69519 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs index 9170e6d8c7..fe8e34f45c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions +{ /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. /// - public class CustomWorkflowExtensionsRequestBuilder : BaseCliRequestBuilder + public class CustomWorkflowExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index b851f2d0f7..3d07608e55 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.CustomWorkflowExtensions.Item +{ /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. /// - public class CustomCalloutExtensionItemRequestBuilder : BaseCliRequestBuilder + public class CustomCalloutExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: @@ -63,14 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0"; + command.Description = "Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0"; var accessPackageCatalogIdOption = new Option("--access-package-catalog-id", description: "The unique identifier of accessPackageCatalog") { }; accessPackageCatalogIdOption.IsRequired = true; @@ -213,7 +214,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -253,7 +254,7 @@ public RequestInformation ToPatchRequestInformation(CustomCalloutExtension body, return requestInfo; } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// public class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs index a7dc551e16..213f3e604d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 9cffb379fc..fc2c6b7816 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item +{ /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceRoles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 31c66af5bd..bc146bc5d2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs index b195a3c8af..94d75b69a7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs index 9e93c680e8..82aa0b7882 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 84b6a2dfde..0e5c139b22 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs index 859e642579..8b75e38585 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index b21118bc62..dc7152db56 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 3d82d3973b..aca2a04f71 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 675ed514c7..44ac09e9ff 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 87e69e1b31..1bc34cb6f6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index ee031d009a..8506417fd6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 0d2d6dd5c1..7dc8214eef 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 6a9be2c867..a787938585 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 01ee5a33a1..f873522b40 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs index 8536ad3df5..a25024d2fc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceRoles +{ /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourceRolesRequestBuilder : BaseCliRequestBuilder + public class ResourceRolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs index ca21588091..f9ec2d2175 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index aebfd53175..82d41ccfc3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item +{ /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceScopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index ba6550793f..263d16a22d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs index fd4c0a33c6..5ab538e49a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 65e1cf2f1d..fa9aece421 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index dee8245557..7794d28bbf 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 804491221b..dd2159301b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 74f6f3fe69..189f3346cd 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 814138913d..9710b6175b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index e9665a9282..b22a83d0a3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index c1a93384e3..ef265bfc1a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs index af533dc405..ec583d794a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs index d05aa03c1a..5554ac6ee4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 2e0d67c098..76742864a5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs index b13a2a698b..6530105515 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs index ce3cad4f09..a2606c5174 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.ResourceScopes +{ /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourceScopesRequestBuilder : BaseCliRequestBuilder + public class ResourceScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs index 198854a92e..b1d5593791 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index 4c393a8248..9b763facd4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resources for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 5d7b8d8f6f..d533285c7b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs index 87ab94dcd8..ea3a6a85c8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index d21fb14e1e..46978738a8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index b974e0cf07..f4a74fc849 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index 84cc241755..5495585355 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index b1e0cbbc24..31530859b4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 127a1721a0..4832b789c2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index b5d0b11e36..93d4294b0e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 51ffabd960..97820a4aae 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 13522700d8..2659662b81 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs index 2f2a5790ea..a738902dd8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs index 523cfec1b0..c79af82570 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index dd81e0be36..269da069dd 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index b42b570fb7..ca72e18c99 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 45e8beffc7..07a9e72190 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 7c54e5129c..2a5ded64ed 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 1de9646809..e0ae4cb5dc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index c2c59dd425..02b727a6ab 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 8af8de6391..49037e53c1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index b9e95f001f..d60b9dad0a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs index 0952bbe0b6..e17fb2ed91 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources.Item.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs index 170aeeb9fd..df00e3ea86 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Catalogs.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. @@ -197,7 +198,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs index c9b0983727..0c63a278b1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations +{ /// /// Provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. /// - public class ConnectedOrganizationsRequestBuilder : BaseCliRequestBuilder + public class ConnectedOrganizationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs index 0f06b4fab0..babd8bf9b8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs index 53b36576d7..d4019811a5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item +{ /// /// Provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. /// - public class ConnectedOrganizationItemRequestBuilder : BaseCliRequestBuilder + public class ConnectedOrganizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete a connectedOrganization object. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs index 3b2ff006a7..726d93b016 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs index 79577dd33e..6b060e3697 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors +{ /// /// Provides operations to manage the externalSponsors property of the microsoft.graph.connectedOrganization entity. /// - public class ExternalSponsorsRequestBuilder : BaseCliRequestBuilder + public class ExternalSponsorsRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.identityGovernance.entitlementManagement.connectedOrganizations.item.externalSponsors.item collection @@ -52,14 +53,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. - /// Find more info here + /// Get externalSponsors from identityGovernance /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0"; + command.Description = "Get externalSponsors from identityGovernance"; var connectedOrganizationIdOption = new Option("--connected-organization-id", description: "The unique identifier of connectedOrganization") { }; connectedOrganizationIdOption.IsRequired = true; @@ -141,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -186,7 +188,7 @@ public ExternalSponsorsRequestBuilder(string rawUrl) : base("{+baseurl}/identity { } /// - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get externalSponsors from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +207,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get externalSponsors from identityGovernance /// public class ExternalSponsorsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs index 78675a2c28..2080790ccb 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Item +{ /// /// Builds and executes requests for operations under \identityGovernance\entitlementManagement\connectedOrganizations\{connectedOrganization-id}\externalSponsors\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of identityGovernance entities. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs index 45879f3f3a..ee7be37bf0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Item.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Item.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs index ce19d36a6c..4db94567d3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.ExternalSponsors.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -63,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. - /// Find more info here + /// Get ref of externalSponsors from identityGovernance /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0"; + command.Description = "Get ref of externalSponsors from identityGovernance"; var connectedOrganizationIdOption = new Option("--connected-organization-id", description: "The unique identifier of connectedOrganization") { }; connectedOrganizationIdOption.IsRequired = true; @@ -138,7 +138,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -225,7 +227,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get ref of externalSponsors from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -281,7 +283,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get ref of externalSponsors from identityGovernance /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs index e91d7ccfff..47e18392a4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs index 466517f96a..d8bad210d4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors +{ /// /// Provides operations to manage the internalSponsors property of the microsoft.graph.connectedOrganization entity. /// - public class InternalSponsorsRequestBuilder : BaseCliRequestBuilder + public class InternalSponsorsRequestBuilder : BaseCliRequestBuilder { /// /// Gets an item from the ApiSdk.identityGovernance.entitlementManagement.connectedOrganizations.item.internalSponsors.item collection @@ -52,14 +53,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. - /// Find more info here + /// Get internalSponsors from identityGovernance /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0"; + command.Description = "Get internalSponsors from identityGovernance"; var connectedOrganizationIdOption = new Option("--connected-organization-id", description: "The unique identifier of connectedOrganization") { }; connectedOrganizationIdOption.IsRequired = true; @@ -141,7 +141,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -186,7 +188,7 @@ public InternalSponsorsRequestBuilder(string rawUrl) : base("{+baseurl}/identity { } /// - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get internalSponsors from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +207,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get internalSponsors from identityGovernance /// public class InternalSponsorsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs index ed7ed96b5f..6bdeccca91 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Text; using System.Threading.Tasks; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Item +{ /// /// Builds and executes requests for operations under \identityGovernance\entitlementManagement\connectedOrganizations\{connectedOrganization-id}\internalSponsors\{directoryObject-id} /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of identityGovernance entities. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs index d6c9bc96d8..80cd7c570b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Item.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Item.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs index 6682d80339..a4feed3444 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref +{ /// /// Provides operations to manage the collection of identityGovernance entities. /// - public class RefRequestBuilder : BaseCliRequestBuilder + public class RefRequestBuilder : BaseCliRequestBuilder { /// /// Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -63,14 +64,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. - /// Find more info here + /// Get ref of internalSponsors from identityGovernance /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0"; + command.Description = "Get ref of internalSponsors from identityGovernance"; var connectedOrganizationIdOption = new Option("--connected-organization-id", description: "The unique identifier of connectedOrganization") { }; connectedOrganizationIdOption.IsRequired = true; @@ -138,7 +138,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -225,7 +227,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get ref of internalSponsors from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -281,7 +283,7 @@ public class RefRequestBuilderDeleteQueryParameters #endif } /// - /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + /// Get ref of internalSponsors from identityGovernance /// public class RefRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index dd55206138..1e85dd6963 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -26,11 +26,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement { +namespace ApiSdk.IdentityGovernance.EntitlementManagement +{ /// /// Provides operations to manage the entitlementManagement property of the microsoft.graph.identityGovernance entity. /// - public class EntitlementManagementRequestBuilder : BaseCliRequestBuilder + public class EntitlementManagementRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs index 809d28cbf8..441f108502 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs index 366ad0f744..94e8eb4943 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item +{ /// /// Provides operations to manage the resourceEnvironments property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageResourceEnvironmentItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceEnvironmentItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceEnvironments for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs index 16cfd73dc1..4e8ccf1de0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index 95c7587394..0c085eb70d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageResourceEnvironment entity. /// - public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resources for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index f3147d3c9a..4ac71f86d6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs index 9b1115763c..ea8e726178 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 5aadb8627b..d2a9337700 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 43ef21b66b..fac999a5d2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index 2b9571a272..380ad912fa 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index dcb050768d..7548f161c9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 36cb4b2cd4..8cd7149a61 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index d480d32973..57723c0721 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index d7481235d0..3a80098991 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index ad1a882b9b..ba7a7ff779 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs index bc21317fe3..c176f1686a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs index 933a09dadd..219bf9c4c0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index d72332f7d9..bcdb7a1547 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 7d7568f040..3292c8f61c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index f19a8cef10..c6be1e203c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 858c12661e..96e08766c3 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index dafd42e584..693add3ab5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index ae8162bc0b..2dcb4567de 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index a35bfa8ff6..a4ff962f63 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 5d35759959..64c8c0d701 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs index a2501e1f0f..e69ff1cbd0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources.Item.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs index 7576516487..d330486b6d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments.Item.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageResourceEnvironment entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageResourceEnvironment entity. @@ -196,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs index 6cf6b30a74..e226b40ad1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceEnvironments +{ /// /// Provides operations to manage the resourceEnvironments property of the microsoft.graph.entitlementManagement entity. /// - public class ResourceEnvironmentsRequestBuilder : BaseCliRequestBuilder + public class ResourceEnvironmentsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceEnvironments property of the microsoft.graph.entitlementManagement entity. @@ -183,7 +184,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs index b92039ad08..b68c4b6d43 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs index f05a9125a8..2c9678bff9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item +{ /// /// Provides operations to manage the resourceRequests property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageResourceRequestItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the catalog property of the microsoft.graph.accessPackageResourceRequest entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs index eedd588492..c64cd78eb8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackagesRequestBuilder : BaseCliRequestBuilder + public class AccessPackagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs index 047eeab4bf..29f98a4a0e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 7984245f94..fdf7a27cd7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.AccessPackages.Item +{ /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageItemRequestBuilder : BaseCliRequestBuilder { /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs index a6d2f8c7a8..a4b6536499 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog +{ /// /// Provides operations to manage the catalog property of the microsoft.graph.accessPackageResourceRequest entity. /// - public class CatalogRequestBuilder : BaseCliRequestBuilder + public class CatalogRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs index f3528baddf..040ea9a1aa 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs index ac9199e782..3cfa5fdda6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions +{ /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. /// - public class CustomWorkflowExtensionsRequestBuilder : BaseCliRequestBuilder + public class CustomWorkflowExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. @@ -53,14 +54,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. - /// Find more info here + /// Create new navigation property to customWorkflowExtensions for identityGovernance /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackagecatalog-post-accesspackagecustomworkflowextensions?view=graph-rest-1.0"; + command.Description = "Create new navigation property to customWorkflowExtensions for identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -105,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. - /// Find more info here + /// Get customWorkflowExtensions from identityGovernance /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackagecustomworkflowextensions?view=graph-rest-1.0"; + command.Description = "Get customWorkflowExtensions from identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -194,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +221,7 @@ public CustomWorkflowExtensionsRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. + /// Get customWorkflowExtensions from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. + /// Create new navigation property to customWorkflowExtensions for identityGovernance /// /// A /// The request body @@ -260,7 +261,7 @@ public RequestInformation ToPostRequestInformation(CustomCalloutExtension body, return requestInfo; } /// - /// Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. + /// Get customWorkflowExtensions from identityGovernance /// public class CustomWorkflowExtensionsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index d51d4dfe84..ceab96987a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -14,21 +14,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.CustomWorkflowExtensions.Item +{ /// /// Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. /// - public class CustomCalloutExtensionItemRequestBuilder : BaseCliRequestBuilder + public class CustomCalloutExtensionItemRequestBuilder : BaseCliRequestBuilder { /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: - /// Find more info here + /// Delete navigation property customWorkflowExtensions for identityGovernance /// /// A public Command BuildDeleteCommand() { var command = new Command("delete"); - command.Description = "Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0"; + command.Description = "Delete navigation property customWorkflowExtensions for identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -63,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Get customWorkflowExtensions from identityGovernance /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0"; + command.Description = "Get customWorkflowExtensions from identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -122,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the navigation property customWorkflowExtensions in identityGovernance /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Update the properties of an accessPackageAssignmentWorkflowExtension object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property customWorkflowExtensions in identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -194,7 +192,7 @@ public CustomCalloutExtensionItemRequestBuilder(string rawUrl) : base("{+baseurl { } /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Delete navigation property customWorkflowExtensions for identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Get customWorkflowExtensions from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -232,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the navigation property customWorkflowExtensions in identityGovernance /// /// A /// The request body @@ -253,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(CustomCalloutExtension body, return requestInfo; } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Get customWorkflowExtensions from identityGovernance /// public class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs index 24b0a5ed0c..6aed72e8db 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index bda0947bc5..f3a59656f9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item +{ /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceRoles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 88198addbd..689898d965 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs index 9ff83bbae7..4ccc08d50f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs index c2b3e01c3b..dd27832523 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 49e3a28873..ca7536ac84 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs index 97613b2ff5..bae7a435e8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 03e0d3d565..2edad7dc3d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 18d45a1a7f..b688a4cdde 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 2c8d7808a3..957956bcca 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index c121941f90..5655b5951e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 18f1cbfc7f..2974e06951 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 4fe84b2a5f..925dfc5b2d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index c2d0ffcc5c..2100422428 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs index babe19e421..f2764a1bc4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs index b544056235..357439d2b8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceRoles +{ /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourceRolesRequestBuilder : BaseCliRequestBuilder + public class ResourceRolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceRoles property of the microsoft.graph.accessPackageCatalog entity. @@ -106,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. - /// Find more info here + /// Get resourceRoles from identityGovernance /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackagecatalog-list-resourceroles?view=graph-rest-1.0"; + command.Description = "Get resourceRoles from identityGovernance"; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -195,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -221,7 +223,7 @@ public ResourceRolesRequestBuilder(string rawUrl) : base("{+baseurl}/identityGov { } /// - /// Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. + /// Get resourceRoles from identityGovernance /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -261,7 +263,7 @@ public RequestInformation ToPostRequestInformation(AccessPackageResourceRole bod return requestInfo; } /// - /// Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. + /// Get resourceRoles from identityGovernance /// public class ResourceRolesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs index 45a1e8e754..03c6cd74f0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 1c4221a22f..aa3add91b9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item +{ /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceScopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 23319cee86..7fe914cf79 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs index 01fac03ec6..98a5ef392a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index db802d3165..396bf5811c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 6ae12acdd5..57cc2b59a5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 332c561d0a..d5fd845ee4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 8bbf68c0a2..64b1c7ff1a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 78238c1f50..70eeef6076 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 4e3c320214..1b0bd5ef61 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 8d308b080e..4423a12c6d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -216,7 +217,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs index e6179e1521..b9908e811e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs index c8805eb9aa..6d37168bf4 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 3cc5420609..58b2d16127 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs index 411080e09e..e41aee1118 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs index 2204c48136..8a39c8dd65 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.ResourceScopes +{ /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourceScopesRequestBuilder : BaseCliRequestBuilder + public class ResourceScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceScopes property of the microsoft.graph.accessPackageCatalog entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs index 1bff90a0e7..9954c88d60 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index 65bb56ef06..7660ba6c4d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. /// - public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resources for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 20d29e5f20..d0a5d741fa 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs index 3541fa5660..6259200aea 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 24a41c7493..51862bb9c0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 5fce9a795d..ecd15867b2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index d9d21561f5..b7a02608e2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 117b0d242e..9a4e4cd15a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 0221abb2c9..3c93673527 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 67a9594119..5f63ceb720 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 383b9811fa..5c8f046996 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 72d45f4ec1..7fbdd1e319 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs index 507c1e4974..5f3a1b0802 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs index f6ce1f1684..e72877a544 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index c6b1c4a583..68b4b54f03 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 8c30fff733..8ef155668b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 7a91d39e3c..ec139b5758 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index a65a0f77ca..7702cc540a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 2b69f0b203..6c29f0d3a9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index b6dd79eb94..a9ce1b3d7c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 36101e09c9..802ef95681 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 2d9abd1513..5223079718 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -218,7 +219,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs index 1bac6acd1b..f1edd895c6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources.Item.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs index c8565f54d4..523bbb632d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Catalog.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.accessPackageCatalog entity. @@ -108,14 +109,13 @@ public Command BuildCreateCommand() return command; } /// - /// Retrieve a list of accessPackageResource objects in an accessPackageCatalog. - /// Find more info here + /// Access package resources in this catalog. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Retrieve a list of accessPackageResource objects in an accessPackageCatalog.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accesspackagecatalog-list-resources?view=graph-rest-1.0"; + command.Description = "Access package resources in this catalog."; var accessPackageResourceRequestIdOption = new Option("--access-package-resource-request-id", description: "The unique identifier of accessPackageResourceRequest") { }; accessPackageResourceRequestIdOption.IsRequired = true; @@ -197,7 +197,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -223,7 +225,7 @@ public ResourcesRequestBuilder(string rawUrl) : base("{+baseurl}/identityGoverna { } /// - /// Retrieve a list of accessPackageResource objects in an accessPackageCatalog. + /// Access package resources in this catalog. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -263,7 +265,7 @@ public RequestInformation ToPostRequestInformation(AccessPackageResource body, A return requestInfo; } /// - /// Retrieve a list of accessPackageResource objects in an accessPackageCatalog. + /// Access package resources in this catalog. /// public class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 6d1f996878..00bcae84f8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs index 8f63149733..118c718fe7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRequest entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs index 62421551f6..72e5fb8ec1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 5ce3f4bf5a..544870024a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 65a145b094..3ec93d4f26 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 0af644bb06..5694dcc624 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 18a13f4f31..41285eeca6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index e69a70350a..a5077f128e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index eb3dbd9ca3..83712a7a4e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 7e4ae32bc7..1bd2cda4dc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index d178718394..8a433df0dd 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs index 5514c5df29..f338a10f97 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 725ad90608..e262f7e780 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index def8e2ce40..0f08a6157e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 07631596c6..7f1e8d91d1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index d3716fcfce..38ba04c11e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index a6ce7d3b81..21afb1295a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index fc93111200..8037ee8ef1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 7c0798e094..6969eb2bb9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 5cc37fdcdd..e5dafa9d45 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 43094de911..4545ba5035 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs index 2cd60148a5..fbd6fd71b2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs index 6a44a8db19..f99a4ebbe2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRequests +{ /// /// Provides operations to manage the resourceRequests property of the microsoft.graph.entitlementManagement entity. /// - public class ResourceRequestsRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceRequests property of the microsoft.graph.entitlementManagement entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs index f69aebefc1..6ad136c077 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs index a42eac9411..66116e6c60 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item +{ /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageResourceRoleScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resourceRoleScopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 7a44b3d317..fb90179d66 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs index 940a87b25b..becbaf98ef 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs index 547d4c0e07..0774171b76 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index b8e340e63f..b7f62741fa 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs index 89b1f4bc3a..dfa69b3b5d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs index 867b923b89..9a93700e07 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index ea2295dac9..6001c81985 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 6acf8875db..3811e5d0f8 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 45afd7a0e9..780c418196 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index f9dee3b168..8f07993ac9 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index e8bcf19c11..e54b13e7a1 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 3b4158d68e..84f70e65d6 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs index e73036613b..30c7fab5d7 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs index 4c6ebbcb7f..1fa695058a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Role +{ /// /// Provides operations to manage the role property of the microsoft.graph.accessPackageResourceRoleScope entity. /// - public class RoleRequestBuilder : BaseCliRequestBuilder + public class RoleRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property role for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 15363e1912..cbe181925f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs index 845c00f12f..9f892681e2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs index 77700dbee8..398b194e9d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 502a626dde..70abe6ac27 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 4564263183..ff5541f1a5 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 5993d2eb82..e90c5de2b0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 43c520b187..0544d38419 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 5600bd1d0c..6ce557aa0c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 7214556544..9bb776f3cc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs index 3898a7a62c..d854f3c210 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs index a5930198ce..1562860493 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 4379c207f1..0e284fcc8e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs index 8b04aca910..0c33890a1a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs index 687bcc5972..27e8158f9d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.Item.Scope +{ /// /// Provides operations to manage the scope property of the microsoft.graph.accessPackageResourceRoleScope entity. /// - public class ScopeRequestBuilder : BaseCliRequestBuilder + public class ScopeRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scope for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs index d0a4653350..5f7a856b9e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.ResourceRoleScopes +{ /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.entitlementManagement entity. /// - public class ResourceRoleScopesRequestBuilder : BaseCliRequestBuilder + public class ResourceRoleScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.entitlementManagement entity. @@ -183,7 +184,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs index 659d5eb011..330c77a17e 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index e30da0103e..37dc8cec0b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item +{ /// /// Provides operations to manage the resources property of the microsoft.graph.entitlementManagement entity. /// - public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resources for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 3235539152..a54d72f94a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs index 61b2331535..771c77910c 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 3e64a2661e..564b761828 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index c337130d34..25a7a950e2 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index 3a086f4d07..f4fa3229c0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 84396d5576..44e8cb824f 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index a5a04a681f..5d101896df 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 5753daeb9c..a7ddf74182 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 0b26fd1c08..1bbf82359a 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index b286f5ff42..3b8a2dc4c0 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles.Item.Resource.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs index fde3d8fc18..81603e6b89 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs index f4114b630d..51b015f588 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 297be4cc32..74a4e9836d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceScopeItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property scopes for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 6f6be41aa9..21a6e31e66 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index aa4deaef14..cb4fa1a359 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceScope entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index dbc68b2388..8df6894a9d 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Count { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 491ad290b5..9c925bc6dc 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder + public class AccessPackageResourceRoleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property roles for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index f2151f8f87..3ee1322148 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource.EnvironmentNamespace +{ /// /// Provides operations to manage the environment property of the microsoft.graph.accessPackageResource entity. /// - public class EnvironmentRequestBuilder : BaseCliRequestBuilder + public class EnvironmentRequestBuilder : BaseCliRequestBuilder { /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 6bdd9f9b4c..d1653e8550 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles.Item.Resource +{ /// /// Provides operations to manage the resource property of the microsoft.graph.accessPackageResourceRole entity. /// - public class ResourceRequestBuilder : BaseCliRequestBuilder + public class ResourceRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property resource for identityGovernance diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index a919d5a113..401aef6e6b 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes.Item.Resource.Roles +{ /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. /// - public class RolesRequestBuilder : BaseCliRequestBuilder + public class RolesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs index f4352675a5..b2c74047eb 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources.Item.Scopes +{ /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. /// - public class ScopesRequestBuilder : BaseCliRequestBuilder + public class ScopesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs index af27e1c28d..ce19a7c835 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Resources +{ /// /// Provides operations to manage the resources property of the microsoft.graph.entitlementManagement entity. /// - public class ResourcesRequestBuilder : BaseCliRequestBuilder + public class ResourcesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the resources property of the microsoft.graph.entitlementManagement entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs b/src/generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs index 4a797944d6..f58781fc49 100644 --- a/src/generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.EntitlementManagement.Settings { +namespace ApiSdk.IdentityGovernance.EntitlementManagement.Settings +{ /// /// Provides operations to manage the settings property of the microsoft.graph.entitlementManagement entity. /// - public class SettingsRequestBuilder : BaseCliRequestBuilder + public class SettingsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property settings for identityGovernance diff --git a/src/generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs b/src/generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs index 76552b9402..86bdab3a1e 100644 --- a/src/generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs +++ b/src/generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance { +namespace ApiSdk.IdentityGovernance +{ /// /// Provides operations to manage the identityGovernance singleton. /// - public class IdentityGovernanceRequestBuilder : BaseCliRequestBuilder + public class IdentityGovernanceRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the accessReviews property of the microsoft.graph.identityGovernance entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs index dcfed1c743..4fffe1869c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs index ce9be3e363..02022bbd78 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions +{ /// /// Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class CustomTaskExtensionsRequestBuilder : BaseCliRequestBuilder + public class CustomTaskExtensionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. @@ -185,7 +186,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs index a7561e4d1e..7f0bbd0ffc 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy +{ /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity. /// - public class CreatedByRequestBuilder : BaseCliRequestBuilder + public class CreatedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user that created the custom task extension.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index fd52269e16..5402172633 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\customTaskExtensions\{customTaskExtension-id}\createdBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 5e37aafce5..eb754d8f1f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 8c337cf95d..9c5c6d8e5f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.CreatedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\customTaskExtensions\{customTaskExtension-id}\createdBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs index 7cf07928cf..6625cd8f3b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item +{ /// /// Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class CustomTaskExtensionItemRequestBuilder : BaseCliRequestBuilder + public class CustomTaskExtensionItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index c7957bb354..a5c2527fa2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy +{ /// /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.customTaskExtension entity. /// - public class LastModifiedByRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user that modified the custom task extension last.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 0fc3e08fcf..cff9b4e71f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\customTaskExtensions\{customTaskExtension-id}\lastModifiedBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index f18408575d..bce56a55ed 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 770d672f80..caae72d7f3 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions.Item.LastModifiedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\customTaskExtensions\{customTaskExtension-id}\lastModifiedBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs index edbc7b79b0..074296fcb1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems +{ /// /// Provides operations to manage the deletedItems property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class DeletedItemsRequestBuilder : BaseCliRequestBuilder + public class DeletedItemsRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property deletedItems for identityGovernance diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs index 182be66731..cd47dba41b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs index 491e26e521..2ca8d8520e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy +{ /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class CreatedByRequestBuilder : BaseCliRequestBuilder + public class CreatedByRequestBuilder : BaseCliRequestBuilder { /// /// The user who created the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index d1182c46a9..3b2573bd28 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\createdBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 545dba5623..cdf2b21185 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index c052da3e5d..c57d4c6d43 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.CreatedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\createdBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs index 3a4b8f22a0..6f9469300b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs index 7c79d19387..c4e8d6e13b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope +{ /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. /// - public class ExecutionScopeRequestBuilder : BaseCliRequestBuilder + public class ExecutionScopeRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs index 6c55977264..adb6c2adc0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.ExecutionScope.Item +{ /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 8177e854c0..4aed1073f9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy +{ /// /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class LastModifiedByRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index a73994f78c..1a4427c197 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\lastModifiedBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 60240f84f5..d5d0f654fa 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index fcd38f89c1..e4718c203e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\lastModifiedBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs index 30376c1706..f2de717086 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate { - public class ActivatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate +{ + #pragma warning disable CS1591 + public class ActivatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"subjects", n => { Subjects = n.GetCollectionOfObjectValues(ApiSdk.Models.User.CreateFromDiscriminatorValue)?.ToList(); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(ApiSdk.Models.User.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs index c9d452df83..1085170861 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate +{ /// /// Provides operations to call the activate method. /// - public class MicrosoftGraphIdentityGovernanceActivateRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceActivateRequestBuilder : BaseCliRequestBuilder { /// /// Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs index 8db1ef9ec6..b2428ffc23 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion { - public class CreateNewVersionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion +{ + #pragma warning disable CS1591 + public class CreateNewVersionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"workflow", n => { Workflow = n.GetObjectValue(ApiSdk.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue); } }, + { "workflow", n => { Workflow = n.GetObjectValue(ApiSdk.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs index 63c60c3350..2a11173632 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion +{ /// /// Provides operations to call the createNewVersion method. /// - public class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder : BaseCliRequestBuilder { /// /// Create a new version of the workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs index 61a61c3cae..e0904877ca 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore +{ /// /// Provides operations to call the restore method. /// - public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs index 1a6ee5eb98..e54227a7c9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs index d69d271bd0..689f5343cb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item +{ /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. /// - public class RunItemRequestBuilder : BaseCliRequestBuilder + public class RunItemRequestBuilder : BaseCliRequestBuilder { /// - /// Read the properties and relationships of a run object. - /// Find more info here + /// Workflow runs. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a run object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-1.0"; + command.Description = "Workflow runs."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -149,7 +149,7 @@ public RunItemRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernanc { } /// - /// Read the properties and relationships of a run object. + /// Workflow runs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -168,7 +168,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Read the properties and relationships of a run object. + /// Workflow runs. /// public class RunItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 53d2d8ba44..f94c2b6794 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 5c8144445b..beffe4d8d6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 71152eeba5..ca0baa3be0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 95cd6f6b03..c5fc51650b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index d14f329ddc..8f7745374f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 16fd30b17b..2a52d2f462 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index d02118f78d..20e477fd07 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 30e1c55009..7e4b9c7446 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 03626f935f..81d4206dfd 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The related taskProcessingResults. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 3941692af3..a9566e76f0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the taskProcessingResult resources for a run. - /// Find more info here + /// The related taskProcessingResults. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the taskProcessingResult resources for a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The related taskProcessingResults."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the taskProcessingResult resources for a run. + /// The related taskProcessingResults. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the taskProcessingResult resources for a run. + /// The related taskProcessingResults. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs index aac7d001f6..4f211b8b36 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 242f9a125c..878aa8523a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index d9b50ce01f..074d7f05ec 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 40545b63ca..a0153175bb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 7cfb5a1954..f5f4221b4e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 3adbcb8b3b..88957db23b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index d5fc4cd19a..0f3cc592bf 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 663ba74aa7..727636429d 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index a39b4c34ed..9bea0784f0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index abb0fc8160..0b23770c11 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 3b930ba0cf..6659c26de1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 1bbb46ddee..aaf4302788 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index c7f6b1870a..05b6c3716c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index be152c289e..d9b66e230f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The associated individual task execution. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index f118fbe178..76ffc631f6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. - /// Find more info here + /// The associated individual task execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result from a userProcessingResult either directly or through a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual task execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -156,7 +156,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -182,7 +184,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +203,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index dbda7bb06d..10c18afc51 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.Item +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// - /// Get the user processing result of a user processing result of a run. - /// Find more info here + /// The associated individual user execution. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the user processing result of a user processing result of a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0"; + command.Description = "The associated individual user execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -152,7 +152,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Get the user processing result of a user processing result of a run. + /// The associated individual user execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +171,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the user processing result of a user processing result of a run. + /// The associated individual user execution. /// public class UserProcessingResultItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index b4fbb9309f..bda75ed26b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index 1a2ee4183c..608519a7e9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Item.UserProcessingResults +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get user processing results of a workflow run object. - /// Find more info here + /// The associated individual user execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get user processing results of a workflow run object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual user execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -193,7 +195,7 @@ public UserProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get user processing results of a workflow run object. + /// The associated individual user execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -212,7 +214,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get user processing results of a workflow run object. + /// The associated individual user execution. /// public class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 6f7e4066c0..09214c012c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs index b6de5858e5..f7bff7d238 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs +{ /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. /// - public class RunsRequestBuilder : BaseCliRequestBuilder + public class RunsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get a list of the run objects and their properties for a lifecycle workflow. - /// Find more info here + /// Workflow runs. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the run objects and their properties for a lifecycle workflow.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-1.0"; + command.Description = "Workflow runs."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -144,7 +144,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -187,7 +189,7 @@ public RunsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernance/l { } /// - /// Get a list of the run objects and their properties for a lifecycle workflow. + /// Workflow runs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +208,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the run objects and their properties for a lifecycle workflow. + /// Workflow runs. /// public class RunsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs index 447a27e6da..3633ac1fa8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs index d3987e9046..2ceb9be5f0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskDefinition { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskDefinition +{ /// /// Provides operations to manage the taskDefinition property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskDefinitionRequestBuilder : BaseCliRequestBuilder + public class TaskDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs index 76bdab4985..09457713ba 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index e4d24126f4..c58369a7f3 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index f31125f53b..4e01ab4dec 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 6b1fa030fb..f5c71b27f8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index ea9d147d5e..2350a41e33 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\taskReports\{taskReport-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 3873ffd6f2..0ae9187cf4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 65ca33929c..ece4368164 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\taskReports\{taskReport-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 0cd471a1db..4e8fd2e8b9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index ca1189821a..35b8bf8d7a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index ff58ab96c2..5d6655bb89 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The related lifecycle workflow taskProcessingResults. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 3c0a0a4ce2..2e3cf4e612 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result resources from the taskReport. - /// Find more info here + /// The related lifecycle workflow taskProcessingResults. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result resources from the taskReport.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The related lifecycle workflow taskProcessingResults."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result resources from the taskReport. + /// The related lifecycle workflow taskProcessingResults. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result resources from the taskReport. + /// The related lifecycle workflow taskProcessingResults. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs index 930ce7781a..fcb651c600 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.Item +{ /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. /// - public class TaskReportItemRequestBuilder : BaseCliRequestBuilder + public class TaskReportItemRequestBuilder : BaseCliRequestBuilder { /// /// Represents the aggregation of task execution data for tasks within a workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 31bf37971b..e783fdd4de 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs index 48b5dcce15..27a282bdc4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports +{ /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. /// - public class TaskReportsRequestBuilder : BaseCliRequestBuilder + public class TaskReportsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. @@ -56,14 +57,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get a list of the taskReport objects and their properties. - /// Find more info here + /// Represents the aggregation of task execution data for tasks within a workflow object. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the taskReport objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-1.0"; + command.Description = "Represents the aggregation of task execution data for tasks within a workflow object."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -145,7 +145,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -188,7 +190,7 @@ public TaskReportsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGover { } /// - /// Get a list of the taskReport objects and their properties. + /// Represents the aggregation of task execution data for tasks within a workflow object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -207,7 +209,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the taskReport objects and their properties. + /// Represents the aggregation of task execution data for tasks within a workflow object. /// public class TaskReportsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs index 4490cbcdf3..3b91a370ac 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs index 261daede9c..9ca7504f14 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TaskItemRequestBuilder : BaseCliRequestBuilder + public class TaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property tasks for identityGovernance diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 77ae6feae1..bfbb3d54d3 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index b9fea34230..8ddbec31e1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 2cf5ed1566..7c2a837150 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 75e3692278..393331fc60 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 232b1b6f3a..cb51268258 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 20070ec38f..df5ff8ced9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index c3fd39341f..36a9ff3e25 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index e2379a79a7..8a91806897 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index ba261dc034..99e740deee 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The result of processing the task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 1176f92cad..8695e7b63d 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. @@ -149,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs index f4843b81e4..d65d292313 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs index 1f8ad3b62a..ea4f45730e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 1efed61b2d..6ee07cd7cd 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index fba94953ab..2f01881b6f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 524acba4ef..2e1f2512e0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index fca6ff4d0e..ab1b820dea 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 14a0c7a8a1..0f1d88a7aa 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 2349dd4ee7..fc076d12a4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index a83bcbab8c..2f1e41e2e4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 181137c645..485414d0d6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 687b946859..e9f036a96a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index b39f4b2fe0..bc469707e9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index a4e561e1c2..33423f0775 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 98f25fbe8e..2b0dd6fd8a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index e52b558065..a6c69604f6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The associated individual task execution. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 65058a4a41..f4074dfbe7 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. - /// Find more info here + /// The associated individual task execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result from a userProcessingResult either directly or through a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual task execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 87dc2cc387..772b7cb090 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.Item +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// Per-user workflow execution results. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 2ba384f48a..3d1a828e9e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index 07f888c34c..3f5bbfb636 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.UserProcessingResults +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the userProcessingResult resources for a workflow. - /// Find more info here + /// Per-user workflow execution results. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the userProcessingResult resources for a workflow.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-1.0"; + command.Description = "Per-user workflow execution results."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -144,7 +144,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -187,7 +189,7 @@ public UserProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the userProcessingResult resources for a workflow. + /// Per-user workflow execution results. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +208,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the userProcessingResult resources for a workflow. + /// Per-user workflow execution results. /// public class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs index bc1862e020..817b03ef4b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs index 70bf5f878a..56fddbe050 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy +{ /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class CreatedByRequestBuilder : BaseCliRequestBuilder + public class CreatedByRequestBuilder : BaseCliRequestBuilder { /// /// The user who created the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index faf5be78d9..9daa720ad9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\createdBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 43a3426fea..5b83542a89 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index cd1463d1be..237a0fef01 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\createdBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index bf724bbaf1..a7a1b877d0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy +{ /// /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class LastModifiedByRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index f4fb0e124f..f145043239 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\lastModifiedBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 00837fbc23..3d4b037881 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 944bdf3a68..02d34de00b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\lastModifiedBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs index dfd554a6e3..5e82bb4577 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs index 7933b185a2..c54784c41e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TaskItemRequestBuilder : BaseCliRequestBuilder + public class TaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property tasks for identityGovernance diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 066bc6516e..bf13258ab0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 224bd2e1da..bcc89a8b42 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index b0276ebf66..f850d1fa07 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 7fd38726da..328f5ec59d 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 2b2d4cff7d..434dc0a8b8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index ca5530ef3a..4ff065dff1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\deletedItems\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 77ca82db3e..dc13736768 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 71b0286cab..1a34102e88 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 5a73390426..5016b3e7bc 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The result of processing the task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 5b5636c83b..22f80da498 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. @@ -155,7 +156,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs index a7119b1029..c66d43f9b5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs index 14f0b8dc63..132baa48dc 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. /// - public class WorkflowVersionVersionNumberItemRequestBuilder : BaseCliRequestBuilder + public class WorkflowVersionVersionNumberItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. @@ -48,14 +49,13 @@ public Command BuildCreatedByNavCommand() return command; } /// - /// Read the properties and relationships of a workflowVersion object. - /// Find more info here + /// The workflow versions that are available. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Read the properties and relationships of a workflowVersion object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-1.0"; + command.Description = "The workflow versions that are available."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -172,7 +172,7 @@ public WorkflowVersionVersionNumberItemRequestBuilder(string rawUrl) : base("{+b { } /// - /// Read the properties and relationships of a workflowVersion object. + /// The workflow versions that are available. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -191,7 +191,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Read the properties and relationships of a workflowVersion object. + /// The workflow versions that are available. /// public class WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs index 084a8581c7..07060369a3 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get a list of the workflowVersion objects and their properties. - /// Find more info here + /// The workflow versions that are available. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the workflowVersion objects and their properties.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-1.0"; + command.Description = "The workflow versions that are available."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -144,7 +144,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -170,7 +172,7 @@ public VersionsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernan { } /// - /// Get a list of the workflowVersion objects and their properties. + /// The workflow versions that are available. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +191,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the workflowVersion objects and their properties. + /// The workflow versions that are available. /// public class VersionsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs index 511530e4aa..d0f4124a3e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item +{ /// /// Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. /// - public class WorkflowItemRequestBuilder : BaseCliRequestBuilder + public class WorkflowItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs index 5928c4d908..396b5dc4d5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows +{ /// /// Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. /// - public class WorkflowsRequestBuilder : BaseCliRequestBuilder + public class WorkflowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. @@ -147,7 +148,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs index dfb946fb73..d69fc3bd83 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs @@ -20,11 +20,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows +{ /// /// Provides operations to manage the lifecycleWorkflows property of the microsoft.graph.identityGovernance entity. /// - public class LifecycleWorkflowsRequestBuilder : BaseCliRequestBuilder + public class LifecycleWorkflowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs index 8a275c86c6..34bd24af0e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Settings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Settings +{ /// /// Provides operations to manage the settings property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class SettingsRequestBuilder : BaseCliRequestBuilder + public class SettingsRequestBuilder : BaseCliRequestBuilder { /// /// Read the properties and relationships of a lifecycleManagementSettings object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs index 2e32e7af54..ec7df47c31 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs index 13c86b1ae5..658ea1babb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.Item +{ /// /// Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class TaskDefinitionItemRequestBuilder : BaseCliRequestBuilder + public class TaskDefinitionItemRequestBuilder : BaseCliRequestBuilder { /// /// Read the details of a built-in workflow task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs index ed24dd3c47..d3810b2be8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.TaskDefinitions +{ /// /// Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class TaskDefinitionsRequestBuilder : BaseCliRequestBuilder + public class TaskDefinitionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. @@ -134,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs index fadab8e3b6..e12537e949 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs index c034789bd7..9abd953dc9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs index 0b8f64c0b1..5945208e54 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. /// - public class TaskItemRequestBuilder : BaseCliRequestBuilder + public class TaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 648307b7ec..59ff6929ed 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 87e81bd4dc..96ba3542b8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 18643037e5..6583d2238b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 12e1e31d22..e467b3538c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflowTemplates\{workflowTemplate-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 940985c6ae..f4faf6079f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 5cf8e08df8..c0dbf46a38 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflowTemplates\{workflowTemplate-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 09b6990821..3e2d57b1f6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 0511e2ec6a..9a4c344c89 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 209a60e84b..242120b2d8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The result of processing the task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 2251e8424b..bed90b1c9f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. @@ -149,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs index 5a02a02b28..3b6cc7dca7 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. @@ -141,7 +142,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs index 79869a9f3d..3f74ef8ddb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates.Item +{ /// /// Provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class WorkflowTemplateItemRequestBuilder : BaseCliRequestBuilder + public class WorkflowTemplateItemRequestBuilder : BaseCliRequestBuilder { /// /// Read the properties and relationships of a workflowTemplate object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs index 6abd58cd40..04f38d0cec 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates +{ /// /// Provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class WorkflowTemplatesRequestBuilder : BaseCliRequestBuilder + public class WorkflowTemplatesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. @@ -136,7 +137,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs index 9ba7a4e203..62e13931d2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs index b7512c57db..c13fd826d9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy +{ /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class CreatedByRequestBuilder : BaseCliRequestBuilder + public class CreatedByRequestBuilder : BaseCliRequestBuilder { /// /// The user who created the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 4fe9bf4e52..61bfa28b96 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\createdBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 52a23feb9c..8cb05844bd 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index f28c34c33e..810b2ceaf2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.CreatedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\createdBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs index 688b0f9acc..ef4ff79437 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs index fe84839f96..5498d71f21 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope +{ /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. /// - public class ExecutionScopeRequestBuilder : BaseCliRequestBuilder + public class ExecutionScopeRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs index 64b24888a1..f3d96333a7 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.ExecutionScope.Item +{ /// /// Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index cc65fe8c9c..992d2ebb9a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy +{ /// /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class LastModifiedByRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 29f71622fe..b8f563d8bf 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\lastModifiedBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index c61fbe7830..c707c86e45 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e3bc0a0f70..bddb88fb13 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\lastModifiedBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs index 1086197284..ff03768502 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/ActivatePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate { - public class ActivatePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate +{ + #pragma warning disable CS1591 + public class ActivatePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"subjects", n => { Subjects = n.GetCollectionOfObjectValues(ApiSdk.Models.User.CreateFromDiscriminatorValue)?.ToList(); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(ApiSdk.Models.User.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs index af4b218770..0c55a5396c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate +{ /// /// Provides operations to call the activate method. /// - public class MicrosoftGraphIdentityGovernanceActivateRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceActivateRequestBuilder : BaseCliRequestBuilder { /// /// Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs index 27478f3810..2ad82c7fdb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/CreateNewVersionPostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion { - public class CreateNewVersionPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion +{ + #pragma warning disable CS1591 + public class CreateNewVersionPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -43,7 +46,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"workflow", n => { Workflow = n.GetObjectValue(ApiSdk.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue); } }, + { "workflow", n => { Workflow = n.GetObjectValue(ApiSdk.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs index baae2d6f9f..45e66f23be 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion +{ /// /// Provides operations to call the createNewVersion method. /// - public class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder : BaseCliRequestBuilder { /// /// Create a new version of the workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs index a6b061c3cd..357bb37cd2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore +{ /// /// Provides operations to call the restore method. /// - public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseCliRequestBuilder { /// /// Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs index 19e557af01..a9d010e495 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs index 96abc8859c..53d430685b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item +{ /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. /// - public class RunItemRequestBuilder : BaseCliRequestBuilder + public class RunItemRequestBuilder : BaseCliRequestBuilder { /// /// Read the properties and relationships of a run object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 07c574245c..e0bdf6a7e3 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index e33e0f7985..cf47ad0889 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 2a3f06d2fc..1d1f269ae2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index caa8173630..b169bd80a8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 4941932b77..22b8c336d0 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index be74ae9694..174836225e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 78416dd0ac..1ad934eead 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index ae4de49b07..f0b2c23a91 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 67a747ff4f..7424aaa679 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The related taskProcessingResults. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index ee352f352e..c2a0345102 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the taskProcessingResult resources for a run. - /// Find more info here + /// The related taskProcessingResults. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the taskProcessingResult resources for a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The related taskProcessingResults."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the taskProcessingResult resources for a run. + /// The related taskProcessingResults. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the taskProcessingResult resources for a run. + /// The related taskProcessingResults. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs index f216977dc1..e066f1a42f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 41c76e86ce..96ae94d365 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 8b9953589a..3768abf9aa 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 5f534e22d1..61870ea799 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 8fa45ba7cf..6595acde4a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index c0897594d5..812aa0e530 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 1b1aa6af7e..8b54cc3556 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 798f7222c0..693f2c9432 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 6c28638507..ee6dc4c0a2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 50b158269c..c2352870a1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index d85d4ee558..0052dffc4f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\runs\{run-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 2176e3d348..c41727e7df 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 836a4741f0..b3eeb220fc 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 0e1cf07ab2..32694f51f2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The associated individual task execution. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 5f19570a67..333e819647 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. - /// Find more info here + /// The associated individual task execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result from a userProcessingResult either directly or through a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual task execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -156,7 +156,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -182,7 +184,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +203,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index c0fd189b97..65dd33d7e8 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -16,21 +16,21 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.Item +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// - /// Get the user processing result of a user processing result of a run. - /// Find more info here + /// The associated individual user execution. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Get the user processing result of a user processing result of a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0"; + command.Description = "The associated individual user execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -152,7 +152,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl) : base("{+baseurl}/ { } /// - /// Get the user processing result of a user processing result of a run. + /// The associated individual user execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +171,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the user processing result of a user processing result of a run. + /// The associated individual user execution. /// public class UserProcessingResultItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index c812e8d185..5b8cb0aeef 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index be026b3a00..5c829a7c44 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Item.UserProcessingResults +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. /// - public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get user processing results of a workflow run object. - /// Find more info here + /// The associated individual user execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get user processing results of a workflow run object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual user execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -193,7 +195,7 @@ public UserProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get user processing results of a workflow run object. + /// The associated individual user execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -212,7 +214,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get user processing results of a workflow run object. + /// The associated individual user execution. /// public class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 89796b5658..b1fa3cc8e5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs index 2d093bd1d7..9dd9ac64fe 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs +{ /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. /// - public class RunsRequestBuilder : BaseCliRequestBuilder + public class RunsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. @@ -144,7 +145,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs index b43fc182e1..d20e92cb2c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs index 9c4f634e39..98cb27612a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskDefinition { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskDefinition +{ /// /// Provides operations to manage the taskDefinition property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskDefinitionRequestBuilder : BaseCliRequestBuilder + public class TaskDefinitionRequestBuilder : BaseCliRequestBuilder { /// /// The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs index 2404fc393e..8d67aa857b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index d6f10447ce..8133c88ae7 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index d797853de7..6a529d6bf4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 8668aededd..b1794ed33a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index dc10fce1f9..050503ca18 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\taskReports\{taskReport-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index c4bc8899f8..680097474a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 9fb719af0b..8c8fa66873 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\taskReports\{taskReport-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 772504f930..5324ae1513 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index dcab93c00c..129c1b5988 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 7b33a4f30a..c3903aeaef 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The related lifecycle workflow taskProcessingResults. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 82b28d5608..b20ee7f030 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result resources from the taskReport. - /// Find more info here + /// The related lifecycle workflow taskProcessingResults. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result resources from the taskReport.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The related lifecycle workflow taskProcessingResults."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result resources from the taskReport. + /// The related lifecycle workflow taskProcessingResults. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result resources from the taskReport. + /// The related lifecycle workflow taskProcessingResults. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs index 86d9a0b986..f5be8802ef 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.Item +{ /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. /// - public class TaskReportItemRequestBuilder : BaseCliRequestBuilder + public class TaskReportItemRequestBuilder : BaseCliRequestBuilder { /// /// Represents the aggregation of task execution data for tasks within a workflow object. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index a1ce6ef272..55cd61231f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs index 9cc0783715..09bd33240b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports +{ /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. /// - public class TaskReportsRequestBuilder : BaseCliRequestBuilder + public class TaskReportsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. @@ -145,7 +146,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs index f4811c20be..d5bb19d8eb 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs index d781bb159f..ecbf472d6b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TaskItemRequestBuilder : BaseCliRequestBuilder + public class TaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property tasks for identityGovernance @@ -63,13 +64,14 @@ public Command BuildDeleteCommand() return command; } /// - /// The tasks in the workflow. + /// Get a specific task from a workflow or workflowVersion. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "The tasks in the workflow."; + command.Description = "Get a specific task from a workflow or workflowVersion.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-task-get?view=graph-rest-1.0"; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -237,7 +239,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The tasks in the workflow. + /// Get a specific task from a workflow or workflowVersion. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -277,7 +279,7 @@ public RequestInformation ToPatchRequestInformation(TaskObject body, Action - /// The tasks in the workflow. + /// Get a specific task from a workflow or workflowVersion. /// public class TaskItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index e174f95cc1..07f9eaf835 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 90d8edbc15..5b9d80d835 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 47ffe43557..1e044cc08e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 5635f5911c..aa2bcb07df 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 8f039a4c57..3b841e5c16 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 1ddd5ec8ac..3a007e6878 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 3a95f7e939..1a9b653d9c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index df12fdbc3c..e96ed21c49 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index bc95902da6..5102f3c58d 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The result of processing the task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index ab2d3052e4..e1c8e253e4 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. @@ -149,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs index c573e9863e..20784b1624 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. @@ -106,13 +107,14 @@ public Command BuildCreateCommand() return command; } /// - /// The tasks in the workflow. + /// Retrieve the details of the built-in tasks in Lifecycle Workflows. + /// Find more info here /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "The tasks in the workflow."; + command.Description = "Retrieve the details of the built-in tasks in Lifecycle Workflows.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-task?view=graph-rest-1.0"; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -194,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -220,7 +224,7 @@ public TasksRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernance/ { } /// - /// The tasks in the workflow. + /// Retrieve the details of the built-in tasks in Lifecycle Workflows. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +264,7 @@ public RequestInformation ToPostRequestInformation(TaskObject body, Action - /// The tasks in the workflow. + /// Retrieve the details of the built-in tasks in Lifecycle Workflows. /// public class TasksRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs index cadfda3ffd..4e1aa1ea3f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index d022bc8324..91e7d178e2 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 3edba6fc20..2ea306d39e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index c9e20cd8a0..ba9481f8d1 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 6adcaf0c64..4167952041 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index bdfe48ef15..941b2507d5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 0501dde8e4..80a23e4e94 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 056dfde949..3085406511 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 0d32ed6cd2..0b5dc281bc 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 3d07163059..102f99b299 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 18c8d9986c..a0b68c00fd 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\userProcessingResults\{userProcessingResult-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -139,7 +140,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 87475f4735..6df206ef5e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 2b026e5c57..0249c6f33d 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index fe4034fac0..9f90858063 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The associated individual task execution. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 32d69e744d..2e220ca015 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. @@ -55,14 +56,13 @@ public Command BuildCountNavCommand() return command; } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. - /// Find more info here + /// The associated individual task execution. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get the task processing result from a userProcessingResult either directly or through a run.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0"; + command.Description = "The associated individual task execution."; var workflowIdOption = new Option("--workflow-id", description: "The unique identifier of workflow") { }; workflowIdOption.IsRequired = true; @@ -150,7 +150,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -176,7 +178,7 @@ public TaskProcessingResultsRequestBuilder(string rawUrl) : base("{+baseurl}/ide { } /// - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +197,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the task processing result from a userProcessingResult either directly or through a run. + /// The associated individual task execution. /// public class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 541c48fe49..d989ea6529 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.Item +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// Per-user workflow execution results. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index c71a822422..b2e7e73b8c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime +{ /// /// Provides operations to call the summary method. /// - public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder : BaseCliRequestBuilder { /// /// Invoke function summary diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index dc8722cc09..d836f1e15b 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.UserProcessingResults +{ /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. /// - public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class UserProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. @@ -144,7 +145,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs index 1a734bc7c3..4187e4c667 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs index 92416e9841..f595cf63a6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy +{ /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class CreatedByRequestBuilder : BaseCliRequestBuilder + public class CreatedByRequestBuilder : BaseCliRequestBuilder { /// /// The user who created the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 2f4913d22d..961bd02043 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\createdBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index a869e36aa3..85ed637705 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index a2c8672aac..43b497d4ca 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.CreatedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\createdBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 36c153dc44..dcda3d2198 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy +{ /// /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class LastModifiedByRequestBuilder : BaseCliRequestBuilder + public class LastModifiedByRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra identity that last modified the workflow. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 935b2b44a8..8b713a4504 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\lastModifiedBy\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index f94d96a827..4624818c1f 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index bc547e8f0a..ff11de3bb5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.LastModifiedBy.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\lastModifiedBy\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -133,7 +134,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs index 6d562cadc5..0971e6e5e5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs index f89fe79628..626eab5f31 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TaskItemRequestBuilder : BaseCliRequestBuilder + public class TaskItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property tasks for identityGovernance diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index fbf8e100c0..0d17329213 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 341577cf2b..820ea30794 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ /// /// Provides operations to call the resume method. /// - public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder + public class MicrosoftGraphIdentityGovernanceResumeRequestBuilder : BaseCliRequestBuilder { /// /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs index 221b041118..c60850adc9 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/ResumePostRequestBody.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume { - public class ResumePostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.MicrosoftGraphIdentityGovernanceResume +{ + #pragma warning disable CS1591 + public class ResumePostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -59,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "data", n => { Data = n.GetObjectValue(CustomTaskExtensionCallbackData.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 70d8e5fa84..7e07001e08 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.MailboxSettings +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index ab1d0d3c23..b9176b2038 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 194c4a7e81..736105cc75 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\lifecycleWorkflows\workflows\{workflow-id}\versions\{workflowVersion-versionNumber}\tasks\{task-id}\taskProcessingResults\{taskProcessingResult-id}\subject\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -145,7 +146,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index d61e89729f..c07adbc2f6 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.Subject +{ /// /// Provides operations to manage the subject property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class SubjectRequestBuilder : BaseCliRequestBuilder + public class SubjectRequestBuilder : BaseCliRequestBuilder { /// /// The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 17950880a4..7797033d93 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item.TaskNamespace +{ /// /// Provides operations to manage the task property of the microsoft.graph.identityGovernance.taskProcessingResult entity. /// - public class TaskRequestBuilder : BaseCliRequestBuilder + public class TaskRequestBuilder : BaseCliRequestBuilder { /// /// The related workflow task diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 175b01751f..d0fe99be8c 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults.Item +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultItemRequestBuilder : BaseCliRequestBuilder { /// /// The result of processing the task. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index e578b57949..8dcfe86ac5 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks.Item.TaskProcessingResults +{ /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. /// - public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder + public class TaskProcessingResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. @@ -155,7 +156,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs index 9f924866f0..920b90e38a 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item.Tasks +{ /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. /// - public class TasksRequestBuilder : BaseCliRequestBuilder + public class TasksRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs index 70c78a7ce5..879e71842e 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. /// - public class WorkflowVersionVersionNumberItemRequestBuilder : BaseCliRequestBuilder + public class WorkflowVersionVersionNumberItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs index 2b11658f6d..dcf7d84630 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity. @@ -144,7 +145,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs index 7ff415ff20..5d8e722524 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -25,11 +25,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows.Item +{ /// /// Provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class WorkflowItemRequestBuilder : BaseCliRequestBuilder + public class WorkflowItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity. diff --git a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs index 1ba1f4dc1e..415c2d02ea 100644 --- a/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows { +namespace ApiSdk.IdentityGovernance.LifecycleWorkflows.Workflows +{ /// /// Provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. /// - public class WorkflowsRequestBuilder : BaseCliRequestBuilder + public class WorkflowsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. @@ -65,14 +66,14 @@ public Command BuildCountNavCommand() return command; } /// - /// Create a new workflow object. You can create up to 50 workflows in a tenant. + /// Create a new workflow object. You can create up to 100 workflows in a tenant. /// Find more info here /// /// A public Command BuildCreateCommand() { var command = new Command("create"); - command.Description = "Create a new workflow object. You can create up to 50 workflows in a tenant.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows?view=graph-rest-1.0"; + command.Description = "Create a new workflow object. You can create up to 100 workflows in a tenant.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows?view=graph-rest-1.0"; var bodyOption = new Option("--body", description: "The request body") { }; bodyOption.IsRequired = true; @@ -194,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -239,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new workflow object. You can create up to 50 workflows in a tenant. + /// Create a new workflow object. You can create up to 100 workflows in a tenant. /// /// A /// The request body diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.cs index 344646f0b5..ccabe6ba50 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals +{ /// /// Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. /// - public class AssignmentApprovalsRequestBuilder : BaseCliRequestBuilder + public class AssignmentApprovalsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. @@ -200,7 +201,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Count/CountRequestBuilder.cs index ebfc2e705d..82b2756c6b 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 872959fca3..4bc4ca9395 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Approval.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApiSdk.Models.Approval.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index d459fe55af..6b94c5bbe3 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.cs index 98e80783e2..96d2567691 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item +{ /// /// Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. /// - public class ApprovalItemRequestBuilder : BaseCliRequestBuilder + public class ApprovalItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property assignmentApprovals for identityGovernance diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs index 8f07839bb6..8800a6336a 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs index 196bf6c4c3..90525ac798 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages.Item +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder + public class ApprovalStageItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property stages for identityGovernance @@ -62,14 +63,13 @@ public Command BuildDeleteCommand() return command; } /// - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. - /// Find more info here + /// A collection of stages in the approval decision. /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approvalstage-get?view=graph-rest-1.0"; + command.Description = "A collection of stages in the approval decision."; var approvalIdOption = new Option("--approval-id", description: "The unique identifier of approval") { }; approvalIdOption.IsRequired = true; @@ -121,14 +121,13 @@ public Command BuildGetCommand() return command; } /// - /// Approve or deny an approvalStage object in an approval. - /// Find more info here + /// Update the navigation property stages in identityGovernance /// /// A public Command BuildPatchCommand() { var command = new Command("patch"); - command.Description = "Approve or deny an approvalStage object in an approval.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approvalstage-update?view=graph-rest-1.0"; + command.Description = "Update the navigation property stages in identityGovernance"; var approvalIdOption = new Option("--approval-id", description: "The unique identifier of approval") { }; approvalIdOption.IsRequired = true; @@ -212,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. + /// A collection of stages in the approval decision. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +230,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Approve or deny an approvalStage object in an approval. + /// Update the navigation property stages in identityGovernance /// /// A /// The request body @@ -252,7 +251,7 @@ public RequestInformation ToPatchRequestInformation(ApprovalStage body, Action - /// Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. + /// A collection of stages in the approval decision. /// public class ApprovalStageItemRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.cs index 3508494e03..ad2ebb745e 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals.Item.Stages +{ /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. /// - public class StagesRequestBuilder : BaseCliRequestBuilder + public class StagesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the stages property of the microsoft.graph.approval entity. @@ -104,14 +105,13 @@ public Command BuildCreateCommand() return command; } /// - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. - /// Find more info here + /// A collection of stages in the approval decision. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/approval-list-stages?view=graph-rest-1.0"; + command.Description = "A collection of stages in the approval decision."; var approvalIdOption = new Option("--approval-id", description: "The unique identifier of approval") { }; approvalIdOption.IsRequired = true; @@ -193,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -219,7 +221,7 @@ public StagesRequestBuilder(string rawUrl) : base("{+baseurl}/identityGovernance { } /// - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. + /// A collection of stages in the approval decision. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -259,7 +261,7 @@ public RequestInformation ToPostRequestInformation(ApprovalStage body, Action - /// List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. + /// A collection of stages in the approval decision. /// public class StagesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.cs index 3eac3cb796..a26b3045e6 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances +{ /// /// Provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. /// - public class AssignmentScheduleInstancesRequestBuilder : BaseCliRequestBuilder + public class AssignmentScheduleInstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. @@ -203,7 +204,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Count/CountRequestBuilder.cs index 0fb4f73158..fc87e177ba 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 41ffacaf46..832b32651a 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentScheduleInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentScheduleInstance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 45e03bad87..0306bc2d0a 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 00b30becdc..d22843fc4e 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.ActivatedUsing { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.ActivatedUsing +{ /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. /// - public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder + public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder { /// /// When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it is null. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs index c18e7047b6..e07591e103 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 5dd8c5fe0e..2fd1b8c3a7 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 7bfcca824c..67fba09dc9 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\assignmentScheduleInstances\{privilegedAccessGroupAssignmentScheduleInstance-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index 8a34512b0f..4e73dffb02 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.cs index f36db24cca..64adcb1222 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleInstances.Item +{ /// /// Provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleInstance entity. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.cs index 61f2ca43b7..aa240edafc 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests +{ /// /// Provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. /// - public class AssignmentScheduleRequestsRequestBuilder : BaseCliRequestBuilder + public class AssignmentScheduleRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. @@ -206,7 +207,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Count/CountRequestBuilder.cs index 0760a7db93..40d2599921 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 27091609d2..04f83f00ce 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentScheduleRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentScheduleRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 45b4c55ea4..9f1e44363b 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 633eba3da1..9010f343ee 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.ActivatedUsing { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.ActivatedUsing +{ /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. /// - public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder + public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder { /// /// When the request activates a membership or ownership assignment in PIM for groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index 257a74eb2d..08b91b35d4 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Cancel { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// Cancel an access assignment request to a group whose membership and ownership are governed by PIM. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs index 13377e725a..ffc65e3529 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership assignment request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index ab678b7efc..d1285aa246 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e696889df2..4dff61e7e8 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\assignmentScheduleRequests\{privilegedAccessGroupAssignmentScheduleRequest-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index 006afdb0b7..cc86d5f0fc 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs index 8a34b579f3..863d5c42dd 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.cs @@ -19,11 +19,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item +{ /// /// Provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index f2f6eb5387..8f18ead474 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentScheduleRequests.Item.TargetSchedule +{ /// /// Provides operations to manage the targetSchedule property of the microsoft.graph.privilegedAccessGroupAssignmentScheduleRequest entity. /// - public class TargetScheduleRequestBuilder : BaseCliRequestBuilder + public class TargetScheduleRequestBuilder : BaseCliRequestBuilder { /// /// Schedule created by this request. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.cs index b7fd113ffc..d101343039 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules +{ /// /// Provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. /// - public class AssignmentSchedulesRequestBuilder : BaseCliRequestBuilder + public class AssignmentSchedulesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. @@ -203,7 +204,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Count/CountRequestBuilder.cs index 9881c989bf..bd20a83917 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 5eefab129c..d09337fa90 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentSchedule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupAssignmentSchedule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 2f85a34ba2..99494b10f9 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 3e35cca8e9..cdaf448ba4 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.ActivatedUsing { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.ActivatedUsing +{ /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. /// - public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder + public class ActivatedUsingRequestBuilder : BaseCliRequestBuilder { /// /// When the request activates an ownership or membership assignment in PIM for groups, this object represents the eligibility relationship. Otherwise, it's null. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs index 4dfc84f9de..49af86204e 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index b81e413dcb..de90471f02 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e5490e3eb2..8f954bf88b 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\assignmentSchedules\{privilegedAccessGroupAssignmentSchedule-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs index 8d47ccd049..bdb83d40df 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of this membership or ownership assignment request to the group that's governed through PIM. Supports $expand and $select nested in $expand for id only. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.cs index 14b2247419..870c015ffe 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.AssignmentSchedules.Item +{ /// /// Provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the activatedUsing property of the microsoft.graph.privilegedAccessGroupAssignmentSchedule entity. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Count/CountRequestBuilder.cs index 39b8dce0f9..fb22602ba4 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.cs index b52de0b73b..89347ce9d3 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances +{ /// /// Provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. /// - public class EligibilityScheduleInstancesRequestBuilder : BaseCliRequestBuilder + public class EligibilityScheduleInstancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. @@ -202,7 +203,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index d9ba9dd05d..2e1d05f351 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilityScheduleInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilityScheduleInstance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index fb3deb1864..982fcf2cce 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Return instances of membership and ownership eligibility schedules for the calling principal. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Return instances of membership and ownership eligibility schedules for the calling principal.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Return instances of membership and ownership eligibility schedules for the calling principal. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Return instances of membership and ownership eligibility schedules for the calling principal. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs index b715af910e..e5cc56470d 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleInstance entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 221c34bb72..c3395e400f 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 3bdb8e2855..3c9f5e4a3e 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\eligibilityScheduleInstances\{privilegedAccessGroupEligibilityScheduleInstance-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index d4fe7e4787..3454d868f5 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleInstance entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.cs index c366a2b317..5cfdeef94c 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleInstances.Item +{ /// /// Provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property eligibilityScheduleInstances for identityGovernance diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Count/CountRequestBuilder.cs index be02bcfd93..f924b91ae6 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.cs index cd82d12156..b3b7efcf6b 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests +{ /// /// Provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. /// - public class EligibilityScheduleRequestsRequestBuilder : BaseCliRequestBuilder + public class EligibilityScheduleRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. @@ -205,7 +206,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 3798f1cc13..300031e966 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilityScheduleRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilityScheduleRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index afa0b32aa8..1831b2a40c 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// In PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index 638e1cb815..9d39fcf41a 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Cancel { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Cancel +{ /// /// Provides operations to call the cancel method. /// - public class CancelRequestBuilder : BaseCliRequestBuilder + public class CancelRequestBuilder : BaseCliRequestBuilder { /// /// Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs index a0971798c8..1db4fd5327 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 3cbf06464f..76d9a62e1d 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 3bc9212716..7a0fa945c5 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\eligibilityScheduleRequests\{privilegedAccessGroupEligibilityScheduleRequest-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index 5236b4fa3a..a5e428a7b5 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.cs index c6481eeaa0..6a1a54e60c 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item +{ /// /// Provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the cancel method. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index 8a93e03cb6..2b21f6ea2f 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.TargetSchedule { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilityScheduleRequests.Item.TargetSchedule +{ /// /// Provides operations to manage the targetSchedule property of the microsoft.graph.privilegedAccessGroupEligibilityScheduleRequest entity. /// - public class TargetScheduleRequestBuilder : BaseCliRequestBuilder + public class TargetScheduleRequestBuilder : BaseCliRequestBuilder { /// /// Schedule created by this request. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Count/CountRequestBuilder.cs index 9f6278c157..6563b5706d 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.cs index 3c4b3dc145..4f0acff014 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules +{ /// /// Provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. /// - public class EligibilitySchedulesRequestBuilder : BaseCliRequestBuilder + public class EligibilitySchedulesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. @@ -202,7 +203,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs index 375a149058..f9879a3eab 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.FilterByCurrentUserWithOn { - public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.FilterByCurrentUserWithOn +{ + #pragma warning disable CS1591 + public class FilterByCurrentUserWithOnGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilitySchedule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(PrivilegedAccessGroupEligibilitySchedule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 4f813aa4f3..9c1fd39f64 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -13,20 +13,22 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.FilterByCurrentUserWithOn { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.FilterByCurrentUserWithOn +{ /// /// Provides operations to call the filterByCurrentUser method. /// - public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder + public class FilterByCurrentUserWithOnRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function filterByCurrentUser + /// Retrieve schedules of membership and ownership eligibility requests for the calling principal. + /// Find more info here /// /// A public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function filterByCurrentUser"; + command.Description = "Retrieve schedules of membership and ownership eligibility requests for the calling principal.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-filterbycurrentuser?view=graph-rest-1.0"; var onOption = new Option("--on", description: "Usage: on='{on}'") { }; onOption.IsRequired = true; @@ -108,7 +110,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -134,7 +138,7 @@ public FilterByCurrentUserWithOnRequestBuilder(string rawUrl) : base("{+baseurl} { } /// - /// Invoke function filterByCurrentUser + /// Retrieve schedules of membership and ownership eligibility requests for the calling principal. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function filterByCurrentUser + /// Retrieve schedules of membership and ownership eligibility requests for the calling principal. /// public class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs index e8024f861e..686d000f55 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessGroupEligibilitySchedule entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index ee6cf68e86..e3e1ffc56b 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group.ServiceProvisioningErrors.Count { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index cb61dc4ede..632e8eb893 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group.ServiceProvisioningErrors { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Group.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \identityGovernance\privilegedAccess\group\eligibilitySchedules\{privilegedAccessGroupEligibilitySchedule-id}\group\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs index e270fd8756..2f0feecbea 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Principal { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item.Principal +{ /// /// Provides operations to manage the principal property of the microsoft.graph.privilegedAccessGroupEligibilitySchedule entity. /// - public class PrincipalRequestBuilder : BaseCliRequestBuilder + public class PrincipalRequestBuilder : BaseCliRequestBuilder { /// /// References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.cs index bdac41956a..f772cbb275 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group.EligibilitySchedules.Item +{ /// /// Provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. /// - public class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property eligibilitySchedules for identityGovernance diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.cs index d3b185fef6..157dccf416 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.cs @@ -21,11 +21,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess.Group +{ /// /// Provides operations to manage the group property of the microsoft.graph.privilegedAccessRoot entity. /// - public class GroupRequestBuilder : BaseCliRequestBuilder + public class GroupRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. diff --git a/src/generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs b/src/generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs index 211a3e342f..aee5583461 100644 --- a/src/generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs +++ b/src/generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.PrivilegedAccess { +namespace ApiSdk.IdentityGovernance.PrivilegedAccess +{ /// /// Provides operations to manage the privilegedAccess property of the microsoft.graph.identityGovernance entity. /// - public class PrivilegedAccessRequestBuilder : BaseCliRequestBuilder + public class PrivilegedAccessRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property privilegedAccess for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index 9fb0f090e9..a2380531cb 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances { +namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances +{ /// /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. /// - public class AgreementAcceptancesRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. @@ -180,7 +181,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs index 6fad4508ff..4a48c84972 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index a06270f366..087acc723a 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.AgreementAcceptances.Item +{ /// /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. /// - public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property agreementAcceptances for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs index ac5c29c4b6..777eb81cec 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements +{ /// /// Provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. /// - public class AgreementsRequestBuilder : BaseCliRequestBuilder + public class AgreementsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. @@ -186,7 +187,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs index 6d63541b21..b014f6dfe0 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs index a08464749f..176c90d67c 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances +{ /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. /// - public class AcceptancesRequestBuilder : BaseCliRequestBuilder + public class AcceptancesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs index 385ab0a48e..5ac2bab422 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 239782d9fa..757cbc338b 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Acceptances.Item +{ /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. /// - public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder + public class AgreementAcceptanceItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property acceptances for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index 01bfc3ef98..52f3337b14 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item +{ /// /// Provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. /// - public class AgreementItemRequestBuilder : BaseCliRequestBuilder + public class AgreementItemRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the acceptances property of the microsoft.graph.agreement entity. diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs index b5dd67fc36..252d801042 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace +{ /// /// Provides operations to manage the file property of the microsoft.graph.agreement entity. /// - public class FileRequestBuilder : BaseCliRequestBuilder + public class FileRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property file for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs index 07df958690..799879f7ee 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs index bc52e8f3c0..175c4619cc 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item +{ /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. /// - public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property localizations for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs index 7c8ffa2446..eda763f5c5 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index d978bf2645..d3cd354747 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs index 662c9e3acf..eba00a30a4 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs index 1f89bc080f..a3a38d5d11 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.FileNamespace.Localizations +{ /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. /// - public class LocalizationsRequestBuilder : BaseCliRequestBuilder + public class LocalizationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. @@ -106,14 +107,13 @@ public Command BuildCreateCommand() return command; } /// - /// Get a list of the default and localized agreement files. - /// Find more info here + /// The localized version of the terms of use agreement files attached to the agreement. /// /// A public Command BuildListCommand() { var command = new Command("list"); - command.Description = "Get a list of the default and localized agreement files.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0"; + command.Description = "The localized version of the terms of use agreement files attached to the agreement."; var agreementIdOption = new Option("--agreement-id", description: "The unique identifier of agreement") { }; agreementIdOption.IsRequired = true; @@ -195,7 +195,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -221,7 +223,7 @@ public LocalizationsRequestBuilder(string rawUrl) : base("{+baseurl}/identityGov { } /// - /// Get a list of the default and localized agreement files. + /// The localized version of the terms of use agreement files attached to the agreement. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -261,7 +263,7 @@ public RequestInformation ToPostRequestInformation(AgreementFileLocalization bod return requestInfo; } /// - /// Get a list of the default and localized agreement files. + /// The localized version of the terms of use agreement files attached to the agreement. /// public class LocalizationsRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs index 91ef4f5334..2e824e9905 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs index e0b74f0d8d..739b55a28d 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files +{ /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. /// - public class FilesRequestBuilder : BaseCliRequestBuilder + public class FilesRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. @@ -195,7 +196,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs index 9bd028e48b..342ddaa11f 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item +{ /// /// Provides operations to manage the files property of the microsoft.graph.agreement entity. /// - public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileLocalizationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property files for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs index f634959847..0912760f52 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions.Count { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index 1621f8ce50..813b8d969b 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions.Item { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions.Item +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder + public class AgreementFileVersionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property versions for identityGovernance diff --git a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs index 7216c2a51d..af9d2600c7 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions { +namespace ApiSdk.IdentityGovernance.TermsOfUse.Agreements.Item.Files.Item.Versions +{ /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. /// - public class VersionsRequestBuilder : BaseCliRequestBuilder + public class VersionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. @@ -204,7 +205,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs b/src/generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs index 169bc2f24b..7e49483dab 100644 --- a/src/generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs +++ b/src/generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityGovernance.TermsOfUse { +namespace ApiSdk.IdentityGovernance.TermsOfUse +{ /// /// Provides operations to manage the termsOfUse property of the microsoft.graph.identityGovernance entity. /// - public class TermsOfUseRequestBuilder : BaseCliRequestBuilder + public class TermsOfUseRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. diff --git a/src/generated/IdentityProtection/IdentityProtectionRequestBuilder.cs b/src/generated/IdentityProtection/IdentityProtectionRequestBuilder.cs index d5a61cb59e..aa6b86ac54 100644 --- a/src/generated/IdentityProtection/IdentityProtectionRequestBuilder.cs +++ b/src/generated/IdentityProtection/IdentityProtectionRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection { +namespace ApiSdk.IdentityProtection +{ /// /// Provides operations to manage the identityProtectionRoot singleton. /// - public class IdentityProtectionRequestBuilder : BaseCliRequestBuilder + public class IdentityProtectionRequestBuilder : BaseCliRequestBuilder { /// /// Get identityProtection diff --git a/src/generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs index 91f87218a7..c525847aee 100644 --- a/src/generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskDetections.Count { +namespace ApiSdk.IdentityProtection.RiskDetections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index e2e1031c22..2e901beb3d 100644 --- a/src/generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskDetections.Item { +namespace ApiSdk.IdentityProtection.RiskDetections.Item +{ /// /// Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskDetectionItemRequestBuilder : BaseCliRequestBuilder + public class RiskDetectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property riskDetections for identityProtection diff --git a/src/generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs index 48b2253cff..c6242cc855 100644 --- a/src/generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskDetections { +namespace ApiSdk.IdentityProtection.RiskDetections +{ /// /// Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskDetectionsRequestBuilder : BaseCliRequestBuilder + public class RiskDetectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs index 5b62326a5a..36e3ad1766 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.ConfirmCompromised { - public class ConfirmCompromisedPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.ConfirmCompromised +{ + #pragma warning disable CS1591 + public class ConfirmCompromisedPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"servicePrincipalIds", n => { ServicePrincipalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "servicePrincipalIds", n => { ServicePrincipalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs index 0b00920b70..30bb26c3ed 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.ConfirmCompromised { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.ConfirmCompromised +{ /// /// Provides operations to call the confirmCompromised method. /// - public class ConfirmCompromisedRequestBuilder : BaseCliRequestBuilder + public class ConfirmCompromisedRequestBuilder : BaseCliRequestBuilder { /// /// Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs index c816bc7c1d..ea392c2d02 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Count { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissPostRequestBody.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissPostRequestBody.cs index 8b1ecb98a2..4ab9769a89 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissPostRequestBody.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Dismiss { - public class DismissPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Dismiss +{ + #pragma warning disable CS1591 + public class DismissPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"servicePrincipalIds", n => { ServicePrincipalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "servicePrincipalIds", n => { ServicePrincipalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs index d79fca436b..148fc3cd34 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Dismiss { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Dismiss +{ /// /// Provides operations to call the dismiss method. /// - public class DismissRequestBuilder : BaseCliRequestBuilder + public class DismissRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs index 25339b944f..27092c04a2 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History.Count { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs index 6fdcfbc6f5..e43d3b03fa 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History +{ /// /// Provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity. /// - public class HistoryRequestBuilder : BaseCliRequestBuilder + public class HistoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs index da9961ca01..3376a95746 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History.Item { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item.History.Item +{ /// /// Provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity. /// - public class RiskyServicePrincipalHistoryItemItemRequestBuilder : BaseCliRequestBuilder + public class RiskyServicePrincipalHistoryItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property history for identityProtection diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs index c3445ab163..0d8089140f 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals.Item +{ /// /// Provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskyServicePrincipalItemRequestBuilder : BaseCliRequestBuilder + public class RiskyServicePrincipalItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property riskyServicePrincipals for identityProtection diff --git a/src/generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs b/src/generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs index 2aef6f3125..41e42d81fd 100644 --- a/src/generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyServicePrincipals { +namespace ApiSdk.IdentityProtection.RiskyServicePrincipals +{ /// /// Provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskyServicePrincipalsRequestBuilder : BaseCliRequestBuilder + public class RiskyServicePrincipalsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity. @@ -219,7 +220,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs b/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs index 44e0affcfd..99b50e7f50 100644 --- a/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs +++ b/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.ConfirmCompromised { - public class ConfirmCompromisedPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityProtection.RiskyUsers.ConfirmCompromised +{ + #pragma warning disable CS1591 + public class ConfirmCompromisedPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs index 2439d09254..dd867a4129 100644 --- a/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.ConfirmCompromised { +namespace ApiSdk.IdentityProtection.RiskyUsers.ConfirmCompromised +{ /// /// Provides operations to call the confirmCompromised method. /// - public class ConfirmCompromisedRequestBuilder : BaseCliRequestBuilder + public class ConfirmCompromisedRequestBuilder : BaseCliRequestBuilder { /// /// Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. diff --git a/src/generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs index 9c474fa608..9c64a7368d 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Count { +namespace ApiSdk.IdentityProtection.RiskyUsers.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissPostRequestBody.cs b/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissPostRequestBody.cs index 2aecc869ae..306a820bd7 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissPostRequestBody.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissPostRequestBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Dismiss { - public class DismissPostRequestBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.IdentityProtection.RiskyUsers.Dismiss +{ + #pragma warning disable CS1591 + public class DismissPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs index bb012aea49..30ebc5afcc 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Dismiss { +namespace ApiSdk.IdentityProtection.RiskyUsers.Dismiss +{ /// /// Provides operations to call the dismiss method. /// - public class DismissRequestBuilder : BaseCliRequestBuilder + public class DismissRequestBuilder : BaseCliRequestBuilder { /// /// Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. diff --git a/src/generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs index 4513fcc940..4414a48807 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History.Count { +namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs index 9e81a86562..37d18013b5 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History { +namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History +{ /// /// Provides operations to manage the history property of the microsoft.graph.riskyUser entity. /// - public class HistoryRequestBuilder : BaseCliRequestBuilder + public class HistoryRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the history property of the microsoft.graph.riskyUser entity. @@ -193,7 +194,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs index b636587fcd..c44dc4ed55 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History.Item { +namespace ApiSdk.IdentityProtection.RiskyUsers.Item.History.Item +{ /// /// Provides operations to manage the history property of the microsoft.graph.riskyUser entity. /// - public class RiskyUserHistoryItemItemRequestBuilder : BaseCliRequestBuilder + public class RiskyUserHistoryItemItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property history for identityProtection diff --git a/src/generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs index e99616f70f..423ee8df68 100644 --- a/src/generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers.Item { +namespace ApiSdk.IdentityProtection.RiskyUsers.Item +{ /// /// Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskyUserItemRequestBuilder : BaseCliRequestBuilder + public class RiskyUserItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property riskyUsers for identityProtection diff --git a/src/generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index 81982adb1a..18a7a32e2a 100644 --- a/src/generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -18,11 +18,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.RiskyUsers { +namespace ApiSdk.IdentityProtection.RiskyUsers +{ /// /// Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity. /// - public class RiskyUsersRequestBuilder : BaseCliRequestBuilder + public class RiskyUsersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity. @@ -219,7 +220,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs index a6475d8d09..e05de550dd 100644 --- a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections.Count { +namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs index ed98d74df0..a9cefd06fa 100644 --- a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs +++ b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections.Item { +namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections.Item +{ /// /// Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity. /// - public class ServicePrincipalRiskDetectionItemRequestBuilder : BaseCliRequestBuilder + public class ServicePrincipalRiskDetectionItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property servicePrincipalRiskDetections for identityProtection diff --git a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs index 133c708ca4..b2f06b7519 100644 --- a/src/generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs +++ b/src/generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections { +namespace ApiSdk.IdentityProtection.ServicePrincipalRiskDetections +{ /// /// Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity. /// - public class ServicePrincipalRiskDetectionsRequestBuilder : BaseCliRequestBuilder + public class ServicePrincipalRiskDetectionsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity. @@ -181,7 +182,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs b/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs index 6f7a301573..c1d442f62b 100644 --- a/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs +++ b/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesGetResponse.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.IdentityProviders.AvailableProviderTypes { - public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.IdentityProviders.AvailableProviderTypes +{ + #pragma warning disable CS1591 + public class AvailableProviderTypesGetResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index 31928016ca..cdea2e48ea 100644 --- a/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -13,21 +13,23 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProviders.AvailableProviderTypes { +namespace ApiSdk.IdentityProviders.AvailableProviderTypes +{ /// /// Provides operations to call the availableProviderTypes method. /// - public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder + public class AvailableProviderTypesRequestBuilder : BaseCliRequestBuilder { /// - /// Invoke function availableProviderTypes + /// Retrieves all identity provider types available in a directory. + /// Find more info here /// /// A [Obsolete("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider")] public Command BuildGetCommand() { var command = new Command("get"); - command.Description = "Invoke function availableProviderTypes"; + command.Description = "Retrieves all identity provider types available in a directory.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identityprovider-list-availableprovidertypes?view=graph-rest-1.0"; var topOption = new Option("--top", description: "Show only the first n items") { }; topOption.IsRequired = false; @@ -82,7 +84,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; @@ -108,7 +112,7 @@ public AvailableProviderTypesRequestBuilder(string rawUrl) : base("{+baseurl}/id { } /// - /// Invoke function availableProviderTypes + /// Retrieves all identity provider types available in a directory. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -128,7 +132,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function availableProviderTypes + /// Retrieves all identity provider types available in a directory. /// public class AvailableProviderTypesRequestBuilderGetQueryParameters { diff --git a/src/generated/IdentityProviders/Count/CountRequestBuilder.cs b/src/generated/IdentityProviders/Count/CountRequestBuilder.cs index 2afa99f39f..d323f21ea6 100644 --- a/src/generated/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/generated/IdentityProviders/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProviders.Count { +namespace ApiSdk.IdentityProviders.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/generated/IdentityProviders/IdentityProvidersRequestBuilder.cs index a22c1e569c..1b27a07d39 100644 --- a/src/generated/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/generated/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -17,11 +17,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProviders { +namespace ApiSdk.IdentityProviders +{ /// /// Provides operations to manage the collection of identityProvider entities. /// - public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder + public class IdentityProvidersRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to call the availableProviderTypes method. @@ -202,7 +203,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs b/src/generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs index 0288866b00..b46b3e93c6 100644 --- a/src/generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs +++ b/src/generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.IdentityProviders.Item { +namespace ApiSdk.IdentityProviders.Item +{ /// /// Provides operations to manage the collection of identityProvider entities. /// - public class IdentityProviderItemRequestBuilder : BaseCliRequestBuilder + public class IdentityProviderItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete an existing identityProvider. diff --git a/src/generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs b/src/generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs index 82c0d08504..090a69b9e7 100644 --- a/src/generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs +++ b/src/generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.Bitlocker { +namespace ApiSdk.InformationProtection.Bitlocker +{ /// /// Provides operations to manage the bitlocker property of the microsoft.graph.informationProtection entity. /// - public class BitlockerRequestBuilder : BaseCliRequestBuilder + public class BitlockerRequestBuilder : BaseCliRequestBuilder { /// /// Get bitlocker from informationProtection diff --git a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs index 775976f253..80a5e31326 100644 --- a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs +++ b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys.Count { +namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs index c1a664f88a..c5ffd1d1a7 100644 --- a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs +++ b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys.Item { +namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys.Item +{ /// /// Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. /// - public class BitlockerRecoveryKeyItemRequestBuilder : BaseCliRequestBuilder + public class BitlockerRecoveryKeyItemRequestBuilder : BaseCliRequestBuilder { /// /// Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. diff --git a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs index 2cf5d658d0..4c77cdfa8d 100644 --- a/src/generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs +++ b/src/generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys { +namespace ApiSdk.InformationProtection.Bitlocker.RecoveryKeys +{ /// /// Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. /// - public class RecoveryKeysRequestBuilder : BaseCliRequestBuilder + public class RecoveryKeysRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. @@ -134,7 +135,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/InformationProtection/InformationProtectionRequestBuilder.cs b/src/generated/InformationProtection/InformationProtectionRequestBuilder.cs index 69ea1f8164..3558237509 100644 --- a/src/generated/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/generated/InformationProtection/InformationProtectionRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection { +namespace ApiSdk.InformationProtection +{ /// /// Provides operations to manage the informationProtection singleton. /// - public class InformationProtectionRequestBuilder : BaseCliRequestBuilder + public class InformationProtectionRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the bitlocker property of the microsoft.graph.informationProtection entity. diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs index a2b8096990..a092f7f0e1 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Count { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs index baca95b917..0426ddb394 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results.Count { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs index 07ebb0199e..080f6ad774 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results.Item { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results.Item +{ /// /// Provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. /// - public class ThreatAssessmentResultItemRequestBuilder : BaseCliRequestBuilder + public class ThreatAssessmentResultItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property results for informationProtection diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs index 32d5d4c1bc..c9bf59bf09 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item.Results +{ /// /// Provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. /// - public class ResultsRequestBuilder : BaseCliRequestBuilder + public class ResultsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. @@ -192,7 +193,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs index 791a1bccdc..b8b1c2e4b9 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests.Item +{ /// /// Provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. /// - public class ThreatAssessmentRequestItemRequestBuilder : BaseCliRequestBuilder + public class ThreatAssessmentRequestItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete navigation property threatAssessmentRequests for informationProtection diff --git a/src/generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs b/src/generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs index c17010a05a..f03ea2ee84 100644 --- a/src/generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs +++ b/src/generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.InformationProtection.ThreatAssessmentRequests { +namespace ApiSdk.InformationProtection.ThreatAssessmentRequests +{ /// /// Provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. /// - public class ThreatAssessmentRequestsRequestBuilder : BaseCliRequestBuilder + public class ThreatAssessmentRequestsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Invitations/Count/CountRequestBuilder.cs b/src/generated/Invitations/Count/CountRequestBuilder.cs index a4c1ef8887..da4b94af41 100644 --- a/src/generated/Invitations/Count/CountRequestBuilder.cs +++ b/src/generated/Invitations/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Count { +namespace ApiSdk.Invitations.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Invitations/InvitationsRequestBuilder.cs b/src/generated/Invitations/InvitationsRequestBuilder.cs index bb7fb104fa..787ad8ea04 100644 --- a/src/generated/Invitations/InvitationsRequestBuilder.cs +++ b/src/generated/Invitations/InvitationsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations { +namespace ApiSdk.Invitations +{ /// /// Provides operations to manage the collection of invitation entities. /// - public class InvitationsRequestBuilder : BaseCliRequestBuilder + public class InvitationsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the collection of invitation entities. @@ -184,7 +185,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Invitations/Item/InvitationItemRequestBuilder.cs b/src/generated/Invitations/Item/InvitationItemRequestBuilder.cs index a8930c739b..a34286a101 100644 --- a/src/generated/Invitations/Item/InvitationItemRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitationItemRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item { +namespace ApiSdk.Invitations.Item +{ /// /// Provides operations to manage the collection of invitation entities. /// - public class InvitationItemRequestBuilder : BaseCliRequestBuilder + public class InvitationItemRequestBuilder : BaseCliRequestBuilder { /// /// Delete entity from invitations diff --git a/src/generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs index 68ed6adb05..859d056ae9 100644 --- a/src/generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUser { +namespace ApiSdk.Invitations.Item.InvitedUser +{ /// /// Provides operations to manage the invitedUser property of the microsoft.graph.invitation entity. /// - public class InvitedUserRequestBuilder : BaseCliRequestBuilder + public class InvitedUserRequestBuilder : BaseCliRequestBuilder { /// /// The user created as part of the invitation creation. Read-Only diff --git a/src/generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 09e9178768..d60a8d834b 100644 --- a/src/generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUser.MailboxSettings { +namespace ApiSdk.Invitations.Item.InvitedUser.MailboxSettings +{ /// /// Builds and executes requests for operations under \invitations\{invitation-id}\invitedUser\mailboxSettings /// - public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder + public class MailboxSettingsRequestBuilder : BaseCliRequestBuilder { /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. diff --git a/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 1189dbbf4a..f579e2d3d1 100644 --- a/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUser.ServiceProvisioningErrors.Count { +namespace ApiSdk.Invitations.Item.InvitedUser.ServiceProvisioningErrors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 31308a41fe..25b758f5d0 100644 --- a/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -15,11 +15,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUser.ServiceProvisioningErrors { +namespace ApiSdk.Invitations.Item.InvitedUser.ServiceProvisioningErrors +{ /// /// Builds and executes requests for operations under \invitations\{invitation-id}\invitedUser\serviceProvisioningErrors /// - public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder + public class ServiceProvisioningErrorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to count the resources in the collection. @@ -127,7 +128,9 @@ public Command BuildGetCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilder.cs index 13f86c0823..25f7bde089 100644 --- a/src/generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilder.cs @@ -13,11 +13,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUserSponsors.Count { +namespace ApiSdk.Invitations.Item.InvitedUserSponsors.Count +{ /// /// Provides operations to count the resources in the collection. /// - public class CountRequestBuilder : BaseCliRequestBuilder + public class CountRequestBuilder : BaseCliRequestBuilder { /// /// Get the number of the resource diff --git a/src/generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilder.cs index 0144abc930..99d78222be 100644 --- a/src/generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilder.cs @@ -16,11 +16,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUserSponsors { +namespace ApiSdk.Invitations.Item.InvitedUserSponsors +{ /// /// Provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. /// - public class InvitedUserSponsorsRequestBuilder : BaseCliRequestBuilder + public class InvitedUserSponsorsRequestBuilder : BaseCliRequestBuilder { /// /// Provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. @@ -139,7 +140,9 @@ public Command BuildListCommand() var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink"); var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken); var response = pageResponse?.Response; +#nullable enable IOutputFormatter? formatter = null; +#nullable restore if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) { formatter = outputFormatterFactory.GetFormatter(output); response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response; diff --git a/src/generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilder.cs index d2148fb5fc..7223d14fb1 100644 --- a/src/generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -14,11 +14,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace ApiSdk.Invitations.Item.InvitedUserSponsors.Item { +namespace ApiSdk.Invitations.Item.InvitedUserSponsors.Item +{ /// /// Provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. /// - public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder + public class DirectoryObjectItemRequestBuilder : BaseCliRequestBuilder { /// /// The users or groups who are sponsors of the invited user. Sponsors are users and groups that are responsible for guest users' privileges in the tenant and for keeping the guest users' information and access up to date. diff --git a/src/generated/Models/AadUserConversationMember.cs b/src/generated/Models/AadUserConversationMember.cs index 0005a31c86..b9bc3e2944 100644 --- a/src/generated/Models/AadUserConversationMember.cs +++ b/src/generated/Models/AadUserConversationMember.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AadUserConversationMember : ConversationMember, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AadUserConversationMember : ConversationMember, IParsable + #pragma warning restore CS1591 { /// The email address of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -64,10 +67,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"email", n => { Email = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"user", n => { User = n.GetObjectValue(ApiSdk.Models.User.CreateFromDiscriminatorValue); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "user", n => { User = n.GetObjectValue(ApiSdk.Models.User.CreateFromDiscriminatorValue); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AadUserConversationMemberResult.cs b/src/generated/Models/AadUserConversationMemberResult.cs index 694dce67fb..0c198dbe23 100644 --- a/src/generated/Models/AadUserConversationMemberResult.cs +++ b/src/generated/Models/AadUserConversationMemberResult.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AadUserConversationMemberResult : ActionResultPart, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AadUserConversationMemberResult : ActionResultPart, IParsable + #pragma warning restore CS1591 { /// The userId property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"userId", n => { UserId = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AadUserNotificationRecipient.cs b/src/generated/Models/AadUserNotificationRecipient.cs index 2490a9be89..2192c90f20 100644 --- a/src/generated/Models/AadUserNotificationRecipient.cs +++ b/src/generated/Models/AadUserNotificationRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AadUserNotificationRecipient : TeamworkNotificationRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AadUserNotificationRecipient : TeamworkNotificationRecipient, IParsable + #pragma warning restore CS1591 { /// Microsoft Entra user identifier. Use the List users method to get this ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"userId", n => { UserId = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessAction.cs b/src/generated/Models/AccessAction.cs index 28ab6c9363..6a1d70f459 100644 --- a/src/generated/Models/AccessAction.cs +++ b/src/generated/Models/AccessAction.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessAction : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessAction : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackage.cs b/src/generated/Models/AccessPackage.cs index 18bbd4a5a1..830df7ef92 100644 --- a/src/generated/Models/AccessPackage.cs +++ b/src/generated/Models/AccessPackage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackage : Entity, IParsable + #pragma warning restore CS1591 { /// The access packages that are incompatible with this package. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -95,17 +98,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackagesIncompatibleWith", n => { AccessPackagesIncompatibleWith = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignmentPolicies", n => { AssignmentPolicies = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"incompatibleAccessPackages", n => { IncompatibleAccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"incompatibleGroups", n => { IncompatibleGroups = n.GetCollectionOfObjectValues(Group.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isHidden", n => { IsHidden = n.GetBoolValue(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "accessPackagesIncompatibleWith", n => { AccessPackagesIncompatibleWith = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignmentPolicies", n => { AssignmentPolicies = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "incompatibleAccessPackages", n => { IncompatibleAccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "incompatibleGroups", n => { IncompatibleGroups = n.GetCollectionOfObjectValues(Group.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isHidden", n => { IsHidden = n.GetBoolValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAnswer.cs b/src/generated/Models/AccessPackageAnswer.cs index 5e1d10852b..3601fdb002 100644 --- a/src/generated/Models/AccessPackageAnswer.cs +++ b/src/generated/Models/AccessPackageAnswer.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAnswer : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAnswer : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -63,9 +66,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"answeredQuestion", n => { AnsweredQuestion = n.GetObjectValue(AccessPackageQuestion.CreateFromDiscriminatorValue); } }, - {"displayValue", n => { DisplayValue = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "answeredQuestion", n => { AnsweredQuestion = n.GetObjectValue(AccessPackageQuestion.CreateFromDiscriminatorValue); } }, + { "displayValue", n => { DisplayValue = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAnswerChoice.cs b/src/generated/Models/AccessPackageAnswerChoice.cs index e24cd6f5e7..fc1724b3d4 100644 --- a/src/generated/Models/AccessPackageAnswerChoice.cs +++ b/src/generated/Models/AccessPackageAnswerChoice.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAnswerChoice : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAnswerChoice : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The actual value of the selected choice. This is typically a string value which is understandable by applications. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public class AccessPackageAnswerChoice : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// The text property + /// The string to display for this answer; if an Accept-Language header is provided, and there is a matching localization in localizations, this string will be the matching localized string; otherwise, this string remains as the default non-localized string. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Text { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"actualValue", n => { ActualValue = n.GetStringValue(); } }, - {"localizations", n => { Localizations = n.GetCollectionOfObjectValues(AccessPackageLocalizedText.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"text", n => { Text = n.GetStringValue(); } }, + { "actualValue", n => { ActualValue = n.GetStringValue(); } }, + { "localizations", n => { Localizations = n.GetCollectionOfObjectValues(AccessPackageLocalizedText.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAnswerString.cs b/src/generated/Models/AccessPackageAnswerString.cs index 417d88fed3..72f16a667e 100644 --- a/src/generated/Models/AccessPackageAnswerString.cs +++ b/src/generated/Models/AccessPackageAnswerString.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAnswerString : AccessPackageAnswer, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAnswerString : AccessPackageAnswer, IParsable + #pragma warning restore CS1591 { /// The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageApprovalStage.cs b/src/generated/Models/AccessPackageApprovalStage.cs index e772113f04..6a669ae1ac 100644 --- a/src/generated/Models/AccessPackageApprovalStage.cs +++ b/src/generated/Models/AccessPackageApprovalStage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageApprovalStage : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageApprovalStage : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,15 +85,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"durationBeforeAutomaticDenial", n => { DurationBeforeAutomaticDenial = n.GetTimeSpanValue(); } }, - {"durationBeforeEscalation", n => { DurationBeforeEscalation = n.GetTimeSpanValue(); } }, - {"escalationApprovers", n => { EscalationApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"fallbackEscalationApprovers", n => { FallbackEscalationApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"fallbackPrimaryApprovers", n => { FallbackPrimaryApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isApproverJustificationRequired", n => { IsApproverJustificationRequired = n.GetBoolValue(); } }, - {"isEscalationEnabled", n => { IsEscalationEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"primaryApprovers", n => { PrimaryApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "durationBeforeAutomaticDenial", n => { DurationBeforeAutomaticDenial = n.GetTimeSpanValue(); } }, + { "durationBeforeEscalation", n => { DurationBeforeEscalation = n.GetTimeSpanValue(); } }, + { "escalationApprovers", n => { EscalationApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "fallbackEscalationApprovers", n => { FallbackEscalationApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "fallbackPrimaryApprovers", n => { FallbackPrimaryApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isApproverJustificationRequired", n => { IsApproverJustificationRequired = n.GetBoolValue(); } }, + { "isEscalationEnabled", n => { IsEscalationEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "primaryApprovers", n => { PrimaryApprovers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignment.cs b/src/generated/Models/AccessPackageAssignment.cs index 2095ef78e4..9a45e8a58c 100644 --- a/src/generated/Models/AccessPackageAssignment.cs +++ b/src/generated/Models/AccessPackageAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignment : Entity, IParsable + #pragma warning restore CS1591 { /// Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -77,14 +80,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, - {"assignmentPolicy", n => { AssignmentPolicy = n.GetObjectValue(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue); } }, - {"customExtensionCalloutInstances", n => { CustomExtensionCalloutInstances = n.GetCollectionOfObjectValues(CustomExtensionCalloutInstance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"expiredDateTime", n => { ExpiredDateTime = n.GetDateTimeOffsetValue(); } }, - {"schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, - {"target", n => { Target = n.GetObjectValue(AccessPackageSubject.CreateFromDiscriminatorValue); } }, + { "accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, + { "assignmentPolicy", n => { AssignmentPolicy = n.GetObjectValue(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue); } }, + { "customExtensionCalloutInstances", n => { CustomExtensionCalloutInstances = n.GetCollectionOfObjectValues(CustomExtensionCalloutInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "expiredDateTime", n => { ExpiredDateTime = n.GetDateTimeOffsetValue(); } }, + { "schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, + { "target", n => { Target = n.GetObjectValue(AccessPackageSubject.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentApprovalSettings.cs b/src/generated/Models/AccessPackageAssignmentApprovalSettings.cs index 49eb671160..887c38ff5a 100644 --- a/src/generated/Models/AccessPackageAssignmentApprovalSettings.cs +++ b/src/generated/Models/AccessPackageAssignmentApprovalSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentApprovalSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentApprovalSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isApprovalRequiredForAdd", n => { IsApprovalRequiredForAdd = n.GetBoolValue(); } }, - {"isApprovalRequiredForUpdate", n => { IsApprovalRequiredForUpdate = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"stages", n => { Stages = n.GetCollectionOfObjectValues(AccessPackageApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isApprovalRequiredForAdd", n => { IsApprovalRequiredForAdd = n.GetBoolValue(); } }, + { "isApprovalRequiredForUpdate", n => { IsApprovalRequiredForUpdate = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "stages", n => { Stages = n.GetCollectionOfObjectValues(AccessPackageApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentCollectionResponse.cs b/src/generated/Models/AccessPackageAssignmentCollectionResponse.cs index 5c45d7267d..3eb0cfb0f1 100644 --- a/src/generated/Models/AccessPackageAssignmentCollectionResponse.cs +++ b/src/generated/Models/AccessPackageAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentPolicy.cs b/src/generated/Models/AccessPackageAssignmentPolicy.cs index 7fa0a7d8de..152ab086f3 100644 --- a/src/generated/Models/AccessPackageAssignmentPolicy.cs +++ b/src/generated/Models/AccessPackageAssignmentPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// Access package containing this policy. Read-only. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -127,21 +130,21 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, - {"allowedTargetScope", n => { AllowedTargetScope = n.GetEnumValue(); } }, - {"automaticRequestSettings", n => { AutomaticRequestSettings = n.GetObjectValue(AccessPackageAutomaticRequestSettings.CreateFromDiscriminatorValue); } }, - {"catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"customExtensionStageSettings", n => { CustomExtensionStageSettings = n.GetCollectionOfObjectValues(CustomExtensionStageSetting.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"expiration", n => { Expiration = n.GetObjectValue(ExpirationPattern.CreateFromDiscriminatorValue); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"questions", n => { Questions = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requestApprovalSettings", n => { RequestApprovalSettings = n.GetObjectValue(AccessPackageAssignmentApprovalSettings.CreateFromDiscriminatorValue); } }, - {"requestorSettings", n => { RequestorSettings = n.GetObjectValue(AccessPackageAssignmentRequestorSettings.CreateFromDiscriminatorValue); } }, - {"reviewSettings", n => { ReviewSettings = n.GetObjectValue(AccessPackageAssignmentReviewSettings.CreateFromDiscriminatorValue); } }, - {"specificAllowedTargets", n => { SpecificAllowedTargets = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, + { "allowedTargetScope", n => { AllowedTargetScope = n.GetEnumValue(); } }, + { "automaticRequestSettings", n => { AutomaticRequestSettings = n.GetObjectValue(AccessPackageAutomaticRequestSettings.CreateFromDiscriminatorValue); } }, + { "catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customExtensionStageSettings", n => { CustomExtensionStageSettings = n.GetCollectionOfObjectValues(CustomExtensionStageSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "expiration", n => { Expiration = n.GetObjectValue(ExpirationPattern.CreateFromDiscriminatorValue); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "questions", n => { Questions = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requestApprovalSettings", n => { RequestApprovalSettings = n.GetObjectValue(AccessPackageAssignmentApprovalSettings.CreateFromDiscriminatorValue); } }, + { "requestorSettings", n => { RequestorSettings = n.GetObjectValue(AccessPackageAssignmentRequestorSettings.CreateFromDiscriminatorValue); } }, + { "reviewSettings", n => { ReviewSettings = n.GetObjectValue(AccessPackageAssignmentReviewSettings.CreateFromDiscriminatorValue); } }, + { "specificAllowedTargets", n => { SpecificAllowedTargets = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentPolicyCollectionResponse.cs b/src/generated/Models/AccessPackageAssignmentPolicyCollectionResponse.cs index cda1201306..3d7dfc2e2a 100644 --- a/src/generated/Models/AccessPackageAssignmentPolicyCollectionResponse.cs +++ b/src/generated/Models/AccessPackageAssignmentPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequest.cs b/src/generated/Models/AccessPackageAssignmentRequest.cs index 45e9c9dfbd..af732d0fa1 100644 --- a/src/generated/Models/AccessPackageAssignmentRequest.cs +++ b/src/generated/Models/AccessPackageAssignmentRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequest : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequest : Entity, IParsable + #pragma warning restore CS1591 { /// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -89,17 +92,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, - {"answers", n => { Answers = n.GetCollectionOfObjectValues(AccessPackageAnswer.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignment", n => { Assignment = n.GetObjectValue(AccessPackageAssignment.CreateFromDiscriminatorValue); } }, - {"completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"customExtensionCalloutInstances", n => { CustomExtensionCalloutInstances = n.GetCollectionOfObjectValues(CustomExtensionCalloutInstance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requestType", n => { RequestType = n.GetEnumValue(); } }, - {"requestor", n => { Requestor = n.GetObjectValue(AccessPackageSubject.CreateFromDiscriminatorValue); } }, - {"schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "accessPackage", n => { AccessPackage = n.GetObjectValue(ApiSdk.Models.AccessPackage.CreateFromDiscriminatorValue); } }, + { "answers", n => { Answers = n.GetCollectionOfObjectValues(AccessPackageAnswer.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignment", n => { Assignment = n.GetObjectValue(AccessPackageAssignment.CreateFromDiscriminatorValue); } }, + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customExtensionCalloutInstances", n => { CustomExtensionCalloutInstances = n.GetCollectionOfObjectValues(CustomExtensionCalloutInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requestType", n => { RequestType = n.GetEnumValue(); } }, + { "requestor", n => { Requestor = n.GetObjectValue(AccessPackageSubject.CreateFromDiscriminatorValue); } }, + { "schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequestCallbackData.cs b/src/generated/Models/AccessPackageAssignmentRequestCallbackData.cs index beb2bfcd66..7c7ce2b33a 100644 --- a/src/generated/Models/AccessPackageAssignmentRequestCallbackData.cs +++ b/src/generated/Models/AccessPackageAssignmentRequestCallbackData.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequestCallbackData : CustomExtensionData, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequestCallbackData : CustomExtensionData, IParsable + #pragma warning restore CS1591 { /// Details for the callback. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -58,10 +61,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"customExtensionStageInstanceDetail", n => { CustomExtensionStageInstanceDetail = n.GetStringValue(); } }, - {"customExtensionStageInstanceId", n => { CustomExtensionStageInstanceId = n.GetStringValue(); } }, - {"stage", n => { Stage = n.GetEnumValue(); } }, - {"state", n => { State = n.GetStringValue(); } }, + { "customExtensionStageInstanceDetail", n => { CustomExtensionStageInstanceDetail = n.GetStringValue(); } }, + { "customExtensionStageInstanceId", n => { CustomExtensionStageInstanceId = n.GetStringValue(); } }, + { "stage", n => { Stage = n.GetEnumValue(); } }, + { "state", n => { State = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequestCollectionResponse.cs b/src/generated/Models/AccessPackageAssignmentRequestCollectionResponse.cs index 13db78d42b..d20b3f078f 100644 --- a/src/generated/Models/AccessPackageAssignmentRequestCollectionResponse.cs +++ b/src/generated/Models/AccessPackageAssignmentRequestCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequestRequirements.cs b/src/generated/Models/AccessPackageAssignmentRequestRequirements.cs index 66805a8c3b..d389c20a1b 100644 --- a/src/generated/Models/AccessPackageAssignmentRequestRequirements.cs +++ b/src/generated/Models/AccessPackageAssignmentRequestRequirements.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequestRequirements : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequestRequirements : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -88,15 +91,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowCustomAssignmentSchedule", n => { AllowCustomAssignmentSchedule = n.GetBoolValue(); } }, - {"isApprovalRequiredForAdd", n => { IsApprovalRequiredForAdd = n.GetBoolValue(); } }, - {"isApprovalRequiredForUpdate", n => { IsApprovalRequiredForUpdate = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"policyDescription", n => { PolicyDescription = n.GetStringValue(); } }, - {"policyDisplayName", n => { PolicyDisplayName = n.GetStringValue(); } }, - {"policyId", n => { PolicyId = n.GetStringValue(); } }, - {"questions", n => { Questions = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, - {"schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, + { "allowCustomAssignmentSchedule", n => { AllowCustomAssignmentSchedule = n.GetBoolValue(); } }, + { "isApprovalRequiredForAdd", n => { IsApprovalRequiredForAdd = n.GetBoolValue(); } }, + { "isApprovalRequiredForUpdate", n => { IsApprovalRequiredForUpdate = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyDescription", n => { PolicyDescription = n.GetStringValue(); } }, + { "policyDisplayName", n => { PolicyDisplayName = n.GetStringValue(); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "questions", n => { Questions = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequestWorkflowExtension.cs b/src/generated/Models/AccessPackageAssignmentRequestWorkflowExtension.cs index c280a1bff1..127595d87a 100644 --- a/src/generated/Models/AccessPackageAssignmentRequestWorkflowExtension.cs +++ b/src/generated/Models/AccessPackageAssignmentRequestWorkflowExtension.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequestWorkflowExtension : CustomCalloutExtension, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequestWorkflowExtension : CustomCalloutExtension, IParsable + #pragma warning restore CS1591 { /// The callback configuration for a custom extension. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -60,11 +63,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callbackConfiguration", n => { CallbackConfiguration = n.GetObjectValue(CustomExtensionCallbackConfiguration.CreateFromDiscriminatorValue); } }, - {"createdBy", n => { CreatedBy = n.GetStringValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "callbackConfiguration", n => { CallbackConfiguration = n.GetObjectValue(CustomExtensionCallbackConfiguration.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentRequestorSettings.cs b/src/generated/Models/AccessPackageAssignmentRequestorSettings.cs index 73b60bd32b..288c8ad36e 100644 --- a/src/generated/Models/AccessPackageAssignmentRequestorSettings.cs +++ b/src/generated/Models/AccessPackageAssignmentRequestorSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentRequestorSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentRequestorSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -64,15 +67,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowCustomAssignmentSchedule", n => { AllowCustomAssignmentSchedule = n.GetBoolValue(); } }, - {"enableOnBehalfRequestorsToAddAccess", n => { EnableOnBehalfRequestorsToAddAccess = n.GetBoolValue(); } }, - {"enableOnBehalfRequestorsToRemoveAccess", n => { EnableOnBehalfRequestorsToRemoveAccess = n.GetBoolValue(); } }, - {"enableOnBehalfRequestorsToUpdateAccess", n => { EnableOnBehalfRequestorsToUpdateAccess = n.GetBoolValue(); } }, - {"enableTargetsToSelfAddAccess", n => { EnableTargetsToSelfAddAccess = n.GetBoolValue(); } }, - {"enableTargetsToSelfRemoveAccess", n => { EnableTargetsToSelfRemoveAccess = n.GetBoolValue(); } }, - {"enableTargetsToSelfUpdateAccess", n => { EnableTargetsToSelfUpdateAccess = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"onBehalfRequestors", n => { OnBehalfRequestors = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "allowCustomAssignmentSchedule", n => { AllowCustomAssignmentSchedule = n.GetBoolValue(); } }, + { "enableOnBehalfRequestorsToAddAccess", n => { EnableOnBehalfRequestorsToAddAccess = n.GetBoolValue(); } }, + { "enableOnBehalfRequestorsToRemoveAccess", n => { EnableOnBehalfRequestorsToRemoveAccess = n.GetBoolValue(); } }, + { "enableOnBehalfRequestorsToUpdateAccess", n => { EnableOnBehalfRequestorsToUpdateAccess = n.GetBoolValue(); } }, + { "enableTargetsToSelfAddAccess", n => { EnableTargetsToSelfAddAccess = n.GetBoolValue(); } }, + { "enableTargetsToSelfRemoveAccess", n => { EnableTargetsToSelfRemoveAccess = n.GetBoolValue(); } }, + { "enableTargetsToSelfUpdateAccess", n => { EnableTargetsToSelfUpdateAccess = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "onBehalfRequestors", n => { OnBehalfRequestors = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentReviewSettings.cs b/src/generated/Models/AccessPackageAssignmentReviewSettings.cs index 9d61d36c82..b301de5d89 100644 --- a/src/generated/Models/AccessPackageAssignmentReviewSettings.cs +++ b/src/generated/Models/AccessPackageAssignmentReviewSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentReviewSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentReviewSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,15 +79,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expirationBehavior", n => { ExpirationBehavior = n.GetEnumValue(); } }, - {"fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, - {"isRecommendationEnabled", n => { IsRecommendationEnabled = n.GetBoolValue(); } }, - {"isReviewerJustificationRequired", n => { IsReviewerJustificationRequired = n.GetBoolValue(); } }, - {"isSelfReview", n => { IsSelfReview = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"primaryReviewers", n => { PrimaryReviewers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, + { "expirationBehavior", n => { ExpirationBehavior = n.GetEnumValue(); } }, + { "fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "isRecommendationEnabled", n => { IsRecommendationEnabled = n.GetBoolValue(); } }, + { "isReviewerJustificationRequired", n => { IsReviewerJustificationRequired = n.GetBoolValue(); } }, + { "isSelfReview", n => { IsSelfReview = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "primaryReviewers", n => { PrimaryReviewers = n.GetCollectionOfObjectValues(SubjectSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "schedule", n => { Schedule = n.GetObjectValue(EntitlementManagementSchedule.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAssignmentState.cs b/src/generated/Models/AccessPackageAssignmentState.cs index a659e649a1..4fbf195759 100644 --- a/src/generated/Models/AccessPackageAssignmentState.cs +++ b/src/generated/Models/AccessPackageAssignmentState.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageAssignmentState + #pragma warning restore CS1591 { [EnumMember(Value = "delivering")] + #pragma warning disable CS1591 Delivering, + #pragma warning restore CS1591 [EnumMember(Value = "partiallyDelivered")] + #pragma warning disable CS1591 PartiallyDelivered, + #pragma warning restore CS1591 [EnumMember(Value = "delivered")] + #pragma warning disable CS1591 Delivered, + #pragma warning restore CS1591 [EnumMember(Value = "expired")] + #pragma warning disable CS1591 Expired, + #pragma warning restore CS1591 [EnumMember(Value = "deliveryFailed")] + #pragma warning disable CS1591 DeliveryFailed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageAssignmentWorkflowExtension.cs b/src/generated/Models/AccessPackageAssignmentWorkflowExtension.cs index a6a379a448..92b8e00cea 100644 --- a/src/generated/Models/AccessPackageAssignmentWorkflowExtension.cs +++ b/src/generated/Models/AccessPackageAssignmentWorkflowExtension.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAssignmentWorkflowExtension : CustomCalloutExtension, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAssignmentWorkflowExtension : CustomCalloutExtension, IParsable + #pragma warning restore CS1591 { /// The callback configuration for a custom extension. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -60,11 +63,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callbackConfiguration", n => { CallbackConfiguration = n.GetObjectValue(CustomExtensionCallbackConfiguration.CreateFromDiscriminatorValue); } }, - {"createdBy", n => { CreatedBy = n.GetStringValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "callbackConfiguration", n => { CallbackConfiguration = n.GetObjectValue(CustomExtensionCallbackConfiguration.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageAutomaticRequestSettings.cs b/src/generated/Models/AccessPackageAutomaticRequestSettings.cs index ce787a65d5..637ae22f03 100644 --- a/src/generated/Models/AccessPackageAutomaticRequestSettings.cs +++ b/src/generated/Models/AccessPackageAutomaticRequestSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageAutomaticRequestSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageAutomaticRequestSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"gracePeriodBeforeAccessRemoval", n => { GracePeriodBeforeAccessRemoval = n.GetTimeSpanValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"removeAccessWhenTargetLeavesAllowedTargets", n => { RemoveAccessWhenTargetLeavesAllowedTargets = n.GetBoolValue(); } }, - {"requestAccessForAllowedTargets", n => { RequestAccessForAllowedTargets = n.GetBoolValue(); } }, + { "gracePeriodBeforeAccessRemoval", n => { GracePeriodBeforeAccessRemoval = n.GetTimeSpanValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "removeAccessWhenTargetLeavesAllowedTargets", n => { RemoveAccessWhenTargetLeavesAllowedTargets = n.GetBoolValue(); } }, + { "requestAccessForAllowedTargets", n => { RequestAccessForAllowedTargets = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageCatalog.cs b/src/generated/Models/AccessPackageCatalog.cs index 1b2319dfaa..7d9f07592e 100644 --- a/src/generated/Models/AccessPackageCatalog.cs +++ b/src/generated/Models/AccessPackageCatalog.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageCatalog : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageCatalog : Entity, IParsable + #pragma warning restore CS1591 { /// The access packages in this catalog. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -91,18 +94,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackages", n => { AccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"catalogType", n => { CatalogType = n.GetEnumValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"customWorkflowExtensions", n => { CustomWorkflowExtensions = n.GetCollectionOfObjectValues(CustomCalloutExtension.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isExternallyVisible", n => { IsExternallyVisible = n.GetBoolValue(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"resourceRoles", n => { ResourceRoles = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourceScopes", n => { ResourceScopes = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "accessPackages", n => { AccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "catalogType", n => { CatalogType = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customWorkflowExtensions", n => { CustomWorkflowExtensions = n.GetCollectionOfObjectValues(CustomCalloutExtension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isExternallyVisible", n => { IsExternallyVisible = n.GetBoolValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "resourceRoles", n => { ResourceRoles = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourceScopes", n => { ResourceScopes = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageCatalogCollectionResponse.cs b/src/generated/Models/AccessPackageCatalogCollectionResponse.cs index 48dd367101..30b6d9e840 100644 --- a/src/generated/Models/AccessPackageCatalogCollectionResponse.cs +++ b/src/generated/Models/AccessPackageCatalogCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageCatalogCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageCatalogCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageCatalog.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageCatalog.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageCatalogState.cs b/src/generated/Models/AccessPackageCatalogState.cs index a1ac9d84d1..8476ca7f4e 100644 --- a/src/generated/Models/AccessPackageCatalogState.cs +++ b/src/generated/Models/AccessPackageCatalogState.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageCatalogState + #pragma warning restore CS1591 { [EnumMember(Value = "unpublished")] + #pragma warning disable CS1591 Unpublished, + #pragma warning restore CS1591 [EnumMember(Value = "published")] + #pragma warning disable CS1591 Published, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageCatalogType.cs b/src/generated/Models/AccessPackageCatalogType.cs index 291ba71ab0..fb2b52438e 100644 --- a/src/generated/Models/AccessPackageCatalogType.cs +++ b/src/generated/Models/AccessPackageCatalogType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageCatalogType + #pragma warning restore CS1591 { [EnumMember(Value = "userManaged")] + #pragma warning disable CS1591 UserManaged, + #pragma warning restore CS1591 [EnumMember(Value = "serviceDefault")] + #pragma warning disable CS1591 ServiceDefault, + #pragma warning restore CS1591 [EnumMember(Value = "serviceManaged")] + #pragma warning disable CS1591 ServiceManaged, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageCollectionResponse.cs b/src/generated/Models/AccessPackageCollectionResponse.cs index 1bf788ddc2..b516c61249 100644 --- a/src/generated/Models/AccessPackageCollectionResponse.cs +++ b/src/generated/Models/AccessPackageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageCustomExtensionStage.cs b/src/generated/Models/AccessPackageCustomExtensionStage.cs index 7ae236e36a..61c23f863a 100644 --- a/src/generated/Models/AccessPackageCustomExtensionStage.cs +++ b/src/generated/Models/AccessPackageCustomExtensionStage.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageCustomExtensionStage + #pragma warning restore CS1591 { [EnumMember(Value = "assignmentRequestCreated")] + #pragma warning disable CS1591 AssignmentRequestCreated, + #pragma warning restore CS1591 [EnumMember(Value = "assignmentRequestApproved")] + #pragma warning disable CS1591 AssignmentRequestApproved, + #pragma warning restore CS1591 [EnumMember(Value = "assignmentRequestGranted")] + #pragma warning disable CS1591 AssignmentRequestGranted, + #pragma warning restore CS1591 [EnumMember(Value = "assignmentRequestRemoved")] + #pragma warning disable CS1591 AssignmentRequestRemoved, + #pragma warning restore CS1591 [EnumMember(Value = "assignmentFourteenDaysBeforeExpiration")] + #pragma warning disable CS1591 AssignmentFourteenDaysBeforeExpiration, + #pragma warning restore CS1591 [EnumMember(Value = "assignmentOneDayBeforeExpiration")] + #pragma warning disable CS1591 AssignmentOneDayBeforeExpiration, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageExternalUserLifecycleAction.cs b/src/generated/Models/AccessPackageExternalUserLifecycleAction.cs index 327ba54211..c291270c02 100644 --- a/src/generated/Models/AccessPackageExternalUserLifecycleAction.cs +++ b/src/generated/Models/AccessPackageExternalUserLifecycleAction.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageExternalUserLifecycleAction + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "blockSignIn")] + #pragma warning disable CS1591 BlockSignIn, + #pragma warning restore CS1591 [EnumMember(Value = "blockSignInAndDelete")] + #pragma warning disable CS1591 BlockSignInAndDelete, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageLocalizedText.cs b/src/generated/Models/AccessPackageLocalizedText.cs index b93d6df6df..b206db6198 100644 --- a/src/generated/Models/AccessPackageLocalizedText.cs +++ b/src/generated/Models/AccessPackageLocalizedText.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageLocalizedText : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageLocalizedText : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"languageCode", n => { LanguageCode = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"text", n => { Text = n.GetStringValue(); } }, + { "languageCode", n => { LanguageCode = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageMultipleChoiceQuestion.cs b/src/generated/Models/AccessPackageMultipleChoiceQuestion.cs index b26b0fd4d6..6059d0f94d 100644 --- a/src/generated/Models/AccessPackageMultipleChoiceQuestion.cs +++ b/src/generated/Models/AccessPackageMultipleChoiceQuestion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageMultipleChoiceQuestion : AccessPackageQuestion, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageMultipleChoiceQuestion : AccessPackageQuestion, IParsable + #pragma warning restore CS1591 { /// List of answer choices. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"choices", n => { Choices = n.GetCollectionOfObjectValues(AccessPackageAnswerChoice.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isMultipleSelectionAllowed", n => { IsMultipleSelectionAllowed = n.GetBoolValue(); } }, + { "choices", n => { Choices = n.GetCollectionOfObjectValues(AccessPackageAnswerChoice.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isMultipleSelectionAllowed", n => { IsMultipleSelectionAllowed = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageQuestion.cs b/src/generated/Models/AccessPackageQuestion.cs index baf1ceb70d..8d0d4c3eeb 100644 --- a/src/generated/Models/AccessPackageQuestion.cs +++ b/src/generated/Models/AccessPackageQuestion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageQuestion : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageQuestion : Entity, IParsable + #pragma warning restore CS1591 { /// Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest. public bool? IsAnswerEditable { get; set; } @@ -53,11 +56,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isAnswerEditable", n => { IsAnswerEditable = n.GetBoolValue(); } }, - {"isRequired", n => { IsRequired = n.GetBoolValue(); } }, - {"localizations", n => { Localizations = n.GetCollectionOfObjectValues(AccessPackageLocalizedText.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sequence", n => { Sequence = n.GetIntValue(); } }, - {"text", n => { Text = n.GetStringValue(); } }, + { "isAnswerEditable", n => { IsAnswerEditable = n.GetBoolValue(); } }, + { "isRequired", n => { IsRequired = n.GetBoolValue(); } }, + { "localizations", n => { Localizations = n.GetCollectionOfObjectValues(AccessPackageLocalizedText.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sequence", n => { Sequence = n.GetIntValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageQuestionCollectionResponse.cs b/src/generated/Models/AccessPackageQuestionCollectionResponse.cs index c83c607aa9..b4b1e2bb0a 100644 --- a/src/generated/Models/AccessPackageQuestionCollectionResponse.cs +++ b/src/generated/Models/AccessPackageQuestionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageQuestionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageQuestionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageRequestState.cs b/src/generated/Models/AccessPackageRequestState.cs index 51b514367f..c40531805c 100644 --- a/src/generated/Models/AccessPackageRequestState.cs +++ b/src/generated/Models/AccessPackageRequestState.cs @@ -1,28 +1,51 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageRequestState + #pragma warning restore CS1591 { [EnumMember(Value = "submitted")] + #pragma warning disable CS1591 Submitted, + #pragma warning restore CS1591 [EnumMember(Value = "pendingApproval")] + #pragma warning disable CS1591 PendingApproval, + #pragma warning restore CS1591 [EnumMember(Value = "delivering")] + #pragma warning disable CS1591 Delivering, + #pragma warning restore CS1591 [EnumMember(Value = "delivered")] + #pragma warning disable CS1591 Delivered, + #pragma warning restore CS1591 [EnumMember(Value = "deliveryFailed")] + #pragma warning disable CS1591 DeliveryFailed, + #pragma warning restore CS1591 [EnumMember(Value = "denied")] + #pragma warning disable CS1591 Denied, + #pragma warning restore CS1591 [EnumMember(Value = "scheduled")] + #pragma warning disable CS1591 Scheduled, + #pragma warning restore CS1591 [EnumMember(Value = "canceled")] + #pragma warning disable CS1591 Canceled, + #pragma warning restore CS1591 [EnumMember(Value = "partiallyDelivered")] + #pragma warning disable CS1591 PartiallyDelivered, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageRequestType.cs b/src/generated/Models/AccessPackageRequestType.cs index 968520946f..7def2638b0 100644 --- a/src/generated/Models/AccessPackageRequestType.cs +++ b/src/generated/Models/AccessPackageRequestType.cs @@ -1,32 +1,59 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageRequestType + #pragma warning restore CS1591 { [EnumMember(Value = "notSpecified")] + #pragma warning disable CS1591 NotSpecified, + #pragma warning restore CS1591 [EnumMember(Value = "userAdd")] + #pragma warning disable CS1591 UserAdd, + #pragma warning restore CS1591 [EnumMember(Value = "userUpdate")] + #pragma warning disable CS1591 UserUpdate, + #pragma warning restore CS1591 [EnumMember(Value = "userRemove")] + #pragma warning disable CS1591 UserRemove, + #pragma warning restore CS1591 [EnumMember(Value = "adminAdd")] + #pragma warning disable CS1591 AdminAdd, + #pragma warning restore CS1591 [EnumMember(Value = "adminUpdate")] + #pragma warning disable CS1591 AdminUpdate, + #pragma warning restore CS1591 [EnumMember(Value = "adminRemove")] + #pragma warning disable CS1591 AdminRemove, + #pragma warning restore CS1591 [EnumMember(Value = "systemAdd")] + #pragma warning disable CS1591 SystemAdd, + #pragma warning restore CS1591 [EnumMember(Value = "systemUpdate")] + #pragma warning disable CS1591 SystemUpdate, + #pragma warning restore CS1591 [EnumMember(Value = "systemRemove")] + #pragma warning disable CS1591 SystemRemove, + #pragma warning restore CS1591 [EnumMember(Value = "onBehalfAdd")] + #pragma warning disable CS1591 OnBehalfAdd, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageResource.cs b/src/generated/Models/AccessPackageResource.cs index 6c35876e92..7455165c79 100644 --- a/src/generated/Models/AccessPackageResource.cs +++ b/src/generated/Models/AccessPackageResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResource : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResource : Entity, IParsable + #pragma warning restore CS1591 { /// Contains information about the attributes to be collected from the requestor and sent to the resource application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -93,16 +96,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"attributes", n => { Attributes = n.GetCollectionOfObjectValues(AccessPackageResourceAttribute.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"environment", n => { Environment = n.GetObjectValue(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"originId", n => { OriginId = n.GetStringValue(); } }, - {"originSystem", n => { OriginSystem = n.GetStringValue(); } }, - {"roles", n => { Roles = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributes", n => { Attributes = n.GetCollectionOfObjectValues(AccessPackageResourceAttribute.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "environment", n => { Environment = n.GetObjectValue(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "originId", n => { OriginId = n.GetStringValue(); } }, + { "originSystem", n => { OriginSystem = n.GetStringValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceAttribute.cs b/src/generated/Models/AccessPackageResourceAttribute.cs index 2b26bc7bd6..8e908d43cd 100644 --- a/src/generated/Models/AccessPackageResourceAttribute.cs +++ b/src/generated/Models/AccessPackageResourceAttribute.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceAttribute : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceAttribute : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -70,12 +73,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"destination", n => { Destination = n.GetObjectValue(AccessPackageResourceAttributeDestination.CreateFromDiscriminatorValue); } }, - {"isEditable", n => { IsEditable = n.GetBoolValue(); } }, - {"isPersistedOnAssignmentRemoval", n => { IsPersistedOnAssignmentRemoval = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"source", n => { Source = n.GetObjectValue(AccessPackageResourceAttributeSource.CreateFromDiscriminatorValue); } }, + { "destination", n => { Destination = n.GetObjectValue(AccessPackageResourceAttributeDestination.CreateFromDiscriminatorValue); } }, + { "isEditable", n => { IsEditable = n.GetBoolValue(); } }, + { "isPersistedOnAssignmentRemoval", n => { IsPersistedOnAssignmentRemoval = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "source", n => { Source = n.GetObjectValue(AccessPackageResourceAttributeSource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceAttributeDestination.cs b/src/generated/Models/AccessPackageResourceAttributeDestination.cs index 38499e42bd..d3a10add0c 100644 --- a/src/generated/Models/AccessPackageResourceAttributeDestination.cs +++ b/src/generated/Models/AccessPackageResourceAttributeDestination.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceAttributeDestination : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceAttributeDestination : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceAttributeQuestion.cs b/src/generated/Models/AccessPackageResourceAttributeQuestion.cs index d42f528cbf..29b44d0486 100644 --- a/src/generated/Models/AccessPackageResourceAttributeQuestion.cs +++ b/src/generated/Models/AccessPackageResourceAttributeQuestion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceAttributeQuestion : AccessPackageResourceAttributeSource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceAttributeQuestion : AccessPackageResourceAttributeSource, IParsable + #pragma warning restore CS1591 { /// The question property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"question", n => { Question = n.GetObjectValue(AccessPackageQuestion.CreateFromDiscriminatorValue); } }, + { "question", n => { Question = n.GetObjectValue(AccessPackageQuestion.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceAttributeSource.cs b/src/generated/Models/AccessPackageResourceAttributeSource.cs index 751448b017..8f3035eb0e 100644 --- a/src/generated/Models/AccessPackageResourceAttributeSource.cs +++ b/src/generated/Models/AccessPackageResourceAttributeSource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceAttributeSource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceAttributeSource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceCollectionResponse.cs b/src/generated/Models/AccessPackageResourceCollectionResponse.cs index 1ee5f9112e..89d66871b3 100644 --- a/src/generated/Models/AccessPackageResourceCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceEnvironment.cs b/src/generated/Models/AccessPackageResourceEnvironment.cs index 2ba5245957..3d23759347 100644 --- a/src/generated/Models/AccessPackageResourceEnvironment.cs +++ b/src/generated/Models/AccessPackageResourceEnvironment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceEnvironment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceEnvironment : Entity, IParsable + #pragma warning restore CS1591 { /// Connection information of an environment used to connect to a resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -79,15 +82,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"connectionInfo", n => { ConnectionInfo = n.GetObjectValue(ApiSdk.Models.ConnectionInfo.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isDefaultEnvironment", n => { IsDefaultEnvironment = n.GetBoolValue(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"originId", n => { OriginId = n.GetStringValue(); } }, - {"originSystem", n => { OriginSystem = n.GetStringValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "connectionInfo", n => { ConnectionInfo = n.GetObjectValue(ApiSdk.Models.ConnectionInfo.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isDefaultEnvironment", n => { IsDefaultEnvironment = n.GetBoolValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "originId", n => { OriginId = n.GetStringValue(); } }, + { "originSystem", n => { OriginSystem = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceEnvironmentCollectionResponse.cs b/src/generated/Models/AccessPackageResourceEnvironmentCollectionResponse.cs index b688cfb1c3..01679d9e22 100644 --- a/src/generated/Models/AccessPackageResourceEnvironmentCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceEnvironmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceEnvironmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceEnvironmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRequest.cs b/src/generated/Models/AccessPackageResourceRequest.cs index eeff346f9e..fcaf833d0e 100644 --- a/src/generated/Models/AccessPackageResourceRequest.cs +++ b/src/generated/Models/AccessPackageResourceRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRequest : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRequest : Entity, IParsable + #pragma warning restore CS1591 { /// The catalog property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"requestType", n => { RequestType = n.GetEnumValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "catalog", n => { Catalog = n.GetObjectValue(AccessPackageCatalog.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "requestType", n => { RequestType = n.GetEnumValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRequestCollectionResponse.cs b/src/generated/Models/AccessPackageResourceRequestCollectionResponse.cs index 98c7674ee2..4824e98d14 100644 --- a/src/generated/Models/AccessPackageResourceRequestCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceRequestCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRole.cs b/src/generated/Models/AccessPackageResourceRole.cs index 8d19178764..9068c4bff0 100644 --- a/src/generated/Models/AccessPackageResourceRole.cs +++ b/src/generated/Models/AccessPackageResourceRole.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRole : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRole : Entity, IParsable + #pragma warning restore CS1591 { /// A description for the resource role. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -65,11 +68,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"originId", n => { OriginId = n.GetStringValue(); } }, - {"originSystem", n => { OriginSystem = n.GetStringValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "originId", n => { OriginId = n.GetStringValue(); } }, + { "originSystem", n => { OriginSystem = n.GetStringValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRoleCollectionResponse.cs b/src/generated/Models/AccessPackageResourceRoleCollectionResponse.cs index ab1bd4f803..1f6e4de148 100644 --- a/src/generated/Models/AccessPackageResourceRoleCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceRoleCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRoleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRoleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRole.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRoleScope.cs b/src/generated/Models/AccessPackageResourceRoleScope.cs index b50f18311d..52a91511f8 100644 --- a/src/generated/Models/AccessPackageResourceRoleScope.cs +++ b/src/generated/Models/AccessPackageResourceRoleScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRoleScope : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRoleScope : Entity, IParsable + #pragma warning restore CS1591 { /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z public DateTimeOffset? CreatedDateTime { get; set; } @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"role", n => { Role = n.GetObjectValue(AccessPackageResourceRole.CreateFromDiscriminatorValue); } }, - {"scope", n => { Scope = n.GetObjectValue(AccessPackageResourceScope.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "role", n => { Role = n.GetObjectValue(AccessPackageResourceRole.CreateFromDiscriminatorValue); } }, + { "scope", n => { Scope = n.GetObjectValue(AccessPackageResourceScope.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceRoleScopeCollectionResponse.cs b/src/generated/Models/AccessPackageResourceRoleScopeCollectionResponse.cs index 1bcfd928fd..1c6cacccc8 100644 --- a/src/generated/Models/AccessPackageResourceRoleScopeCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceRoleScopeCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceRoleScopeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceRoleScopeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceScope.cs b/src/generated/Models/AccessPackageResourceScope.cs index 1527b1e0c9..f64f8a47d3 100644 --- a/src/generated/Models/AccessPackageResourceScope.cs +++ b/src/generated/Models/AccessPackageResourceScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceScope : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceScope : Entity, IParsable + #pragma warning restore CS1591 { /// The description of the scope. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -67,12 +70,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isRootScope", n => { IsRootScope = n.GetBoolValue(); } }, - {"originId", n => { OriginId = n.GetStringValue(); } }, - {"originSystem", n => { OriginSystem = n.GetStringValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isRootScope", n => { IsRootScope = n.GetBoolValue(); } }, + { "originId", n => { OriginId = n.GetStringValue(); } }, + { "originSystem", n => { OriginSystem = n.GetStringValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(AccessPackageResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessPackageResourceScopeCollectionResponse.cs b/src/generated/Models/AccessPackageResourceScopeCollectionResponse.cs index 356a0f0b82..cd4d0fddbf 100644 --- a/src/generated/Models/AccessPackageResourceScopeCollectionResponse.cs +++ b/src/generated/Models/AccessPackageResourceScopeCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageResourceScopeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageResourceScopeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessPackageResourceScope.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageSubject.cs b/src/generated/Models/AccessPackageSubject.cs index 72fa8c516c..84d65d4909 100644 --- a/src/generated/Models/AccessPackageSubject.cs +++ b/src/generated/Models/AccessPackageSubject.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageSubject : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageSubject : Entity, IParsable + #pragma warning restore CS1591 { /// The connected organization of the subject. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -75,13 +78,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"connectedOrganization", n => { ConnectedOrganization = n.GetObjectValue(ApiSdk.Models.ConnectedOrganization.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"objectId", n => { ObjectId = n.GetStringValue(); } }, - {"onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, - {"principalName", n => { PrincipalName = n.GetStringValue(); } }, - {"subjectType", n => { SubjectType = n.GetEnumValue(); } }, + { "connectedOrganization", n => { ConnectedOrganization = n.GetObjectValue(ApiSdk.Models.ConnectedOrganization.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "objectId", n => { ObjectId = n.GetStringValue(); } }, + { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, + { "principalName", n => { PrincipalName = n.GetStringValue(); } }, + { "subjectType", n => { SubjectType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageSubjectType.cs b/src/generated/Models/AccessPackageSubjectType.cs index a86bcffe63..c33412bdec 100644 --- a/src/generated/Models/AccessPackageSubjectType.cs +++ b/src/generated/Models/AccessPackageSubjectType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessPackageSubjectType + #pragma warning restore CS1591 { [EnumMember(Value = "notSpecified")] + #pragma warning disable CS1591 NotSpecified, + #pragma warning restore CS1591 [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "servicePrincipal")] + #pragma warning disable CS1591 ServicePrincipal, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessPackageTextInputQuestion.cs b/src/generated/Models/AccessPackageTextInputQuestion.cs index 71d44b5ee9..a74f4db9cb 100644 --- a/src/generated/Models/AccessPackageTextInputQuestion.cs +++ b/src/generated/Models/AccessPackageTextInputQuestion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageTextInputQuestion : AccessPackageQuestion, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageTextInputQuestion : AccessPackageQuestion, IParsable + #pragma warning restore CS1591 { /// Indicates whether the answer is in single or multiple line format. public bool? IsSingleLineQuestion { get; set; } @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isSingleLineQuestion", n => { IsSingleLineQuestion = n.GetBoolValue(); } }, - {"regexPattern", n => { RegexPattern = n.GetStringValue(); } }, + { "isSingleLineQuestion", n => { IsSingleLineQuestion = n.GetBoolValue(); } }, + { "regexPattern", n => { RegexPattern = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessPackageUserDirectoryAttributeStore.cs b/src/generated/Models/AccessPackageUserDirectoryAttributeStore.cs index a6939f094d..d71cf29d55 100644 --- a/src/generated/Models/AccessPackageUserDirectoryAttributeStore.cs +++ b/src/generated/Models/AccessPackageUserDirectoryAttributeStore.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessPackageUserDirectoryAttributeStore : AccessPackageResourceAttributeDestination, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessPackageUserDirectoryAttributeStore : AccessPackageResourceAttributeDestination, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AccessReviewApplyAction.cs b/src/generated/Models/AccessReviewApplyAction.cs index 24189dc5bc..deee2d5854 100644 --- a/src/generated/Models/AccessReviewApplyAction.cs +++ b/src/generated/Models/AccessReviewApplyAction.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewApplyAction : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewApplyAction : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,7 +51,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewExpirationBehavior.cs b/src/generated/Models/AccessReviewExpirationBehavior.cs index 403f11e88d..5500c49db4 100644 --- a/src/generated/Models/AccessReviewExpirationBehavior.cs +++ b/src/generated/Models/AccessReviewExpirationBehavior.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessReviewExpirationBehavior + #pragma warning restore CS1591 { [EnumMember(Value = "keepAccess")] + #pragma warning disable CS1591 KeepAccess, + #pragma warning restore CS1591 [EnumMember(Value = "removeAccess")] + #pragma warning disable CS1591 RemoveAccess, + #pragma warning restore CS1591 [EnumMember(Value = "acceptAccessRecommendation")] + #pragma warning disable CS1591 AcceptAccessRecommendation, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessReviewHistoryDecisionFilter.cs b/src/generated/Models/AccessReviewHistoryDecisionFilter.cs index 86bfda74f7..b14149222e 100644 --- a/src/generated/Models/AccessReviewHistoryDecisionFilter.cs +++ b/src/generated/Models/AccessReviewHistoryDecisionFilter.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessReviewHistoryDecisionFilter + #pragma warning restore CS1591 { [EnumMember(Value = "approve")] + #pragma warning disable CS1591 Approve, + #pragma warning restore CS1591 [EnumMember(Value = "deny")] + #pragma warning disable CS1591 Deny, + #pragma warning restore CS1591 [EnumMember(Value = "notReviewed")] + #pragma warning disable CS1591 NotReviewed, + #pragma warning restore CS1591 [EnumMember(Value = "dontKnow")] + #pragma warning disable CS1591 DontKnow, + #pragma warning restore CS1591 [EnumMember(Value = "notNotified")] + #pragma warning disable CS1591 NotNotified, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessReviewHistoryDefinition.cs b/src/generated/Models/AccessReviewHistoryDefinition.cs index b0c8926b0a..dd4a034739 100644 --- a/src/generated/Models/AccessReviewHistoryDefinition.cs +++ b/src/generated/Models/AccessReviewHistoryDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewHistoryDefinition : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewHistoryDefinition : Entity, IParsable + #pragma warning restore CS1591 { /// The createdBy property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -81,16 +84,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"decisions", n => { Decisions = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"instances", n => { Instances = n.GetCollectionOfObjectValues(AccessReviewHistoryInstance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"reviewHistoryPeriodEndDateTime", n => { ReviewHistoryPeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, - {"reviewHistoryPeriodStartDateTime", n => { ReviewHistoryPeriodStartDateTime = n.GetDateTimeOffsetValue(); } }, - {"scheduleSettings", n => { ScheduleSettings = n.GetObjectValue(AccessReviewHistoryScheduleSettings.CreateFromDiscriminatorValue); } }, - {"scopes", n => { Scopes = n.GetCollectionOfObjectValues(AccessReviewScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "decisions", n => { Decisions = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "instances", n => { Instances = n.GetCollectionOfObjectValues(AccessReviewHistoryInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "reviewHistoryPeriodEndDateTime", n => { ReviewHistoryPeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, + { "reviewHistoryPeriodStartDateTime", n => { ReviewHistoryPeriodStartDateTime = n.GetDateTimeOffsetValue(); } }, + { "scheduleSettings", n => { ScheduleSettings = n.GetObjectValue(AccessReviewHistoryScheduleSettings.CreateFromDiscriminatorValue); } }, + { "scopes", n => { Scopes = n.GetCollectionOfObjectValues(AccessReviewScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewHistoryDefinitionCollectionResponse.cs b/src/generated/Models/AccessReviewHistoryDefinitionCollectionResponse.cs index bef5ec855f..b8d9cb23aa 100644 --- a/src/generated/Models/AccessReviewHistoryDefinitionCollectionResponse.cs +++ b/src/generated/Models/AccessReviewHistoryDefinitionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewHistoryDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewHistoryDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewHistoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewHistoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewHistoryInstance.cs b/src/generated/Models/AccessReviewHistoryInstance.cs index 21c0f99f40..579875a06f 100644 --- a/src/generated/Models/AccessReviewHistoryInstance.cs +++ b/src/generated/Models/AccessReviewHistoryInstance.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewHistoryInstance : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewHistoryInstance : Entity, IParsable + #pragma warning restore CS1591 { /// Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -45,13 +48,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"downloadUri", n => { DownloadUri = n.GetStringValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"fulfilledDateTime", n => { FulfilledDateTime = n.GetDateTimeOffsetValue(); } }, - {"reviewHistoryPeriodEndDateTime", n => { ReviewHistoryPeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, - {"reviewHistoryPeriodStartDateTime", n => { ReviewHistoryPeriodStartDateTime = n.GetDateTimeOffsetValue(); } }, - {"runDateTime", n => { RunDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "downloadUri", n => { DownloadUri = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "fulfilledDateTime", n => { FulfilledDateTime = n.GetDateTimeOffsetValue(); } }, + { "reviewHistoryPeriodEndDateTime", n => { ReviewHistoryPeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, + { "reviewHistoryPeriodStartDateTime", n => { ReviewHistoryPeriodStartDateTime = n.GetDateTimeOffsetValue(); } }, + { "runDateTime", n => { RunDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewHistoryInstanceCollectionResponse.cs b/src/generated/Models/AccessReviewHistoryInstanceCollectionResponse.cs index 916231ec5d..2c091aab05 100644 --- a/src/generated/Models/AccessReviewHistoryInstanceCollectionResponse.cs +++ b/src/generated/Models/AccessReviewHistoryInstanceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewHistoryInstanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewHistoryInstanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewHistoryInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewHistoryInstance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewHistoryScheduleSettings.cs b/src/generated/Models/AccessReviewHistoryScheduleSettings.cs index df2c83cd01..52e605819d 100644 --- a/src/generated/Models/AccessReviewHistoryScheduleSettings.cs +++ b/src/generated/Models/AccessReviewHistoryScheduleSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewHistoryScheduleSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewHistoryScheduleSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, - {"reportRange", n => { ReportRange = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "reportRange", n => { ReportRange = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewHistoryStatus.cs b/src/generated/Models/AccessReviewHistoryStatus.cs index f6c1503017..c88d01458e 100644 --- a/src/generated/Models/AccessReviewHistoryStatus.cs +++ b/src/generated/Models/AccessReviewHistoryStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccessReviewHistoryStatus + #pragma warning restore CS1591 { [EnumMember(Value = "done")] + #pragma warning disable CS1591 Done, + #pragma warning restore CS1591 [EnumMember(Value = "inprogress")] + #pragma warning disable CS1591 Inprogress, + #pragma warning restore CS1591 [EnumMember(Value = "error")] + #pragma warning disable CS1591 Error, + #pragma warning restore CS1591 [EnumMember(Value = "requested")] + #pragma warning disable CS1591 Requested, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AccessReviewInactiveUsersQueryScope.cs b/src/generated/Models/AccessReviewInactiveUsersQueryScope.cs index ae8b9f9273..31f35fffd0 100644 --- a/src/generated/Models/AccessReviewInactiveUsersQueryScope.cs +++ b/src/generated/Models/AccessReviewInactiveUsersQueryScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInactiveUsersQueryScope : AccessReviewQueryScope, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInactiveUsersQueryScope : AccessReviewQueryScope, IParsable + #pragma warning restore CS1591 { /// Defines the duration of inactivity. Inactivity is based on the last sign in date of the user compared to the access review instance's start date. If this property is not specified, it's assigned the default value PT0S. public TimeSpan? InactiveDuration { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"inactiveDuration", n => { InactiveDuration = n.GetTimeSpanValue(); } }, + { "inactiveDuration", n => { InactiveDuration = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstance.cs b/src/generated/Models/AccessReviewInstance.cs index a8565aa5b8..c8f7597bc5 100644 --- a/src/generated/Models/AccessReviewInstance.cs +++ b/src/generated/Models/AccessReviewInstance.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstance : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstance : Entity, IParsable + #pragma warning restore CS1591 { /// Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,15 +88,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"contactedReviewers", n => { ContactedReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewer.CreateFromDiscriminatorValue)?.ToList(); } }, - {"decisions", n => { Decisions = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scope", n => { Scope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, - {"stages", n => { Stages = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "contactedReviewers", n => { ContactedReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewer.CreateFromDiscriminatorValue)?.ToList(); } }, + { "decisions", n => { Decisions = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scope", n => { Scope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, + { "stages", n => { Stages = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceCollectionResponse.cs b/src/generated/Models/AccessReviewInstanceCollectionResponse.cs index f7c5f29e2e..c09eff6418 100644 --- a/src/generated/Models/AccessReviewInstanceCollectionResponse.cs +++ b/src/generated/Models/AccessReviewInstanceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItem.cs b/src/generated/Models/AccessReviewInstanceDecisionItem.cs index ca7750763c..dce1cf7dd5 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItem.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItem : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItem : Entity, IParsable + #pragma warning restore CS1591 { /// The identifier of the accessReviewInstance parent. Supports $select. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -125,20 +128,20 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessReviewId", n => { AccessReviewId = n.GetStringValue(); } }, - {"appliedBy", n => { AppliedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, - {"appliedDateTime", n => { AppliedDateTime = n.GetDateTimeOffsetValue(); } }, - {"applyResult", n => { ApplyResult = n.GetStringValue(); } }, - {"decision", n => { Decision = n.GetStringValue(); } }, - {"insights", n => { Insights = n.GetCollectionOfObjectValues(GovernanceInsight.CreateFromDiscriminatorValue)?.ToList(); } }, - {"justification", n => { Justification = n.GetStringValue(); } }, - {"principal", n => { Principal = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"principalLink", n => { PrincipalLink = n.GetStringValue(); } }, - {"recommendation", n => { Recommendation = n.GetStringValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(AccessReviewInstanceDecisionItemResource.CreateFromDiscriminatorValue); } }, - {"resourceLink", n => { ResourceLink = n.GetStringValue(); } }, - {"reviewedBy", n => { ReviewedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, - {"reviewedDateTime", n => { ReviewedDateTime = n.GetDateTimeOffsetValue(); } }, + { "accessReviewId", n => { AccessReviewId = n.GetStringValue(); } }, + { "appliedBy", n => { AppliedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "appliedDateTime", n => { AppliedDateTime = n.GetDateTimeOffsetValue(); } }, + { "applyResult", n => { ApplyResult = n.GetStringValue(); } }, + { "decision", n => { Decision = n.GetStringValue(); } }, + { "insights", n => { Insights = n.GetCollectionOfObjectValues(GovernanceInsight.CreateFromDiscriminatorValue)?.ToList(); } }, + { "justification", n => { Justification = n.GetStringValue(); } }, + { "principal", n => { Principal = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "principalLink", n => { PrincipalLink = n.GetStringValue(); } }, + { "recommendation", n => { Recommendation = n.GetStringValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(AccessReviewInstanceDecisionItemResource.CreateFromDiscriminatorValue); } }, + { "resourceLink", n => { ResourceLink = n.GetStringValue(); } }, + { "reviewedBy", n => { ReviewedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "reviewedDateTime", n => { ReviewedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.cs b/src/generated/Models/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.cs index 33ca5a7ce8..0f8b91d0ca 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource : AccessReviewInstanceDecisionItemResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource : AccessReviewInstanceDecisionItemResource, IParsable + #pragma warning restore CS1591 { /// Display name of the access package to which access has been granted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackageDisplayName", n => { AccessPackageDisplayName = n.GetStringValue(); } }, - {"accessPackageId", n => { AccessPackageId = n.GetStringValue(); } }, + { "accessPackageDisplayName", n => { AccessPackageDisplayName = n.GetStringValue(); } }, + { "accessPackageId", n => { AccessPackageId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItemAzureRoleResource.cs b/src/generated/Models/AccessReviewInstanceDecisionItemAzureRoleResource.cs index ce42cdf210..ce5cc99fd0 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItemAzureRoleResource.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItemAzureRoleResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItemAzureRoleResource : AccessReviewInstanceDecisionItemResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItemAzureRoleResource : AccessReviewInstanceDecisionItemResource, IParsable + #pragma warning restore CS1591 { /// Details of the scope this role is associated with. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"scope", n => { Scope = n.GetObjectValue(AccessReviewInstanceDecisionItemResource.CreateFromDiscriminatorValue); } }, + { "scope", n => { Scope = n.GetObjectValue(AccessReviewInstanceDecisionItemResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItemCollectionResponse.cs b/src/generated/Models/AccessReviewInstanceDecisionItemCollectionResponse.cs index 0dac2cf813..de01ad420b 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItemCollectionResponse.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItemResource.cs b/src/generated/Models/AccessReviewInstanceDecisionItemResource.cs index f194417a6f..24e14bf3cf 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItemResource.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItemResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItemResource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItemResource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -73,10 +76,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewInstanceDecisionItemServicePrincipalResource.cs b/src/generated/Models/AccessReviewInstanceDecisionItemServicePrincipalResource.cs index b05b2bdb66..b41fe88232 100644 --- a/src/generated/Models/AccessReviewInstanceDecisionItemServicePrincipalResource.cs +++ b/src/generated/Models/AccessReviewInstanceDecisionItemServicePrincipalResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewInstanceDecisionItemServicePrincipalResource : AccessReviewInstanceDecisionItemResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewInstanceDecisionItemServicePrincipalResource : AccessReviewInstanceDecisionItemResource, IParsable + #pragma warning restore CS1591 { /// The globally unique identifier of the application to which access has been granted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appId", n => { AppId = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewNotificationRecipientItem.cs b/src/generated/Models/AccessReviewNotificationRecipientItem.cs index aea4261084..054b808eed 100644 --- a/src/generated/Models/AccessReviewNotificationRecipientItem.cs +++ b/src/generated/Models/AccessReviewNotificationRecipientItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewNotificationRecipientItem : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewNotificationRecipientItem : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"notificationRecipientScope", n => { NotificationRecipientScope = n.GetObjectValue(AccessReviewNotificationRecipientScope.CreateFromDiscriminatorValue); } }, - {"notificationTemplateType", n => { NotificationTemplateType = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "notificationRecipientScope", n => { NotificationRecipientScope = n.GetObjectValue(AccessReviewNotificationRecipientScope.CreateFromDiscriminatorValue); } }, + { "notificationTemplateType", n => { NotificationTemplateType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewNotificationRecipientQueryScope.cs b/src/generated/Models/AccessReviewNotificationRecipientQueryScope.cs index 5559197ef5..5181e7584d 100644 --- a/src/generated/Models/AccessReviewNotificationRecipientQueryScope.cs +++ b/src/generated/Models/AccessReviewNotificationRecipientQueryScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewNotificationRecipientQueryScope : AccessReviewNotificationRecipientScope, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewNotificationRecipientQueryScope : AccessReviewNotificationRecipientScope, IParsable + #pragma warning restore CS1591 { /// Represents the query for who the recipients are. For example, /groups/{group id}/members for group members and /users/{user id} for a specific user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"query", n => { Query = n.GetStringValue(); } }, - {"queryRoot", n => { QueryRoot = n.GetStringValue(); } }, - {"queryType", n => { QueryType = n.GetStringValue(); } }, + { "query", n => { Query = n.GetStringValue(); } }, + { "queryRoot", n => { QueryRoot = n.GetStringValue(); } }, + { "queryType", n => { QueryType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewNotificationRecipientScope.cs b/src/generated/Models/AccessReviewNotificationRecipientScope.cs index 58b6877723..1e700fbe21 100644 --- a/src/generated/Models/AccessReviewNotificationRecipientScope.cs +++ b/src/generated/Models/AccessReviewNotificationRecipientScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewNotificationRecipientScope : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewNotificationRecipientScope : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewQueryScope.cs b/src/generated/Models/AccessReviewQueryScope.cs index e8ed3a28f8..e0f301d196 100644 --- a/src/generated/Models/AccessReviewQueryScope.cs +++ b/src/generated/Models/AccessReviewQueryScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewQueryScope : AccessReviewScope, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewQueryScope : AccessReviewScope, IParsable + #pragma warning restore CS1591 { /// The query representing what will be reviewed in an access review. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -61,9 +64,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"query", n => { Query = n.GetStringValue(); } }, - {"queryRoot", n => { QueryRoot = n.GetStringValue(); } }, - {"queryType", n => { QueryType = n.GetStringValue(); } }, + { "query", n => { Query = n.GetStringValue(); } }, + { "queryRoot", n => { QueryRoot = n.GetStringValue(); } }, + { "queryType", n => { QueryType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewRecommendationInsightSetting.cs b/src/generated/Models/AccessReviewRecommendationInsightSetting.cs index d23261c596..2f3c3c1699 100644 --- a/src/generated/Models/AccessReviewRecommendationInsightSetting.cs +++ b/src/generated/Models/AccessReviewRecommendationInsightSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewRecommendationInsightSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewRecommendationInsightSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,7 +51,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewReviewer.cs b/src/generated/Models/AccessReviewReviewer.cs index b1e5828f38..d2647b37de 100644 --- a/src/generated/Models/AccessReviewReviewer.cs +++ b/src/generated/Models/AccessReviewReviewer.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewReviewer : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewReviewer : Entity, IParsable + #pragma warning restore CS1591 { /// The date when the reviewer was added for the access review. public DateTimeOffset? CreatedDateTime { get; set; } @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewReviewerCollectionResponse.cs b/src/generated/Models/AccessReviewReviewerCollectionResponse.cs index 7fb861bb20..09112c7ffe 100644 --- a/src/generated/Models/AccessReviewReviewerCollectionResponse.cs +++ b/src/generated/Models/AccessReviewReviewerCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewReviewerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewReviewerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewReviewer.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewReviewer.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewReviewerScope.cs b/src/generated/Models/AccessReviewReviewerScope.cs index de7dbec77a..2f01ecbc75 100644 --- a/src/generated/Models/AccessReviewReviewerScope.cs +++ b/src/generated/Models/AccessReviewReviewerScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewReviewerScope : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewReviewerScope : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"query", n => { Query = n.GetStringValue(); } }, - {"queryRoot", n => { QueryRoot = n.GetStringValue(); } }, - {"queryType", n => { QueryType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "query", n => { Query = n.GetStringValue(); } }, + { "queryRoot", n => { QueryRoot = n.GetStringValue(); } }, + { "queryType", n => { QueryType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewScheduleDefinition.cs b/src/generated/Models/AccessReviewScheduleDefinition.cs index 631e210a11..d6ad59de7d 100644 --- a/src/generated/Models/AccessReviewScheduleDefinition.cs +++ b/src/generated/Models/AccessReviewScheduleDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewScheduleDefinition : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewScheduleDefinition : Entity, IParsable + #pragma warning restore CS1591 { /// Defines the list of additional users or group members to be notified of the access review progress. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -133,21 +136,21 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"additionalNotificationRecipients", n => { AdditionalNotificationRecipients = n.GetCollectionOfObjectValues(AccessReviewNotificationRecipientItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"descriptionForAdmins", n => { DescriptionForAdmins = n.GetStringValue(); } }, - {"descriptionForReviewers", n => { DescriptionForReviewers = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"instanceEnumerationScope", n => { InstanceEnumerationScope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, - {"instances", n => { Instances = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scope", n => { Scope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, - {"settings", n => { Settings = n.GetObjectValue(AccessReviewScheduleSettings.CreateFromDiscriminatorValue); } }, - {"stageSettings", n => { StageSettings = n.GetCollectionOfObjectValues(AccessReviewStageSettings.CreateFromDiscriminatorValue)?.ToList(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "additionalNotificationRecipients", n => { AdditionalNotificationRecipients = n.GetCollectionOfObjectValues(AccessReviewNotificationRecipientItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "descriptionForAdmins", n => { DescriptionForAdmins = n.GetStringValue(); } }, + { "descriptionForReviewers", n => { DescriptionForReviewers = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "instanceEnumerationScope", n => { InstanceEnumerationScope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, + { "instances", n => { Instances = n.GetCollectionOfObjectValues(AccessReviewInstance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scope", n => { Scope = n.GetObjectValue(AccessReviewScope.CreateFromDiscriminatorValue); } }, + { "settings", n => { Settings = n.GetObjectValue(AccessReviewScheduleSettings.CreateFromDiscriminatorValue); } }, + { "stageSettings", n => { StageSettings = n.GetCollectionOfObjectValues(AccessReviewStageSettings.CreateFromDiscriminatorValue)?.ToList(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewScheduleDefinitionCollectionResponse.cs b/src/generated/Models/AccessReviewScheduleDefinitionCollectionResponse.cs index 363e868492..fa159010d8 100644 --- a/src/generated/Models/AccessReviewScheduleDefinitionCollectionResponse.cs +++ b/src/generated/Models/AccessReviewScheduleDefinitionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewScheduleDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewScheduleDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewScheduleSettings.cs b/src/generated/Models/AccessReviewScheduleSettings.cs index c43dd3ccc7..b8ace89958 100644 --- a/src/generated/Models/AccessReviewScheduleSettings.cs +++ b/src/generated/Models/AccessReviewScheduleSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewScheduleSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewScheduleSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -92,20 +95,20 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applyActions", n => { ApplyActions = n.GetCollectionOfObjectValues(AccessReviewApplyAction.CreateFromDiscriminatorValue)?.ToList(); } }, - {"autoApplyDecisionsEnabled", n => { AutoApplyDecisionsEnabled = n.GetBoolValue(); } }, - {"decisionHistoriesForReviewersEnabled", n => { DecisionHistoriesForReviewersEnabled = n.GetBoolValue(); } }, - {"defaultDecision", n => { DefaultDecision = n.GetStringValue(); } }, - {"defaultDecisionEnabled", n => { DefaultDecisionEnabled = n.GetBoolValue(); } }, - {"instanceDurationInDays", n => { InstanceDurationInDays = n.GetIntValue(); } }, - {"justificationRequiredOnApproval", n => { JustificationRequiredOnApproval = n.GetBoolValue(); } }, - {"mailNotificationsEnabled", n => { MailNotificationsEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"recommendationInsightSettings", n => { RecommendationInsightSettings = n.GetCollectionOfObjectValues(AccessReviewRecommendationInsightSetting.CreateFromDiscriminatorValue)?.ToList(); } }, - {"recommendationLookBackDuration", n => { RecommendationLookBackDuration = n.GetTimeSpanValue(); } }, - {"recommendationsEnabled", n => { RecommendationsEnabled = n.GetBoolValue(); } }, - {"recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, - {"reminderNotificationsEnabled", n => { ReminderNotificationsEnabled = n.GetBoolValue(); } }, + { "applyActions", n => { ApplyActions = n.GetCollectionOfObjectValues(AccessReviewApplyAction.CreateFromDiscriminatorValue)?.ToList(); } }, + { "autoApplyDecisionsEnabled", n => { AutoApplyDecisionsEnabled = n.GetBoolValue(); } }, + { "decisionHistoriesForReviewersEnabled", n => { DecisionHistoriesForReviewersEnabled = n.GetBoolValue(); } }, + { "defaultDecision", n => { DefaultDecision = n.GetStringValue(); } }, + { "defaultDecisionEnabled", n => { DefaultDecisionEnabled = n.GetBoolValue(); } }, + { "instanceDurationInDays", n => { InstanceDurationInDays = n.GetIntValue(); } }, + { "justificationRequiredOnApproval", n => { JustificationRequiredOnApproval = n.GetBoolValue(); } }, + { "mailNotificationsEnabled", n => { MailNotificationsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recommendationInsightSettings", n => { RecommendationInsightSettings = n.GetCollectionOfObjectValues(AccessReviewRecommendationInsightSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "recommendationLookBackDuration", n => { RecommendationLookBackDuration = n.GetTimeSpanValue(); } }, + { "recommendationsEnabled", n => { RecommendationsEnabled = n.GetBoolValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "reminderNotificationsEnabled", n => { ReminderNotificationsEnabled = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewScope.cs b/src/generated/Models/AccessReviewScope.cs index e71c452a6b..909f033109 100644 --- a/src/generated/Models/AccessReviewScope.cs +++ b/src/generated/Models/AccessReviewScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewScope : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewScope : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -49,7 +52,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewSet.cs b/src/generated/Models/AccessReviewSet.cs index 87de216c6e..6726bfc2d9 100644 --- a/src/generated/Models/AccessReviewSet.cs +++ b/src/generated/Models/AccessReviewSet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewSet : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewSet : Entity, IParsable + #pragma warning restore CS1591 { /// Represents the template and scheduling for an access review. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"definitions", n => { Definitions = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"historyDefinitions", n => { HistoryDefinitions = n.GetCollectionOfObjectValues(AccessReviewHistoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "definitions", n => { Definitions = n.GetCollectionOfObjectValues(AccessReviewScheduleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "historyDefinitions", n => { HistoryDefinitions = n.GetCollectionOfObjectValues(AccessReviewHistoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewStage.cs b/src/generated/Models/AccessReviewStage.cs index 5d386adfcb..b59aef0759 100644 --- a/src/generated/Models/AccessReviewStage.cs +++ b/src/generated/Models/AccessReviewStage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewStage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewStage : Entity, IParsable + #pragma warning restore CS1591 { /// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -61,12 +64,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"decisions", n => { Decisions = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "decisions", n => { Decisions = n.GetCollectionOfObjectValues(AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewStageCollectionResponse.cs b/src/generated/Models/AccessReviewStageCollectionResponse.cs index 7b2c914348..69eb06922a 100644 --- a/src/generated/Models/AccessReviewStageCollectionResponse.cs +++ b/src/generated/Models/AccessReviewStageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewStageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewStageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AccessReviewStage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AccessReviewStageSettings.cs b/src/generated/Models/AccessReviewStageSettings.cs index cfcc307741..6a9bdaf3f1 100644 --- a/src/generated/Models/AccessReviewStageSettings.cs +++ b/src/generated/Models/AccessReviewStageSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccessReviewStageSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccessReviewStageSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -94,15 +97,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decisionsThatWillMoveToNextStage", n => { DecisionsThatWillMoveToNextStage = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"dependsOn", n => { DependsOn = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"durationInDays", n => { DurationInDays = n.GetIntValue(); } }, - {"fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"recommendationInsightSettings", n => { RecommendationInsightSettings = n.GetCollectionOfObjectValues(AccessReviewRecommendationInsightSetting.CreateFromDiscriminatorValue)?.ToList(); } }, - {"recommendationsEnabled", n => { RecommendationsEnabled = n.GetBoolValue(); } }, - {"reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"stageId", n => { StageId = n.GetStringValue(); } }, + { "decisionsThatWillMoveToNextStage", n => { DecisionsThatWillMoveToNextStage = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "dependsOn", n => { DependsOn = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "durationInDays", n => { DurationInDays = n.GetIntValue(); } }, + { "fallbackReviewers", n => { FallbackReviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recommendationInsightSettings", n => { RecommendationInsightSettings = n.GetCollectionOfObjectValues(AccessReviewRecommendationInsightSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "recommendationsEnabled", n => { RecommendationsEnabled = n.GetBoolValue(); } }, + { "reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "stageId", n => { StageId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AccountTargetContent.cs b/src/generated/Models/AccountTargetContent.cs index 6b52803eb0..a20a6b60e6 100644 --- a/src/generated/Models/AccountTargetContent.cs +++ b/src/generated/Models/AccountTargetContent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AccountTargetContent : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AccountTargetContent : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AccountTargetContentType.cs b/src/generated/Models/AccountTargetContentType.cs index 4fd26a3d6b..97c241d578 100644 --- a/src/generated/Models/AccountTargetContentType.cs +++ b/src/generated/Models/AccountTargetContentType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AccountTargetContentType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "includeAll")] + #pragma warning disable CS1591 IncludeAll, + #pragma warning restore CS1591 [EnumMember(Value = "addressBook")] + #pragma warning disable CS1591 AddressBook, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ActionResultPart.cs b/src/generated/Models/ActionResultPart.cs index ee6a4f8a17..5a470a339b 100644 --- a/src/generated/Models/ActionResultPart.cs +++ b/src/generated/Models/ActionResultPart.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ActionResultPart : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ActionResultPart : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -55,8 +58,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"error", n => { Error = n.GetObjectValue(PublicError.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "error", n => { Error = n.GetObjectValue(PublicError.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ActionState.cs b/src/generated/Models/ActionState.cs index 2fbbaab97a..ce6f3c8772 100644 --- a/src/generated/Models/ActionState.cs +++ b/src/generated/Models/ActionState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// State of the action on the device public enum ActionState { diff --git a/src/generated/Models/ActivityBasedTimeoutPolicy.cs b/src/generated/Models/ActivityBasedTimeoutPolicy.cs index 237b324aa3..0eed65d36b 100644 --- a/src/generated/Models/ActivityBasedTimeoutPolicy.cs +++ b/src/generated/Models/ActivityBasedTimeoutPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ActivityBasedTimeoutPolicy : StsPolicy, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ActivityBasedTimeoutPolicy : StsPolicy, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ActivityBasedTimeoutPolicyCollectionResponse.cs b/src/generated/Models/ActivityBasedTimeoutPolicyCollectionResponse.cs index ce8e29a9ac..74aa330710 100644 --- a/src/generated/Models/ActivityBasedTimeoutPolicyCollectionResponse.cs +++ b/src/generated/Models/ActivityBasedTimeoutPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ActivityBasedTimeoutPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ActivityBasedTimeoutPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ActivityDomain.cs b/src/generated/Models/ActivityDomain.cs index 6c025eeed4..69260ba346 100644 --- a/src/generated/Models/ActivityDomain.cs +++ b/src/generated/Models/ActivityDomain.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ActivityDomain + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "work")] + #pragma warning disable CS1591 Work, + #pragma warning restore CS1591 [EnumMember(Value = "personal")] + #pragma warning disable CS1591 Personal, + #pragma warning restore CS1591 [EnumMember(Value = "unrestricted")] + #pragma warning disable CS1591 Unrestricted, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ActivityHistoryItem.cs b/src/generated/Models/ActivityHistoryItem.cs index acc2fdf1cc..57fcc8edd0 100644 --- a/src/generated/Models/ActivityHistoryItem.cs +++ b/src/generated/Models/ActivityHistoryItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ActivityHistoryItem : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ActivityHistoryItem : Entity, IParsable + #pragma warning restore CS1591 { /// Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. public int? ActiveDurationSeconds { get; set; } @@ -19,13 +22,13 @@ public class ActivityHistoryItem : Entity, IParsable #endif /// Set by the server. DateTime in UTC when the object was created on the server. public DateTimeOffset? CreatedDateTime { get; set; } - /// Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + /// Optional. UTC DateTime when the activityHistoryItem will undergo hard-delete. Can be set by the client. public DateTimeOffset? ExpirationDateTime { get; set; } - /// Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + /// Optional. UTC DateTime when the activityHistoryItem (activity session) was last understood as active or finished - if null, activityHistoryItem status should be Ongoing. public DateTimeOffset? LastActiveDateTime { get; set; } /// Set by the server. DateTime in UTC when the object was modified on the server. public DateTimeOffset? LastModifiedDateTime { get; set; } - /// Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + /// Required. UTC DateTime when the activityHistoryItem (activity session) was started. Required for timeline history. public DateTimeOffset? StartedDateTime { get; set; } /// Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. public ApiSdk.Models.Status? Status { get; set; } @@ -55,15 +58,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activeDurationSeconds", n => { ActiveDurationSeconds = n.GetIntValue(); } }, - {"activity", n => { Activity = n.GetObjectValue(UserActivity.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastActiveDateTime", n => { LastActiveDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"userTimezone", n => { UserTimezone = n.GetStringValue(); } }, + { "activeDurationSeconds", n => { ActiveDurationSeconds = n.GetIntValue(); } }, + { "activity", n => { Activity = n.GetObjectValue(UserActivity.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastActiveDateTime", n => { LastActiveDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userTimezone", n => { UserTimezone = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ActivityHistoryItemCollectionResponse.cs b/src/generated/Models/ActivityHistoryItemCollectionResponse.cs index 8c8e145af3..f75a4a57f3 100644 --- a/src/generated/Models/ActivityHistoryItemCollectionResponse.cs +++ b/src/generated/Models/ActivityHistoryItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ActivityHistoryItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ActivityHistoryItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ActivityHistoryItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ActivityHistoryItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ActivityType.cs b/src/generated/Models/ActivityType.cs index 24dc86f890..0292913a15 100644 --- a/src/generated/Models/ActivityType.cs +++ b/src/generated/Models/ActivityType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ActivityType + #pragma warning restore CS1591 { [EnumMember(Value = "signin")] + #pragma warning disable CS1591 Signin, + #pragma warning restore CS1591 [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "servicePrincipal")] + #pragma warning disable CS1591 ServicePrincipal, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AddIn.cs b/src/generated/Models/AddIn.cs index b9a574ffc5..e2f8527524 100644 --- a/src/generated/Models/AddIn.cs +++ b/src/generated/Models/AddIn.cs @@ -4,12 +4,15 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AddIn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AddIn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } - /// The id property + /// The unique identifier for the addIn object. public Guid? Id { get; set; } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -19,7 +22,7 @@ public class AddIn : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// The properties property + /// The collection of key-value pairs that define parameters that the consuming service can use or call. You must specify this property when performing a POST or a PATCH operation on the addIns collection. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Properties { get; set; } @@ -27,7 +30,7 @@ public class AddIn : IAdditionalDataHolder, IParsable #else public List Properties { get; set; } #endif - /// The type property + /// The unique name for the functionality exposed by the app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetGuidValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"properties", n => { Properties = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "id", n => { Id = n.GetGuidValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AddLargeGalleryViewOperation.cs b/src/generated/Models/AddLargeGalleryViewOperation.cs index 0b6edaa0c9..e68d3e340e 100644 --- a/src/generated/Models/AddLargeGalleryViewOperation.cs +++ b/src/generated/Models/AddLargeGalleryViewOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AddLargeGalleryViewOperation : CommsOperation, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AddLargeGalleryViewOperation : CommsOperation, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/AddressBookAccountTargetContent.cs b/src/generated/Models/AddressBookAccountTargetContent.cs index df004fc829..5776d08f54 100644 --- a/src/generated/Models/AddressBookAccountTargetContent.cs +++ b/src/generated/Models/AddressBookAccountTargetContent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AddressBookAccountTargetContent : AccountTargetContent, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AddressBookAccountTargetContent : AccountTargetContent, IParsable + #pragma warning restore CS1591 { /// List of user emails targeted for an attack simulation training campaign. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accountTargetEmails", n => { AccountTargetEmails = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "accountTargetEmails", n => { AccountTargetEmails = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Admin.cs b/src/generated/Models/Admin.cs index 3b5daefba3..75542f8bc1 100644 --- a/src/generated/Models/Admin.cs +++ b/src/generated/Models/Admin.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Admin : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Admin : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"edge", n => { Edge = n.GetObjectValue(ApiSdk.Models.Edge.CreateFromDiscriminatorValue); } }, - {"microsoft365Apps", n => { Microsoft365Apps = n.GetObjectValue(AdminMicrosoft365Apps.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"people", n => { People = n.GetObjectValue(PeopleAdminSettings.CreateFromDiscriminatorValue); } }, - {"serviceAnnouncement", n => { ServiceAnnouncement = n.GetObjectValue(ApiSdk.Models.ServiceAnnouncement.CreateFromDiscriminatorValue); } }, - {"sharepoint", n => { Sharepoint = n.GetObjectValue(ApiSdk.Models.Sharepoint.CreateFromDiscriminatorValue); } }, + { "edge", n => { Edge = n.GetObjectValue(ApiSdk.Models.Edge.CreateFromDiscriminatorValue); } }, + { "microsoft365Apps", n => { Microsoft365Apps = n.GetObjectValue(AdminMicrosoft365Apps.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "people", n => { People = n.GetObjectValue(PeopleAdminSettings.CreateFromDiscriminatorValue); } }, + { "serviceAnnouncement", n => { ServiceAnnouncement = n.GetObjectValue(ApiSdk.Models.ServiceAnnouncement.CreateFromDiscriminatorValue); } }, + { "sharepoint", n => { Sharepoint = n.GetObjectValue(ApiSdk.Models.Sharepoint.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AdminConsentRequestPolicy.cs b/src/generated/Models/AdminConsentRequestPolicy.cs index 459dc0b980..ac62fbef7a 100644 --- a/src/generated/Models/AdminConsentRequestPolicy.cs +++ b/src/generated/Models/AdminConsentRequestPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AdminConsentRequestPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AdminConsentRequestPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// Specifies whether the admin consent request feature is enabled or disabled. Required. public bool? IsEnabled { get; set; } @@ -43,12 +46,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, - {"notifyReviewers", n => { NotifyReviewers = n.GetBoolValue(); } }, - {"remindersEnabled", n => { RemindersEnabled = n.GetBoolValue(); } }, - {"requestDurationInDays", n => { RequestDurationInDays = n.GetIntValue(); } }, - {"reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "notifyReviewers", n => { NotifyReviewers = n.GetBoolValue(); } }, + { "remindersEnabled", n => { RemindersEnabled = n.GetBoolValue(); } }, + { "requestDurationInDays", n => { RequestDurationInDays = n.GetIntValue(); } }, + { "reviewers", n => { Reviewers = n.GetCollectionOfObjectValues(AccessReviewReviewerScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AdminMicrosoft365Apps.cs b/src/generated/Models/AdminMicrosoft365Apps.cs index bca9f53e6f..b446c6af19 100644 --- a/src/generated/Models/AdminMicrosoft365Apps.cs +++ b/src/generated/Models/AdminMicrosoft365Apps.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AdminMicrosoft365Apps : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AdminMicrosoft365Apps : Entity, IParsable + #pragma warning restore CS1591 { /// A container for tenant-level settings for Microsoft 365 applications. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"installationOptions", n => { InstallationOptions = n.GetObjectValue(M365AppsInstallationOptions.CreateFromDiscriminatorValue); } }, + { "installationOptions", n => { InstallationOptions = n.GetObjectValue(M365AppsInstallationOptions.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AdministrativeUnit.cs b/src/generated/Models/AdministrativeUnit.cs index e865b34223..7c0d2a435c 100644 --- a/src/generated/Models/AdministrativeUnit.cs +++ b/src/generated/Models/AdministrativeUnit.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AdministrativeUnit : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AdministrativeUnit : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,12 +83,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopedRoleMembers", n => { ScopedRoleMembers = n.GetCollectionOfObjectValues(ScopedRoleMembership.CreateFromDiscriminatorValue)?.ToList(); } }, - {"visibility", n => { Visibility = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopedRoleMembers", n => { ScopedRoleMembers = n.GetCollectionOfObjectValues(ScopedRoleMembership.CreateFromDiscriminatorValue)?.ToList(); } }, + { "visibility", n => { Visibility = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AdministrativeUnitCollectionResponse.cs b/src/generated/Models/AdministrativeUnitCollectionResponse.cs index f62db66316..a5d78b15bc 100644 --- a/src/generated/Models/AdministrativeUnitCollectionResponse.cs +++ b/src/generated/Models/AdministrativeUnitCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AdministrativeUnitCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AdministrativeUnitCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AdvancedConfigState.cs b/src/generated/Models/AdvancedConfigState.cs index 093a95f679..c56606ebeb 100644 --- a/src/generated/Models/AdvancedConfigState.cs +++ b/src/generated/Models/AdvancedConfigState.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AdvancedConfigState + #pragma warning restore CS1591 { [EnumMember(Value = "default")] + #pragma warning disable CS1591 Default, + #pragma warning restore CS1591 [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 Enabled, + #pragma warning restore CS1591 [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 Disabled, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AggregationOption.cs b/src/generated/Models/AggregationOption.cs index d10bba06ca..a1694b38af 100644 --- a/src/generated/Models/AggregationOption.cs +++ b/src/generated/Models/AggregationOption.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AggregationOption : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AggregationOption : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"bucketDefinition", n => { BucketDefinition = n.GetObjectValue(BucketAggregationDefinition.CreateFromDiscriminatorValue); } }, - {"field", n => { Field = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"size", n => { Size = n.GetIntValue(); } }, + { "bucketDefinition", n => { BucketDefinition = n.GetObjectValue(BucketAggregationDefinition.CreateFromDiscriminatorValue); } }, + { "field", n => { Field = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "size", n => { Size = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/Agreement.cs b/src/generated/Models/Agreement.cs index 45b103f790..d7af54549b 100644 --- a/src/generated/Models/Agreement.cs +++ b/src/generated/Models/Agreement.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Agreement : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Agreement : Entity, IParsable + #pragma warning restore CS1591 { /// Read-only. Information about acceptances of this agreement. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -71,14 +74,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"acceptances", n => { Acceptances = n.GetCollectionOfObjectValues(AgreementAcceptance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"file", n => { File = n.GetObjectValue(AgreementFile.CreateFromDiscriminatorValue); } }, - {"files", n => { Files = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isPerDeviceAcceptanceRequired", n => { IsPerDeviceAcceptanceRequired = n.GetBoolValue(); } }, - {"isViewingBeforeAcceptanceRequired", n => { IsViewingBeforeAcceptanceRequired = n.GetBoolValue(); } }, - {"termsExpiration", n => { TermsExpiration = n.GetObjectValue(ApiSdk.Models.TermsExpiration.CreateFromDiscriminatorValue); } }, - {"userReacceptRequiredFrequency", n => { UserReacceptRequiredFrequency = n.GetTimeSpanValue(); } }, + { "acceptances", n => { Acceptances = n.GetCollectionOfObjectValues(AgreementAcceptance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "file", n => { File = n.GetObjectValue(AgreementFile.CreateFromDiscriminatorValue); } }, + { "files", n => { Files = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isPerDeviceAcceptanceRequired", n => { IsPerDeviceAcceptanceRequired = n.GetBoolValue(); } }, + { "isViewingBeforeAcceptanceRequired", n => { IsViewingBeforeAcceptanceRequired = n.GetBoolValue(); } }, + { "termsExpiration", n => { TermsExpiration = n.GetObjectValue(ApiSdk.Models.TermsExpiration.CreateFromDiscriminatorValue); } }, + { "userReacceptRequiredFrequency", n => { UserReacceptRequiredFrequency = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Models/AgreementAcceptance.cs b/src/generated/Models/AgreementAcceptance.cs index a60e8d7dc8..64311a3a64 100644 --- a/src/generated/Models/AgreementAcceptance.cs +++ b/src/generated/Models/AgreementAcceptance.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementAcceptance : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementAcceptance : Entity, IParsable + #pragma warning restore CS1591 { /// The identifier of the agreement file accepted by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -111,19 +114,19 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"agreementFileId", n => { AgreementFileId = n.GetStringValue(); } }, - {"agreementId", n => { AgreementId = n.GetStringValue(); } }, - {"deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"deviceOSType", n => { DeviceOSType = n.GetStringValue(); } }, - {"deviceOSVersion", n => { DeviceOSVersion = n.GetStringValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"recordedDateTime", n => { RecordedDateTime = n.GetDateTimeOffsetValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, - {"userEmail", n => { UserEmail = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "agreementFileId", n => { AgreementFileId = n.GetStringValue(); } }, + { "agreementId", n => { AgreementId = n.GetStringValue(); } }, + { "deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "deviceOSType", n => { DeviceOSType = n.GetStringValue(); } }, + { "deviceOSVersion", n => { DeviceOSVersion = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "recordedDateTime", n => { RecordedDateTime = n.GetDateTimeOffsetValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AgreementAcceptanceCollectionResponse.cs b/src/generated/Models/AgreementAcceptanceCollectionResponse.cs index e46d5d25c1..0d8cfd12c6 100644 --- a/src/generated/Models/AgreementAcceptanceCollectionResponse.cs +++ b/src/generated/Models/AgreementAcceptanceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementAcceptanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementAcceptanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AgreementAcceptance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AgreementAcceptance.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AgreementAcceptanceState.cs b/src/generated/Models/AgreementAcceptanceState.cs index 6ff56ead64..8d8141db61 100644 --- a/src/generated/Models/AgreementAcceptanceState.cs +++ b/src/generated/Models/AgreementAcceptanceState.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AgreementAcceptanceState + #pragma warning restore CS1591 { [EnumMember(Value = "accepted")] + #pragma warning disable CS1591 Accepted, + #pragma warning restore CS1591 [EnumMember(Value = "declined")] + #pragma warning disable CS1591 Declined, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AgreementCollectionResponse.cs b/src/generated/Models/AgreementCollectionResponse.cs index 05b4004469..6464aaad2c 100644 --- a/src/generated/Models/AgreementCollectionResponse.cs +++ b/src/generated/Models/AgreementCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Agreement.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Agreement.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AgreementFile.cs b/src/generated/Models/AgreementFile.cs index 425e673fca..f2f59354e5 100644 --- a/src/generated/Models/AgreementFile.cs +++ b/src/generated/Models/AgreementFile.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFile : AgreementFileProperties, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFile : AgreementFileProperties, IParsable + #pragma warning restore CS1591 { /// The localized version of the terms of use agreement files attached to the agreement. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"localizations", n => { Localizations = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "localizations", n => { Localizations = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AgreementFileData.cs b/src/generated/Models/AgreementFileData.cs index 07b4484b0a..ae9d414f90 100644 --- a/src/generated/Models/AgreementFileData.cs +++ b/src/generated/Models/AgreementFileData.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileData : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileData : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"data", n => { Data = n.GetByteArrayValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "data", n => { Data = n.GetByteArrayValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AgreementFileLocalization.cs b/src/generated/Models/AgreementFileLocalization.cs index 82db9c2375..3fd1edcb3c 100644 --- a/src/generated/Models/AgreementFileLocalization.cs +++ b/src/generated/Models/AgreementFileLocalization.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileLocalization : AgreementFileProperties, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileLocalization : AgreementFileProperties, IParsable + #pragma warning restore CS1591 { /// Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"versions", n => { Versions = n.GetCollectionOfObjectValues(AgreementFileVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "versions", n => { Versions = n.GetCollectionOfObjectValues(AgreementFileVersion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AgreementFileLocalizationCollectionResponse.cs b/src/generated/Models/AgreementFileLocalizationCollectionResponse.cs index a23b2a47af..57c374d8ee 100644 --- a/src/generated/Models/AgreementFileLocalizationCollectionResponse.cs +++ b/src/generated/Models/AgreementFileLocalizationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileLocalizationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileLocalizationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AgreementFileLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AgreementFileProperties.cs b/src/generated/Models/AgreementFileProperties.cs index 5793ca2a63..5e6ddcc27e 100644 --- a/src/generated/Models/AgreementFileProperties.cs +++ b/src/generated/Models/AgreementFileProperties.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileProperties : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileProperties : Entity, IParsable + #pragma warning restore CS1591 { /// The date time representing when the file was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get; set; } @@ -70,13 +73,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"fileData", n => { FileData = n.GetObjectValue(AgreementFileData.CreateFromDiscriminatorValue); } }, - {"fileName", n => { FileName = n.GetStringValue(); } }, - {"isDefault", n => { IsDefault = n.GetBoolValue(); } }, - {"isMajorVersion", n => { IsMajorVersion = n.GetBoolValue(); } }, - {"language", n => { Language = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "fileData", n => { FileData = n.GetObjectValue(AgreementFileData.CreateFromDiscriminatorValue); } }, + { "fileName", n => { FileName = n.GetStringValue(); } }, + { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, + { "isMajorVersion", n => { IsMajorVersion = n.GetBoolValue(); } }, + { "language", n => { Language = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AgreementFileVersion.cs b/src/generated/Models/AgreementFileVersion.cs index f2c7dd1bc9..7e4a4a3138 100644 --- a/src/generated/Models/AgreementFileVersion.cs +++ b/src/generated/Models/AgreementFileVersion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileVersion : AgreementFileProperties, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileVersion : AgreementFileProperties, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/AgreementFileVersionCollectionResponse.cs b/src/generated/Models/AgreementFileVersionCollectionResponse.cs index 27f538bd60..b6f697657e 100644 --- a/src/generated/Models/AgreementFileVersionCollectionResponse.cs +++ b/src/generated/Models/AgreementFileVersionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AgreementFileVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AgreementFileVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AgreementFileVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AgreementFileVersion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Album.cs b/src/generated/Models/Album.cs index dd9fc4834f..aaf1c1f1ca 100644 --- a/src/generated/Models/Album.cs +++ b/src/generated/Models/Album.cs @@ -4,12 +4,15 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Album : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Album : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } - /// Unique identifier of the [driveItem][] that is the cover of the album. + /// Unique identifier of the driveItem that is the cover of the album. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CoverImageItemId { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"coverImageItemId", n => { CoverImageItemId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "coverImageItemId", n => { CoverImageItemId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Alert.cs b/src/generated/Models/Alert.cs index d8431aea6a..af77d8fd14 100644 --- a/src/generated/Models/Alert.cs +++ b/src/generated/Models/Alert.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Alert : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Alert : Entity, IParsable + #pragma warning restore CS1591 { /// Name or alias of the activity group (attacker) this alert is attributed to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -47,7 +50,7 @@ public class Alert : Entity, IParsable #else public string AzureTenantId { get; set; } #endif - /// Category of the alert (for example, credentialTheft, ransomware, etc.). + /// Category of the alert (for example, credentialTheft, ransomware). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Category { get; set; } @@ -93,9 +96,9 @@ public class Alert : Entity, IParsable #else public List DetectionIds { get; set; } #endif - /// Time at which the event(s) that served as the trigger(s) to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required. + /// Time at which the event or events that served as the trigger to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required. public DateTimeOffset? EventDateTime { get; set; } - /// Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + /// Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. public AlertFeedback? Feedback { get; set; } /// Security-related stateful information generated by the provider about the file(s) related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -199,7 +202,7 @@ public class Alert : Entity, IParsable #endif /// The severity property public AlertSeverity? Severity { get; set; } - /// Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + /// Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SourceMaterials { get; set; } @@ -209,7 +212,7 @@ public class Alert : Entity, IParsable #endif /// The status property public AlertStatus? Status { get; set; } - /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Tags { get; set; } @@ -283,45 +286,45 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activityGroupName", n => { ActivityGroupName = n.GetStringValue(); } }, - {"alertDetections", n => { AlertDetections = n.GetCollectionOfObjectValues(AlertDetection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignedTo", n => { AssignedTo = n.GetStringValue(); } }, - {"azureSubscriptionId", n => { AzureSubscriptionId = n.GetStringValue(); } }, - {"azureTenantId", n => { AzureTenantId = n.GetStringValue(); } }, - {"category", n => { Category = n.GetStringValue(); } }, - {"closedDateTime", n => { ClosedDateTime = n.GetDateTimeOffsetValue(); } }, - {"cloudAppStates", n => { CloudAppStates = n.GetCollectionOfObjectValues(CloudAppSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"comments", n => { Comments = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"confidence", n => { Confidence = n.GetIntValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"detectionIds", n => { DetectionIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, - {"feedback", n => { Feedback = n.GetEnumValue(); } }, - {"fileStates", n => { FileStates = n.GetCollectionOfObjectValues(FileSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"historyStates", n => { HistoryStates = n.GetCollectionOfObjectValues(AlertHistoryState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"hostStates", n => { HostStates = n.GetCollectionOfObjectValues(HostSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"incidentIds", n => { IncidentIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"investigationSecurityStates", n => { InvestigationSecurityStates = n.GetCollectionOfObjectValues(InvestigationSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"lastEventDateTime", n => { LastEventDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"malwareStates", n => { MalwareStates = n.GetCollectionOfObjectValues(MalwareState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"messageSecurityStates", n => { MessageSecurityStates = n.GetCollectionOfObjectValues(MessageSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"networkConnections", n => { NetworkConnections = n.GetCollectionOfObjectValues(NetworkConnection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"processes", n => { Processes = n.GetCollectionOfObjectValues(Process.CreateFromDiscriminatorValue)?.ToList(); } }, - {"recommendedActions", n => { RecommendedActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"registryKeyStates", n => { RegistryKeyStates = n.GetCollectionOfObjectValues(RegistryKeyState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"securityResources", n => { SecurityResources = n.GetCollectionOfObjectValues(SecurityResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"severity", n => { Severity = n.GetEnumValue(); } }, - {"sourceMaterials", n => { SourceMaterials = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"title", n => { Title = n.GetStringValue(); } }, - {"triggers", n => { Triggers = n.GetCollectionOfObjectValues(AlertTrigger.CreateFromDiscriminatorValue)?.ToList(); } }, - {"uriClickSecurityStates", n => { UriClickSecurityStates = n.GetCollectionOfObjectValues(UriClickSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userStates", n => { UserStates = n.GetCollectionOfObjectValues(UserSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"vendorInformation", n => { VendorInformation = n.GetObjectValue(SecurityVendorInformation.CreateFromDiscriminatorValue); } }, - {"vulnerabilityStates", n => { VulnerabilityStates = n.GetCollectionOfObjectValues(VulnerabilityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activityGroupName", n => { ActivityGroupName = n.GetStringValue(); } }, + { "alertDetections", n => { AlertDetections = n.GetCollectionOfObjectValues(AlertDetection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "azureSubscriptionId", n => { AzureSubscriptionId = n.GetStringValue(); } }, + { "azureTenantId", n => { AzureTenantId = n.GetStringValue(); } }, + { "category", n => { Category = n.GetStringValue(); } }, + { "closedDateTime", n => { ClosedDateTime = n.GetDateTimeOffsetValue(); } }, + { "cloudAppStates", n => { CloudAppStates = n.GetCollectionOfObjectValues(CloudAppSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "comments", n => { Comments = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "confidence", n => { Confidence = n.GetIntValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "detectionIds", n => { DetectionIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "feedback", n => { Feedback = n.GetEnumValue(); } }, + { "fileStates", n => { FileStates = n.GetCollectionOfObjectValues(FileSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "historyStates", n => { HistoryStates = n.GetCollectionOfObjectValues(AlertHistoryState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "hostStates", n => { HostStates = n.GetCollectionOfObjectValues(HostSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "incidentIds", n => { IncidentIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "investigationSecurityStates", n => { InvestigationSecurityStates = n.GetCollectionOfObjectValues(InvestigationSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "lastEventDateTime", n => { LastEventDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "malwareStates", n => { MalwareStates = n.GetCollectionOfObjectValues(MalwareState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "messageSecurityStates", n => { MessageSecurityStates = n.GetCollectionOfObjectValues(MessageSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "networkConnections", n => { NetworkConnections = n.GetCollectionOfObjectValues(NetworkConnection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "processes", n => { Processes = n.GetCollectionOfObjectValues(Process.CreateFromDiscriminatorValue)?.ToList(); } }, + { "recommendedActions", n => { RecommendedActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "registryKeyStates", n => { RegistryKeyStates = n.GetCollectionOfObjectValues(RegistryKeyState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "securityResources", n => { SecurityResources = n.GetCollectionOfObjectValues(SecurityResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "severity", n => { Severity = n.GetEnumValue(); } }, + { "sourceMaterials", n => { SourceMaterials = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + { "triggers", n => { Triggers = n.GetCollectionOfObjectValues(AlertTrigger.CreateFromDiscriminatorValue)?.ToList(); } }, + { "uriClickSecurityStates", n => { UriClickSecurityStates = n.GetCollectionOfObjectValues(UriClickSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userStates", n => { UserStates = n.GetCollectionOfObjectValues(UserSecurityState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "vendorInformation", n => { VendorInformation = n.GetObjectValue(SecurityVendorInformation.CreateFromDiscriminatorValue); } }, + { "vulnerabilityStates", n => { VulnerabilityStates = n.GetCollectionOfObjectValues(VulnerabilityState.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AlertCollectionResponse.cs b/src/generated/Models/AlertCollectionResponse.cs index 80da443266..f9ddda4fcf 100644 --- a/src/generated/Models/AlertCollectionResponse.cs +++ b/src/generated/Models/AlertCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlertCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlertCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Alert.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Alert.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AlertDetection.cs b/src/generated/Models/AlertDetection.cs index 1649742ef1..f08db15724 100644 --- a/src/generated/Models/AlertDetection.cs +++ b/src/generated/Models/AlertDetection.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlertDetection : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlertDetection : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"detectionType", n => { DetectionType = n.GetStringValue(); } }, - {"method", n => { Method = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "detectionType", n => { DetectionType = n.GetStringValue(); } }, + { "method", n => { Method = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AlertFeedback.cs b/src/generated/Models/AlertFeedback.cs index 42e247bdb5..48ec256851 100644 --- a/src/generated/Models/AlertFeedback.cs +++ b/src/generated/Models/AlertFeedback.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AlertFeedback + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "truePositive")] + #pragma warning disable CS1591 TruePositive, + #pragma warning restore CS1591 [EnumMember(Value = "falsePositive")] + #pragma warning disable CS1591 FalsePositive, + #pragma warning restore CS1591 [EnumMember(Value = "benignPositive")] + #pragma warning disable CS1591 BenignPositive, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AlertHistoryState.cs b/src/generated/Models/AlertHistoryState.cs index bbef446785..f2c33fc8bb 100644 --- a/src/generated/Models/AlertHistoryState.cs +++ b/src/generated/Models/AlertHistoryState.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlertHistoryState : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlertHistoryState : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -80,14 +83,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appId", n => { AppId = n.GetStringValue(); } }, - {"assignedTo", n => { AssignedTo = n.GetStringValue(); } }, - {"comments", n => { Comments = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"feedback", n => { Feedback = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"updatedDateTime", n => { UpdatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"user", n => { User = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "comments", n => { Comments = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "feedback", n => { Feedback = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "updatedDateTime", n => { UpdatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "user", n => { User = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AlertSeverity.cs b/src/generated/Models/AlertSeverity.cs index eec468a34b..a97b4a31ac 100644 --- a/src/generated/Models/AlertSeverity.cs +++ b/src/generated/Models/AlertSeverity.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AlertSeverity + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "informational")] + #pragma warning disable CS1591 Informational, + #pragma warning restore CS1591 [EnumMember(Value = "low")] + #pragma warning disable CS1591 Low, + #pragma warning restore CS1591 [EnumMember(Value = "medium")] + #pragma warning disable CS1591 Medium, + #pragma warning restore CS1591 [EnumMember(Value = "high")] + #pragma warning disable CS1591 High, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AlertStatus.cs b/src/generated/Models/AlertStatus.cs index a268f1552e..e97dfc111d 100644 --- a/src/generated/Models/AlertStatus.cs +++ b/src/generated/Models/AlertStatus.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AlertStatus + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "newAlert")] + #pragma warning disable CS1591 NewAlert, + #pragma warning restore CS1591 [EnumMember(Value = "inProgress")] + #pragma warning disable CS1591 InProgress, + #pragma warning restore CS1591 [EnumMember(Value = "resolved")] + #pragma warning disable CS1591 Resolved, + #pragma warning restore CS1591 [EnumMember(Value = "dismissed")] + #pragma warning disable CS1591 Dismissed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AlertTrigger.cs b/src/generated/Models/AlertTrigger.cs index 7917489062..738591d02c 100644 --- a/src/generated/Models/AlertTrigger.cs +++ b/src/generated/Models/AlertTrigger.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlertTrigger : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlertTrigger : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AllDeviceRegistrationMembership.cs b/src/generated/Models/AllDeviceRegistrationMembership.cs index 3823f2bfdb..06c9bbd8a7 100644 --- a/src/generated/Models/AllDeviceRegistrationMembership.cs +++ b/src/generated/Models/AllDeviceRegistrationMembership.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AllDeviceRegistrationMembership : DeviceRegistrationMembership, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AllDeviceRegistrationMembership : DeviceRegistrationMembership, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AllDevicesAssignmentTarget.cs b/src/generated/Models/AllDevicesAssignmentTarget.cs index 86fdcc9a2d..09b89e0f0b 100644 --- a/src/generated/Models/AllDevicesAssignmentTarget.cs +++ b/src/generated/Models/AllDevicesAssignmentTarget.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents an assignment to all managed devices in the tenant. /// - public class AllDevicesAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable + public class AllDevicesAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AllLicensedUsersAssignmentTarget.cs b/src/generated/Models/AllLicensedUsersAssignmentTarget.cs index 7f336ae190..4299360692 100644 --- a/src/generated/Models/AllLicensedUsersAssignmentTarget.cs +++ b/src/generated/Models/AllLicensedUsersAssignmentTarget.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents an assignment to all licensed users in the tenant. /// - public class AllLicensedUsersAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable + public class AllLicensedUsersAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AllowInvitesFrom.cs b/src/generated/Models/AllowInvitesFrom.cs index 13bb988723..9a386a4f56 100644 --- a/src/generated/Models/AllowInvitesFrom.cs +++ b/src/generated/Models/AllowInvitesFrom.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AllowInvitesFrom + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "adminsAndGuestInviters")] + #pragma warning disable CS1591 AdminsAndGuestInviters, + #pragma warning restore CS1591 [EnumMember(Value = "adminsGuestInvitersAndAllMembers")] + #pragma warning disable CS1591 AdminsGuestInvitersAndAllMembers, + #pragma warning restore CS1591 [EnumMember(Value = "everyone")] + #pragma warning disable CS1591 Everyone, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AllowedTargetScope.cs b/src/generated/Models/AllowedTargetScope.cs index c4a8149818..9187a88032 100644 --- a/src/generated/Models/AllowedTargetScope.cs +++ b/src/generated/Models/AllowedTargetScope.cs @@ -1,28 +1,51 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AllowedTargetScope + #pragma warning restore CS1591 { [EnumMember(Value = "notSpecified")] + #pragma warning disable CS1591 NotSpecified, + #pragma warning restore CS1591 [EnumMember(Value = "specificDirectoryUsers")] + #pragma warning disable CS1591 SpecificDirectoryUsers, + #pragma warning restore CS1591 [EnumMember(Value = "specificConnectedOrganizationUsers")] + #pragma warning disable CS1591 SpecificConnectedOrganizationUsers, + #pragma warning restore CS1591 [EnumMember(Value = "specificDirectoryServicePrincipals")] + #pragma warning disable CS1591 SpecificDirectoryServicePrincipals, + #pragma warning restore CS1591 [EnumMember(Value = "allMemberUsers")] + #pragma warning disable CS1591 AllMemberUsers, + #pragma warning restore CS1591 [EnumMember(Value = "allDirectoryUsers")] + #pragma warning disable CS1591 AllDirectoryUsers, + #pragma warning restore CS1591 [EnumMember(Value = "allDirectoryServicePrincipals")] + #pragma warning disable CS1591 AllDirectoryServicePrincipals, + #pragma warning restore CS1591 [EnumMember(Value = "allConfiguredConnectedOrganizationUsers")] + #pragma warning disable CS1591 AllConfiguredConnectedOrganizationUsers, + #pragma warning restore CS1591 [EnumMember(Value = "allExternalUsers")] + #pragma warning disable CS1591 AllExternalUsers, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AllowedValue.cs b/src/generated/Models/AllowedValue.cs index 2babf38b4d..f2e8d12f4f 100644 --- a/src/generated/Models/AllowedValue.cs +++ b/src/generated/Models/AllowedValue.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AllowedValue : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AllowedValue : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any other supported directory objects. public bool? IsActive { get; set; } @@ -27,7 +30,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isActive", n => { IsActive = n.GetBoolValue(); } }, + { "isActive", n => { IsActive = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AllowedValueCollectionResponse.cs b/src/generated/Models/AllowedValueCollectionResponse.cs index fd4fe6f08e..159be2db3d 100644 --- a/src/generated/Models/AllowedValueCollectionResponse.cs +++ b/src/generated/Models/AllowedValueCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AllowedValueCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AllowedValueCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AllowedValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AllowedValue.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AlterationResponse.cs b/src/generated/Models/AlterationResponse.cs index 6f67e3997b..4e958f0d8d 100644 --- a/src/generated/Models/AlterationResponse.cs +++ b/src/generated/Models/AlterationResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlterationResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlterationResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"originalQueryString", n => { OriginalQueryString = n.GetStringValue(); } }, - {"queryAlteration", n => { QueryAlteration = n.GetObjectValue(SearchAlteration.CreateFromDiscriminatorValue); } }, - {"queryAlterationType", n => { QueryAlterationType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "originalQueryString", n => { OriginalQueryString = n.GetStringValue(); } }, + { "queryAlteration", n => { QueryAlteration = n.GetObjectValue(SearchAlteration.CreateFromDiscriminatorValue); } }, + { "queryAlterationType", n => { QueryAlterationType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AlteredQueryToken.cs b/src/generated/Models/AlteredQueryToken.cs index c9aaddc379..9da6f8c884 100644 --- a/src/generated/Models/AlteredQueryToken.cs +++ b/src/generated/Models/AlteredQueryToken.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlteredQueryToken : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlteredQueryToken : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"length", n => { Length = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"offset", n => { Offset = n.GetIntValue(); } }, - {"suggestion", n => { Suggestion = n.GetStringValue(); } }, + { "length", n => { Length = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offset", n => { Offset = n.GetIntValue(); } }, + { "suggestion", n => { Suggestion = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AlternativeSecurityId.cs b/src/generated/Models/AlternativeSecurityId.cs index fa811e323c..e18252cf33 100644 --- a/src/generated/Models/AlternativeSecurityId.cs +++ b/src/generated/Models/AlternativeSecurityId.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AlternativeSecurityId : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AlternativeSecurityId : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"identityProvider", n => { IdentityProvider = n.GetStringValue(); } }, - {"key", n => { Key = n.GetByteArrayValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetIntValue(); } }, + { "identityProvider", n => { IdentityProvider = n.GetStringValue(); } }, + { "key", n => { Key = n.GetByteArrayValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidCompliancePolicy.cs b/src/generated/Models/AndroidCompliancePolicy.cs index 6f78627b24..49f149f998 100644 --- a/src/generated/Models/AndroidCompliancePolicy.cs +++ b/src/generated/Models/AndroidCompliancePolicy.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This class contains compliance settings for Android. /// - public class AndroidCompliancePolicy : DeviceCompliancePolicy, IParsable + public class AndroidCompliancePolicy : DeviceCompliancePolicy, IParsable { /// Require that devices have enabled device threat protection. public bool? DeviceThreatProtectionEnabled { get; set; } @@ -95,27 +96,27 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deviceThreatProtectionEnabled", n => { DeviceThreatProtectionEnabled = n.GetBoolValue(); } }, - {"deviceThreatProtectionRequiredSecurityLevel", n => { DeviceThreatProtectionRequiredSecurityLevel = n.GetEnumValue(); } }, - {"minAndroidSecurityPatchLevel", n => { MinAndroidSecurityPatchLevel = n.GetStringValue(); } }, - {"osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, - {"osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, - {"passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, - {"passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, - {"passwordMinutesOfInactivityBeforeLock", n => { PasswordMinutesOfInactivityBeforeLock = n.GetIntValue(); } }, - {"passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, - {"passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, - {"passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, - {"securityBlockJailbrokenDevices", n => { SecurityBlockJailbrokenDevices = n.GetBoolValue(); } }, - {"securityDisableUsbDebugging", n => { SecurityDisableUsbDebugging = n.GetBoolValue(); } }, - {"securityPreventInstallAppsFromUnknownSources", n => { SecurityPreventInstallAppsFromUnknownSources = n.GetBoolValue(); } }, - {"securityRequireCompanyPortalAppIntegrity", n => { SecurityRequireCompanyPortalAppIntegrity = n.GetBoolValue(); } }, - {"securityRequireGooglePlayServices", n => { SecurityRequireGooglePlayServices = n.GetBoolValue(); } }, - {"securityRequireSafetyNetAttestationBasicIntegrity", n => { SecurityRequireSafetyNetAttestationBasicIntegrity = n.GetBoolValue(); } }, - {"securityRequireSafetyNetAttestationCertifiedDevice", n => { SecurityRequireSafetyNetAttestationCertifiedDevice = n.GetBoolValue(); } }, - {"securityRequireUpToDateSecurityProviders", n => { SecurityRequireUpToDateSecurityProviders = n.GetBoolValue(); } }, - {"securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, - {"storageRequireEncryption", n => { StorageRequireEncryption = n.GetBoolValue(); } }, + { "deviceThreatProtectionEnabled", n => { DeviceThreatProtectionEnabled = n.GetBoolValue(); } }, + { "deviceThreatProtectionRequiredSecurityLevel", n => { DeviceThreatProtectionRequiredSecurityLevel = n.GetEnumValue(); } }, + { "minAndroidSecurityPatchLevel", n => { MinAndroidSecurityPatchLevel = n.GetStringValue(); } }, + { "osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, + { "osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, + { "passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, + { "passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, + { "passwordMinutesOfInactivityBeforeLock", n => { PasswordMinutesOfInactivityBeforeLock = n.GetIntValue(); } }, + { "passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, + { "passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, + { "passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, + { "securityBlockJailbrokenDevices", n => { SecurityBlockJailbrokenDevices = n.GetBoolValue(); } }, + { "securityDisableUsbDebugging", n => { SecurityDisableUsbDebugging = n.GetBoolValue(); } }, + { "securityPreventInstallAppsFromUnknownSources", n => { SecurityPreventInstallAppsFromUnknownSources = n.GetBoolValue(); } }, + { "securityRequireCompanyPortalAppIntegrity", n => { SecurityRequireCompanyPortalAppIntegrity = n.GetBoolValue(); } }, + { "securityRequireGooglePlayServices", n => { SecurityRequireGooglePlayServices = n.GetBoolValue(); } }, + { "securityRequireSafetyNetAttestationBasicIntegrity", n => { SecurityRequireSafetyNetAttestationBasicIntegrity = n.GetBoolValue(); } }, + { "securityRequireSafetyNetAttestationCertifiedDevice", n => { SecurityRequireSafetyNetAttestationCertifiedDevice = n.GetBoolValue(); } }, + { "securityRequireUpToDateSecurityProviders", n => { SecurityRequireUpToDateSecurityProviders = n.GetBoolValue(); } }, + { "securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, + { "storageRequireEncryption", n => { StorageRequireEncryption = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidCustomConfiguration.cs b/src/generated/Models/AndroidCustomConfiguration.cs index 41360a351a..86ffca46d1 100644 --- a/src/generated/Models/AndroidCustomConfiguration.cs +++ b/src/generated/Models/AndroidCustomConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This topic provides descriptions of the declared methods, properties and relationships exposed by the androidCustomConfiguration resource. /// - public class AndroidCustomConfiguration : DeviceConfiguration, IParsable + public class AndroidCustomConfiguration : DeviceConfiguration, IParsable { /// OMA settings. This collection can contain a maximum of 1000 elements. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +44,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"omaSettings", n => { OmaSettings = n.GetCollectionOfObjectValues(OmaSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "omaSettings", n => { OmaSettings = n.GetCollectionOfObjectValues(OmaSetting.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AndroidGeneralDeviceConfiguration.cs b/src/generated/Models/AndroidGeneralDeviceConfiguration.cs index c1e4888d90..71d6a61b81 100644 --- a/src/generated/Models/AndroidGeneralDeviceConfiguration.cs +++ b/src/generated/Models/AndroidGeneralDeviceConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This topic provides descriptions of the declared methods, properties and relationships exposed by the androidGeneralDeviceConfiguration resource. /// - public class AndroidGeneralDeviceConfiguration : DeviceConfiguration, IParsable + public class AndroidGeneralDeviceConfiguration : DeviceConfiguration, IParsable { /// Indicates whether or not to block clipboard sharing to copy and paste between applications. public bool? AppsBlockClipboardSharing { get; set; } @@ -161,54 +162,54 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appsBlockClipboardSharing", n => { AppsBlockClipboardSharing = n.GetBoolValue(); } }, - {"appsBlockCopyPaste", n => { AppsBlockCopyPaste = n.GetBoolValue(); } }, - {"appsBlockYouTube", n => { AppsBlockYouTube = n.GetBoolValue(); } }, - {"appsHideList", n => { AppsHideList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"appsInstallAllowList", n => { AppsInstallAllowList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"appsLaunchBlockList", n => { AppsLaunchBlockList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"bluetoothBlocked", n => { BluetoothBlocked = n.GetBoolValue(); } }, - {"cameraBlocked", n => { CameraBlocked = n.GetBoolValue(); } }, - {"cellularBlockDataRoaming", n => { CellularBlockDataRoaming = n.GetBoolValue(); } }, - {"cellularBlockMessaging", n => { CellularBlockMessaging = n.GetBoolValue(); } }, - {"cellularBlockVoiceRoaming", n => { CellularBlockVoiceRoaming = n.GetBoolValue(); } }, - {"cellularBlockWiFiTethering", n => { CellularBlockWiFiTethering = n.GetBoolValue(); } }, - {"compliantAppListType", n => { CompliantAppListType = n.GetEnumValue(); } }, - {"compliantAppsList", n => { CompliantAppsList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceSharingAllowed", n => { DeviceSharingAllowed = n.GetBoolValue(); } }, - {"diagnosticDataBlockSubmission", n => { DiagnosticDataBlockSubmission = n.GetBoolValue(); } }, - {"factoryResetBlocked", n => { FactoryResetBlocked = n.GetBoolValue(); } }, - {"googleAccountBlockAutoSync", n => { GoogleAccountBlockAutoSync = n.GetBoolValue(); } }, - {"googlePlayStoreBlocked", n => { GooglePlayStoreBlocked = n.GetBoolValue(); } }, - {"kioskModeApps", n => { KioskModeApps = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"kioskModeBlockSleepButton", n => { KioskModeBlockSleepButton = n.GetBoolValue(); } }, - {"kioskModeBlockVolumeButtons", n => { KioskModeBlockVolumeButtons = n.GetBoolValue(); } }, - {"locationServicesBlocked", n => { LocationServicesBlocked = n.GetBoolValue(); } }, - {"nfcBlocked", n => { NfcBlocked = n.GetBoolValue(); } }, - {"passwordBlockFingerprintUnlock", n => { PasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, - {"passwordBlockTrustAgents", n => { PasswordBlockTrustAgents = n.GetBoolValue(); } }, - {"passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, - {"passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, - {"passwordMinutesOfInactivityBeforeScreenTimeout", n => { PasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, - {"passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, - {"passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, - {"passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, - {"passwordSignInFailureCountBeforeFactoryReset", n => { PasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, - {"powerOffBlocked", n => { PowerOffBlocked = n.GetBoolValue(); } }, - {"screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, - {"securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, - {"storageBlockGoogleBackup", n => { StorageBlockGoogleBackup = n.GetBoolValue(); } }, - {"storageBlockRemovableStorage", n => { StorageBlockRemovableStorage = n.GetBoolValue(); } }, - {"storageRequireDeviceEncryption", n => { StorageRequireDeviceEncryption = n.GetBoolValue(); } }, - {"storageRequireRemovableStorageEncryption", n => { StorageRequireRemovableStorageEncryption = n.GetBoolValue(); } }, - {"voiceAssistantBlocked", n => { VoiceAssistantBlocked = n.GetBoolValue(); } }, - {"voiceDialingBlocked", n => { VoiceDialingBlocked = n.GetBoolValue(); } }, - {"webBrowserBlockAutofill", n => { WebBrowserBlockAutofill = n.GetBoolValue(); } }, - {"webBrowserBlockJavaScript", n => { WebBrowserBlockJavaScript = n.GetBoolValue(); } }, - {"webBrowserBlockPopups", n => { WebBrowserBlockPopups = n.GetBoolValue(); } }, - {"webBrowserBlocked", n => { WebBrowserBlocked = n.GetBoolValue(); } }, - {"webBrowserCookieSettings", n => { WebBrowserCookieSettings = n.GetEnumValue(); } }, - {"wiFiBlocked", n => { WiFiBlocked = n.GetBoolValue(); } }, + { "appsBlockClipboardSharing", n => { AppsBlockClipboardSharing = n.GetBoolValue(); } }, + { "appsBlockCopyPaste", n => { AppsBlockCopyPaste = n.GetBoolValue(); } }, + { "appsBlockYouTube", n => { AppsBlockYouTube = n.GetBoolValue(); } }, + { "appsHideList", n => { AppsHideList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appsInstallAllowList", n => { AppsInstallAllowList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appsLaunchBlockList", n => { AppsLaunchBlockList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "bluetoothBlocked", n => { BluetoothBlocked = n.GetBoolValue(); } }, + { "cameraBlocked", n => { CameraBlocked = n.GetBoolValue(); } }, + { "cellularBlockDataRoaming", n => { CellularBlockDataRoaming = n.GetBoolValue(); } }, + { "cellularBlockMessaging", n => { CellularBlockMessaging = n.GetBoolValue(); } }, + { "cellularBlockVoiceRoaming", n => { CellularBlockVoiceRoaming = n.GetBoolValue(); } }, + { "cellularBlockWiFiTethering", n => { CellularBlockWiFiTethering = n.GetBoolValue(); } }, + { "compliantAppListType", n => { CompliantAppListType = n.GetEnumValue(); } }, + { "compliantAppsList", n => { CompliantAppsList = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceSharingAllowed", n => { DeviceSharingAllowed = n.GetBoolValue(); } }, + { "diagnosticDataBlockSubmission", n => { DiagnosticDataBlockSubmission = n.GetBoolValue(); } }, + { "factoryResetBlocked", n => { FactoryResetBlocked = n.GetBoolValue(); } }, + { "googleAccountBlockAutoSync", n => { GoogleAccountBlockAutoSync = n.GetBoolValue(); } }, + { "googlePlayStoreBlocked", n => { GooglePlayStoreBlocked = n.GetBoolValue(); } }, + { "kioskModeApps", n => { KioskModeApps = n.GetCollectionOfObjectValues(AppListItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "kioskModeBlockSleepButton", n => { KioskModeBlockSleepButton = n.GetBoolValue(); } }, + { "kioskModeBlockVolumeButtons", n => { KioskModeBlockVolumeButtons = n.GetBoolValue(); } }, + { "locationServicesBlocked", n => { LocationServicesBlocked = n.GetBoolValue(); } }, + { "nfcBlocked", n => { NfcBlocked = n.GetBoolValue(); } }, + { "passwordBlockFingerprintUnlock", n => { PasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, + { "passwordBlockTrustAgents", n => { PasswordBlockTrustAgents = n.GetBoolValue(); } }, + { "passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, + { "passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, + { "passwordMinutesOfInactivityBeforeScreenTimeout", n => { PasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, + { "passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, + { "passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, + { "passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, + { "passwordSignInFailureCountBeforeFactoryReset", n => { PasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, + { "powerOffBlocked", n => { PowerOffBlocked = n.GetBoolValue(); } }, + { "screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, + { "securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, + { "storageBlockGoogleBackup", n => { StorageBlockGoogleBackup = n.GetBoolValue(); } }, + { "storageBlockRemovableStorage", n => { StorageBlockRemovableStorage = n.GetBoolValue(); } }, + { "storageRequireDeviceEncryption", n => { StorageRequireDeviceEncryption = n.GetBoolValue(); } }, + { "storageRequireRemovableStorageEncryption", n => { StorageRequireRemovableStorageEncryption = n.GetBoolValue(); } }, + { "voiceAssistantBlocked", n => { VoiceAssistantBlocked = n.GetBoolValue(); } }, + { "voiceDialingBlocked", n => { VoiceDialingBlocked = n.GetBoolValue(); } }, + { "webBrowserBlockAutofill", n => { WebBrowserBlockAutofill = n.GetBoolValue(); } }, + { "webBrowserBlockJavaScript", n => { WebBrowserBlockJavaScript = n.GetBoolValue(); } }, + { "webBrowserBlockPopups", n => { WebBrowserBlockPopups = n.GetBoolValue(); } }, + { "webBrowserBlocked", n => { WebBrowserBlocked = n.GetBoolValue(); } }, + { "webBrowserCookieSettings", n => { WebBrowserCookieSettings = n.GetEnumValue(); } }, + { "wiFiBlocked", n => { WiFiBlocked = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidLobApp.cs b/src/generated/Models/AndroidLobApp.cs index f6643154ee..d976bea6ae 100644 --- a/src/generated/Models/AndroidLobApp.cs +++ b/src/generated/Models/AndroidLobApp.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties and inherited properties for Android Line Of Business apps. /// - public class AndroidLobApp : MobileLobApp, IParsable + public class AndroidLobApp : MobileLobApp, IParsable { /// The value for the minimum applicable operating system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -67,10 +68,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"minimumSupportedOperatingSystem", n => { MinimumSupportedOperatingSystem = n.GetObjectValue(AndroidMinimumOperatingSystem.CreateFromDiscriminatorValue); } }, - {"packageId", n => { PackageId = n.GetStringValue(); } }, - {"versionCode", n => { VersionCode = n.GetStringValue(); } }, - {"versionName", n => { VersionName = n.GetStringValue(); } }, + { "minimumSupportedOperatingSystem", n => { MinimumSupportedOperatingSystem = n.GetObjectValue(AndroidMinimumOperatingSystem.CreateFromDiscriminatorValue); } }, + { "packageId", n => { PackageId = n.GetStringValue(); } }, + { "versionCode", n => { VersionCode = n.GetStringValue(); } }, + { "versionName", n => { VersionName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidLobAppCollectionResponse.cs b/src/generated/Models/AndroidLobAppCollectionResponse.cs index 59bb728cae..ef22880174 100644 --- a/src/generated/Models/AndroidLobAppCollectionResponse.cs +++ b/src/generated/Models/AndroidLobAppCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AndroidLobAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AndroidLobAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AndroidLobApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AndroidLobApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AndroidManagedAppProtection.cs b/src/generated/Models/AndroidManagedAppProtection.cs index 65d31d20df..12fe942f36 100644 --- a/src/generated/Models/AndroidManagedAppProtection.cs +++ b/src/generated/Models/AndroidManagedAppProtection.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an Android device /// - public class AndroidManagedAppProtection : TargetedManagedAppProtection, IParsable + public class AndroidManagedAppProtection : TargetedManagedAppProtection, IParsable { /// List of apps to which the policy is deployed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -91,16 +92,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customBrowserDisplayName", n => { CustomBrowserDisplayName = n.GetStringValue(); } }, - {"customBrowserPackageId", n => { CustomBrowserPackageId = n.GetStringValue(); } }, - {"deployedAppCount", n => { DeployedAppCount = n.GetIntValue(); } }, - {"deploymentSummary", n => { DeploymentSummary = n.GetObjectValue(ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue); } }, - {"disableAppEncryptionIfDeviceEncryptionIsEnabled", n => { DisableAppEncryptionIfDeviceEncryptionIsEnabled = n.GetBoolValue(); } }, - {"encryptAppData", n => { EncryptAppData = n.GetBoolValue(); } }, - {"minimumRequiredPatchVersion", n => { MinimumRequiredPatchVersion = n.GetStringValue(); } }, - {"minimumWarningPatchVersion", n => { MinimumWarningPatchVersion = n.GetStringValue(); } }, - {"screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customBrowserDisplayName", n => { CustomBrowserDisplayName = n.GetStringValue(); } }, + { "customBrowserPackageId", n => { CustomBrowserPackageId = n.GetStringValue(); } }, + { "deployedAppCount", n => { DeployedAppCount = n.GetIntValue(); } }, + { "deploymentSummary", n => { DeploymentSummary = n.GetObjectValue(ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue); } }, + { "disableAppEncryptionIfDeviceEncryptionIsEnabled", n => { DisableAppEncryptionIfDeviceEncryptionIsEnabled = n.GetBoolValue(); } }, + { "encryptAppData", n => { EncryptAppData = n.GetBoolValue(); } }, + { "minimumRequiredPatchVersion", n => { MinimumRequiredPatchVersion = n.GetStringValue(); } }, + { "minimumWarningPatchVersion", n => { MinimumWarningPatchVersion = n.GetStringValue(); } }, + { "screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidManagedAppProtectionCollectionResponse.cs b/src/generated/Models/AndroidManagedAppProtectionCollectionResponse.cs index a8ed855773..e97e7bacaa 100644 --- a/src/generated/Models/AndroidManagedAppProtectionCollectionResponse.cs +++ b/src/generated/Models/AndroidManagedAppProtectionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AndroidManagedAppProtectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AndroidManagedAppProtectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AndroidManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AndroidManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AndroidManagedAppRegistration.cs b/src/generated/Models/AndroidManagedAppRegistration.cs index 2b9b2b031f..b4f65e4380 100644 --- a/src/generated/Models/AndroidManagedAppRegistration.cs +++ b/src/generated/Models/AndroidManagedAppRegistration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents the synchronization details of an android app, with management capabilities, for a specific user. /// - public class AndroidManagedAppRegistration : ManagedAppRegistration, IParsable + public class AndroidManagedAppRegistration : ManagedAppRegistration, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AndroidMinimumOperatingSystem.cs b/src/generated/Models/AndroidMinimumOperatingSystem.cs index 48e5158175..1e37f7a220 100644 --- a/src/generated/Models/AndroidMinimumOperatingSystem.cs +++ b/src/generated/Models/AndroidMinimumOperatingSystem.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties for the minimum operating system required for an Android mobile app. /// - public class AndroidMinimumOperatingSystem : IAdditionalDataHolder, IParsable + public class AndroidMinimumOperatingSystem : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -77,23 +78,23 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"v10_0", n => { V100 = n.GetBoolValue(); } }, - {"v11_0", n => { V110 = n.GetBoolValue(); } }, - {"v4_0", n => { V40 = n.GetBoolValue(); } }, - {"v4_0_3", n => { V403 = n.GetBoolValue(); } }, - {"v4_1", n => { V41 = n.GetBoolValue(); } }, - {"v4_2", n => { V42 = n.GetBoolValue(); } }, - {"v4_3", n => { V43 = n.GetBoolValue(); } }, - {"v4_4", n => { V44 = n.GetBoolValue(); } }, - {"v5_0", n => { V50 = n.GetBoolValue(); } }, - {"v5_1", n => { V51 = n.GetBoolValue(); } }, - {"v6_0", n => { V60 = n.GetBoolValue(); } }, - {"v7_0", n => { V70 = n.GetBoolValue(); } }, - {"v7_1", n => { V71 = n.GetBoolValue(); } }, - {"v8_0", n => { V80 = n.GetBoolValue(); } }, - {"v8_1", n => { V81 = n.GetBoolValue(); } }, - {"v9_0", n => { V90 = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "v10_0", n => { V100 = n.GetBoolValue(); } }, + { "v11_0", n => { V110 = n.GetBoolValue(); } }, + { "v4_0", n => { V40 = n.GetBoolValue(); } }, + { "v4_0_3", n => { V403 = n.GetBoolValue(); } }, + { "v4_1", n => { V41 = n.GetBoolValue(); } }, + { "v4_2", n => { V42 = n.GetBoolValue(); } }, + { "v4_3", n => { V43 = n.GetBoolValue(); } }, + { "v4_4", n => { V44 = n.GetBoolValue(); } }, + { "v5_0", n => { V50 = n.GetBoolValue(); } }, + { "v5_1", n => { V51 = n.GetBoolValue(); } }, + { "v6_0", n => { V60 = n.GetBoolValue(); } }, + { "v7_0", n => { V70 = n.GetBoolValue(); } }, + { "v7_1", n => { V71 = n.GetBoolValue(); } }, + { "v8_0", n => { V80 = n.GetBoolValue(); } }, + { "v8_1", n => { V81 = n.GetBoolValue(); } }, + { "v9_0", n => { V90 = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidMobileAppIdentifier.cs b/src/generated/Models/AndroidMobileAppIdentifier.cs index 3da8ec07fc..39da9bed88 100644 --- a/src/generated/Models/AndroidMobileAppIdentifier.cs +++ b/src/generated/Models/AndroidMobileAppIdentifier.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The identifier for an Android app. /// - public class AndroidMobileAppIdentifier : MobileAppIdentifier, IParsable + public class AndroidMobileAppIdentifier : MobileAppIdentifier, IParsable { /// The identifier for an app, as specified in the play store. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +44,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"packageId", n => { PackageId = n.GetStringValue(); } }, + { "packageId", n => { PackageId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidRequiredPasswordType.cs b/src/generated/Models/AndroidRequiredPasswordType.cs index cd5fa5e451..9a5279cad0 100644 --- a/src/generated/Models/AndroidRequiredPasswordType.cs +++ b/src/generated/Models/AndroidRequiredPasswordType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Android required password type. public enum AndroidRequiredPasswordType { diff --git a/src/generated/Models/AndroidStoreApp.cs b/src/generated/Models/AndroidStoreApp.cs index ec619dc7f4..c3be7b9365 100644 --- a/src/generated/Models/AndroidStoreApp.cs +++ b/src/generated/Models/AndroidStoreApp.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties and inherited properties for Android store apps. /// - public class AndroidStoreApp : MobileApp, IParsable + public class AndroidStoreApp : MobileApp, IParsable { /// The Android app store URL. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -59,9 +60,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appStoreUrl", n => { AppStoreUrl = n.GetStringValue(); } }, - {"minimumSupportedOperatingSystem", n => { MinimumSupportedOperatingSystem = n.GetObjectValue(AndroidMinimumOperatingSystem.CreateFromDiscriminatorValue); } }, - {"packageId", n => { PackageId = n.GetStringValue(); } }, + { "appStoreUrl", n => { AppStoreUrl = n.GetStringValue(); } }, + { "minimumSupportedOperatingSystem", n => { MinimumSupportedOperatingSystem = n.GetObjectValue(AndroidMinimumOperatingSystem.CreateFromDiscriminatorValue); } }, + { "packageId", n => { PackageId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidStoreAppCollectionResponse.cs b/src/generated/Models/AndroidStoreAppCollectionResponse.cs index 17c198f6ad..c7a29dd328 100644 --- a/src/generated/Models/AndroidStoreAppCollectionResponse.cs +++ b/src/generated/Models/AndroidStoreAppCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AndroidStoreAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AndroidStoreAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AndroidStoreApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AndroidStoreApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AndroidWorkProfileCompliancePolicy.cs b/src/generated/Models/AndroidWorkProfileCompliancePolicy.cs index 20ed2fbe62..57e1b98f37 100644 --- a/src/generated/Models/AndroidWorkProfileCompliancePolicy.cs +++ b/src/generated/Models/AndroidWorkProfileCompliancePolicy.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This class contains compliance settings for Android Work Profile. /// - public class AndroidWorkProfileCompliancePolicy : DeviceCompliancePolicy, IParsable + public class AndroidWorkProfileCompliancePolicy : DeviceCompliancePolicy, IParsable { /// Require that devices have enabled device threat protection. public bool? DeviceThreatProtectionEnabled { get; set; } @@ -95,27 +96,27 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deviceThreatProtectionEnabled", n => { DeviceThreatProtectionEnabled = n.GetBoolValue(); } }, - {"deviceThreatProtectionRequiredSecurityLevel", n => { DeviceThreatProtectionRequiredSecurityLevel = n.GetEnumValue(); } }, - {"minAndroidSecurityPatchLevel", n => { MinAndroidSecurityPatchLevel = n.GetStringValue(); } }, - {"osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, - {"osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, - {"passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, - {"passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, - {"passwordMinutesOfInactivityBeforeLock", n => { PasswordMinutesOfInactivityBeforeLock = n.GetIntValue(); } }, - {"passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, - {"passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, - {"passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, - {"securityBlockJailbrokenDevices", n => { SecurityBlockJailbrokenDevices = n.GetBoolValue(); } }, - {"securityDisableUsbDebugging", n => { SecurityDisableUsbDebugging = n.GetBoolValue(); } }, - {"securityPreventInstallAppsFromUnknownSources", n => { SecurityPreventInstallAppsFromUnknownSources = n.GetBoolValue(); } }, - {"securityRequireCompanyPortalAppIntegrity", n => { SecurityRequireCompanyPortalAppIntegrity = n.GetBoolValue(); } }, - {"securityRequireGooglePlayServices", n => { SecurityRequireGooglePlayServices = n.GetBoolValue(); } }, - {"securityRequireSafetyNetAttestationBasicIntegrity", n => { SecurityRequireSafetyNetAttestationBasicIntegrity = n.GetBoolValue(); } }, - {"securityRequireSafetyNetAttestationCertifiedDevice", n => { SecurityRequireSafetyNetAttestationCertifiedDevice = n.GetBoolValue(); } }, - {"securityRequireUpToDateSecurityProviders", n => { SecurityRequireUpToDateSecurityProviders = n.GetBoolValue(); } }, - {"securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, - {"storageRequireEncryption", n => { StorageRequireEncryption = n.GetBoolValue(); } }, + { "deviceThreatProtectionEnabled", n => { DeviceThreatProtectionEnabled = n.GetBoolValue(); } }, + { "deviceThreatProtectionRequiredSecurityLevel", n => { DeviceThreatProtectionRequiredSecurityLevel = n.GetEnumValue(); } }, + { "minAndroidSecurityPatchLevel", n => { MinAndroidSecurityPatchLevel = n.GetStringValue(); } }, + { "osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, + { "osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, + { "passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, + { "passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, + { "passwordMinutesOfInactivityBeforeLock", n => { PasswordMinutesOfInactivityBeforeLock = n.GetIntValue(); } }, + { "passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, + { "passwordRequired", n => { PasswordRequired = n.GetBoolValue(); } }, + { "passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, + { "securityBlockJailbrokenDevices", n => { SecurityBlockJailbrokenDevices = n.GetBoolValue(); } }, + { "securityDisableUsbDebugging", n => { SecurityDisableUsbDebugging = n.GetBoolValue(); } }, + { "securityPreventInstallAppsFromUnknownSources", n => { SecurityPreventInstallAppsFromUnknownSources = n.GetBoolValue(); } }, + { "securityRequireCompanyPortalAppIntegrity", n => { SecurityRequireCompanyPortalAppIntegrity = n.GetBoolValue(); } }, + { "securityRequireGooglePlayServices", n => { SecurityRequireGooglePlayServices = n.GetBoolValue(); } }, + { "securityRequireSafetyNetAttestationBasicIntegrity", n => { SecurityRequireSafetyNetAttestationBasicIntegrity = n.GetBoolValue(); } }, + { "securityRequireSafetyNetAttestationCertifiedDevice", n => { SecurityRequireSafetyNetAttestationCertifiedDevice = n.GetBoolValue(); } }, + { "securityRequireUpToDateSecurityProviders", n => { SecurityRequireUpToDateSecurityProviders = n.GetBoolValue(); } }, + { "securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, + { "storageRequireEncryption", n => { StorageRequireEncryption = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidWorkProfileCrossProfileDataSharingType.cs b/src/generated/Models/AndroidWorkProfileCrossProfileDataSharingType.cs index c79a039b94..ecc39930b7 100644 --- a/src/generated/Models/AndroidWorkProfileCrossProfileDataSharingType.cs +++ b/src/generated/Models/AndroidWorkProfileCrossProfileDataSharingType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Android Work Profile cross profile data sharing type. public enum AndroidWorkProfileCrossProfileDataSharingType { diff --git a/src/generated/Models/AndroidWorkProfileCustomConfiguration.cs b/src/generated/Models/AndroidWorkProfileCustomConfiguration.cs index 1012c4047d..e8e948950d 100644 --- a/src/generated/Models/AndroidWorkProfileCustomConfiguration.cs +++ b/src/generated/Models/AndroidWorkProfileCustomConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Android Work Profile custom configuration /// - public class AndroidWorkProfileCustomConfiguration : DeviceConfiguration, IParsable + public class AndroidWorkProfileCustomConfiguration : DeviceConfiguration, IParsable { /// OMA settings. This collection can contain a maximum of 500 elements. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +44,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"omaSettings", n => { OmaSettings = n.GetCollectionOfObjectValues(OmaSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "omaSettings", n => { OmaSettings = n.GetCollectionOfObjectValues(OmaSetting.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AndroidWorkProfileDefaultAppPermissionPolicyType.cs b/src/generated/Models/AndroidWorkProfileDefaultAppPermissionPolicyType.cs index c49f20a82e..9d2427c78f 100644 --- a/src/generated/Models/AndroidWorkProfileDefaultAppPermissionPolicyType.cs +++ b/src/generated/Models/AndroidWorkProfileDefaultAppPermissionPolicyType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Android Work Profile default app permission policy type. public enum AndroidWorkProfileDefaultAppPermissionPolicyType { diff --git a/src/generated/Models/AndroidWorkProfileGeneralDeviceConfiguration.cs b/src/generated/Models/AndroidWorkProfileGeneralDeviceConfiguration.cs index 3d019e2e19..6c8c2ec4b3 100644 --- a/src/generated/Models/AndroidWorkProfileGeneralDeviceConfiguration.cs +++ b/src/generated/Models/AndroidWorkProfileGeneralDeviceConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Android Work Profile general device configuration. /// - public class AndroidWorkProfileGeneralDeviceConfiguration : DeviceConfiguration, IParsable + public class AndroidWorkProfileGeneralDeviceConfiguration : DeviceConfiguration, IParsable { /// Indicates whether or not to block fingerprint unlock. public bool? PasswordBlockFingerprintUnlock { get; set; } @@ -103,40 +104,40 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"passwordBlockFingerprintUnlock", n => { PasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, - {"passwordBlockTrustAgents", n => { PasswordBlockTrustAgents = n.GetBoolValue(); } }, - {"passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, - {"passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, - {"passwordMinutesOfInactivityBeforeScreenTimeout", n => { PasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, - {"passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, - {"passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, - {"passwordSignInFailureCountBeforeFactoryReset", n => { PasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, - {"securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, - {"workProfileBlockAddingAccounts", n => { WorkProfileBlockAddingAccounts = n.GetBoolValue(); } }, - {"workProfileBlockCamera", n => { WorkProfileBlockCamera = n.GetBoolValue(); } }, - {"workProfileBlockCrossProfileCallerId", n => { WorkProfileBlockCrossProfileCallerId = n.GetBoolValue(); } }, - {"workProfileBlockCrossProfileContactsSearch", n => { WorkProfileBlockCrossProfileContactsSearch = n.GetBoolValue(); } }, - {"workProfileBlockCrossProfileCopyPaste", n => { WorkProfileBlockCrossProfileCopyPaste = n.GetBoolValue(); } }, - {"workProfileBlockNotificationsWhileDeviceLocked", n => { WorkProfileBlockNotificationsWhileDeviceLocked = n.GetBoolValue(); } }, - {"workProfileBlockScreenCapture", n => { WorkProfileBlockScreenCapture = n.GetBoolValue(); } }, - {"workProfileBluetoothEnableContactSharing", n => { WorkProfileBluetoothEnableContactSharing = n.GetBoolValue(); } }, - {"workProfileDataSharingType", n => { WorkProfileDataSharingType = n.GetEnumValue(); } }, - {"workProfileDefaultAppPermissionPolicy", n => { WorkProfileDefaultAppPermissionPolicy = n.GetEnumValue(); } }, - {"workProfilePasswordBlockFingerprintUnlock", n => { WorkProfilePasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, - {"workProfilePasswordBlockTrustAgents", n => { WorkProfilePasswordBlockTrustAgents = n.GetBoolValue(); } }, - {"workProfilePasswordExpirationDays", n => { WorkProfilePasswordExpirationDays = n.GetIntValue(); } }, - {"workProfilePasswordMinLetterCharacters", n => { WorkProfilePasswordMinLetterCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinLowerCaseCharacters", n => { WorkProfilePasswordMinLowerCaseCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinNonLetterCharacters", n => { WorkProfilePasswordMinNonLetterCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinNumericCharacters", n => { WorkProfilePasswordMinNumericCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinSymbolCharacters", n => { WorkProfilePasswordMinSymbolCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinUpperCaseCharacters", n => { WorkProfilePasswordMinUpperCaseCharacters = n.GetIntValue(); } }, - {"workProfilePasswordMinimumLength", n => { WorkProfilePasswordMinimumLength = n.GetIntValue(); } }, - {"workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", n => { WorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, - {"workProfilePasswordPreviousPasswordBlockCount", n => { WorkProfilePasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, - {"workProfilePasswordRequiredType", n => { WorkProfilePasswordRequiredType = n.GetEnumValue(); } }, - {"workProfilePasswordSignInFailureCountBeforeFactoryReset", n => { WorkProfilePasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, - {"workProfileRequirePassword", n => { WorkProfileRequirePassword = n.GetBoolValue(); } }, + { "passwordBlockFingerprintUnlock", n => { PasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, + { "passwordBlockTrustAgents", n => { PasswordBlockTrustAgents = n.GetBoolValue(); } }, + { "passwordExpirationDays", n => { PasswordExpirationDays = n.GetIntValue(); } }, + { "passwordMinimumLength", n => { PasswordMinimumLength = n.GetIntValue(); } }, + { "passwordMinutesOfInactivityBeforeScreenTimeout", n => { PasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, + { "passwordPreviousPasswordBlockCount", n => { PasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, + { "passwordRequiredType", n => { PasswordRequiredType = n.GetEnumValue(); } }, + { "passwordSignInFailureCountBeforeFactoryReset", n => { PasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, + { "securityRequireVerifyApps", n => { SecurityRequireVerifyApps = n.GetBoolValue(); } }, + { "workProfileBlockAddingAccounts", n => { WorkProfileBlockAddingAccounts = n.GetBoolValue(); } }, + { "workProfileBlockCamera", n => { WorkProfileBlockCamera = n.GetBoolValue(); } }, + { "workProfileBlockCrossProfileCallerId", n => { WorkProfileBlockCrossProfileCallerId = n.GetBoolValue(); } }, + { "workProfileBlockCrossProfileContactsSearch", n => { WorkProfileBlockCrossProfileContactsSearch = n.GetBoolValue(); } }, + { "workProfileBlockCrossProfileCopyPaste", n => { WorkProfileBlockCrossProfileCopyPaste = n.GetBoolValue(); } }, + { "workProfileBlockNotificationsWhileDeviceLocked", n => { WorkProfileBlockNotificationsWhileDeviceLocked = n.GetBoolValue(); } }, + { "workProfileBlockScreenCapture", n => { WorkProfileBlockScreenCapture = n.GetBoolValue(); } }, + { "workProfileBluetoothEnableContactSharing", n => { WorkProfileBluetoothEnableContactSharing = n.GetBoolValue(); } }, + { "workProfileDataSharingType", n => { WorkProfileDataSharingType = n.GetEnumValue(); } }, + { "workProfileDefaultAppPermissionPolicy", n => { WorkProfileDefaultAppPermissionPolicy = n.GetEnumValue(); } }, + { "workProfilePasswordBlockFingerprintUnlock", n => { WorkProfilePasswordBlockFingerprintUnlock = n.GetBoolValue(); } }, + { "workProfilePasswordBlockTrustAgents", n => { WorkProfilePasswordBlockTrustAgents = n.GetBoolValue(); } }, + { "workProfilePasswordExpirationDays", n => { WorkProfilePasswordExpirationDays = n.GetIntValue(); } }, + { "workProfilePasswordMinLetterCharacters", n => { WorkProfilePasswordMinLetterCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinLowerCaseCharacters", n => { WorkProfilePasswordMinLowerCaseCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinNonLetterCharacters", n => { WorkProfilePasswordMinNonLetterCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinNumericCharacters", n => { WorkProfilePasswordMinNumericCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinSymbolCharacters", n => { WorkProfilePasswordMinSymbolCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinUpperCaseCharacters", n => { WorkProfilePasswordMinUpperCaseCharacters = n.GetIntValue(); } }, + { "workProfilePasswordMinimumLength", n => { WorkProfilePasswordMinimumLength = n.GetIntValue(); } }, + { "workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", n => { WorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout = n.GetIntValue(); } }, + { "workProfilePasswordPreviousPasswordBlockCount", n => { WorkProfilePasswordPreviousPasswordBlockCount = n.GetIntValue(); } }, + { "workProfilePasswordRequiredType", n => { WorkProfilePasswordRequiredType = n.GetEnumValue(); } }, + { "workProfilePasswordSignInFailureCountBeforeFactoryReset", n => { WorkProfilePasswordSignInFailureCountBeforeFactoryReset = n.GetIntValue(); } }, + { "workProfileRequirePassword", n => { WorkProfileRequirePassword = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AndroidWorkProfileRequiredPasswordType.cs b/src/generated/Models/AndroidWorkProfileRequiredPasswordType.cs index 4f61abb82a..3cabf5cd27 100644 --- a/src/generated/Models/AndroidWorkProfileRequiredPasswordType.cs +++ b/src/generated/Models/AndroidWorkProfileRequiredPasswordType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Android Work Profile required password type. public enum AndroidWorkProfileRequiredPasswordType { diff --git a/src/generated/Models/AnonymousGuestConversationMember.cs b/src/generated/Models/AnonymousGuestConversationMember.cs index f5410411c3..533348f240 100644 --- a/src/generated/Models/AnonymousGuestConversationMember.cs +++ b/src/generated/Models/AnonymousGuestConversationMember.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AnonymousGuestConversationMember : ConversationMember, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AnonymousGuestConversationMember : ConversationMember, IParsable + #pragma warning restore CS1591 { /// Unique ID that represents the user. Note: This ID can change if the user leaves and rejoins the meeting, or joins from a different device. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"anonymousGuestId", n => { AnonymousGuestId = n.GetStringValue(); } }, + { "anonymousGuestId", n => { AnonymousGuestId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AnswerInputType.cs b/src/generated/Models/AnswerInputType.cs index 4db64e3ae0..361087602d 100644 --- a/src/generated/Models/AnswerInputType.cs +++ b/src/generated/Models/AnswerInputType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AnswerInputType + #pragma warning restore CS1591 { [EnumMember(Value = "text")] + #pragma warning disable CS1591 Text, + #pragma warning restore CS1591 [EnumMember(Value = "radioButton")] + #pragma warning disable CS1591 RadioButton, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ApiApplication.cs b/src/generated/Models/ApiApplication.cs index c28fa733f4..aae1e827e7 100644 --- a/src/generated/Models/ApiApplication.cs +++ b/src/generated/Models/ApiApplication.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApiApplication : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApiApplication : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// When true, allows an application to use claims mapping without specifying a custom signing key. public bool? AcceptMappedClaims { get; set; } @@ -70,12 +73,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"acceptMappedClaims", n => { AcceptMappedClaims = n.GetBoolValue(); } }, - {"knownClientApplications", n => { KnownClientApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"oauth2PermissionScopes", n => { Oauth2PermissionScopes = n.GetCollectionOfObjectValues(PermissionScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"preAuthorizedApplications", n => { PreAuthorizedApplications = n.GetCollectionOfObjectValues(PreAuthorizedApplication.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requestedAccessTokenVersion", n => { RequestedAccessTokenVersion = n.GetIntValue(); } }, + { "acceptMappedClaims", n => { AcceptMappedClaims = n.GetBoolValue(); } }, + { "knownClientApplications", n => { KnownClientApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "oauth2PermissionScopes", n => { Oauth2PermissionScopes = n.GetCollectionOfObjectValues(PermissionScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "preAuthorizedApplications", n => { PreAuthorizedApplications = n.GetCollectionOfObjectValues(PreAuthorizedApplication.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requestedAccessTokenVersion", n => { RequestedAccessTokenVersion = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/ApiAuthenticationConfigurationBase.cs b/src/generated/Models/ApiAuthenticationConfigurationBase.cs index ace6eac217..aebe3377c0 100644 --- a/src/generated/Models/ApiAuthenticationConfigurationBase.cs +++ b/src/generated/Models/ApiAuthenticationConfigurationBase.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApiAuthenticationConfigurationBase : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApiAuthenticationConfigurationBase : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -49,7 +52,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppCatalogs.cs b/src/generated/Models/AppCatalogs.cs index e36a3e6e11..67dec9b2bf 100644 --- a/src/generated/Models/AppCatalogs.cs +++ b/src/generated/Models/AppCatalogs.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppCatalogs : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppCatalogs : Entity, IParsable + #pragma warning restore CS1591 { /// The teamsApps property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"teamsApps", n => { TeamsApps = n.GetCollectionOfObjectValues(TeamsApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "teamsApps", n => { TeamsApps = n.GetCollectionOfObjectValues(TeamsApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppConfigurationSettingItem.cs b/src/generated/Models/AppConfigurationSettingItem.cs index 67135fc37b..55efe9600f 100644 --- a/src/generated/Models/AppConfigurationSettingItem.cs +++ b/src/generated/Models/AppConfigurationSettingItem.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties for App configuration setting item. /// - public class AppConfigurationSettingItem : IAdditionalDataHolder, IParsable + public class AppConfigurationSettingItem : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -63,10 +64,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appConfigKey", n => { AppConfigKey = n.GetStringValue(); } }, - {"appConfigKeyType", n => { AppConfigKeyType = n.GetEnumValue(); } }, - {"appConfigKeyValue", n => { AppConfigKeyValue = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "appConfigKey", n => { AppConfigKey = n.GetStringValue(); } }, + { "appConfigKeyType", n => { AppConfigKeyType = n.GetEnumValue(); } }, + { "appConfigKeyValue", n => { AppConfigKeyValue = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppConsentApprovalRoute.cs b/src/generated/Models/AppConsentApprovalRoute.cs index ada5e567e7..6fe22c8b21 100644 --- a/src/generated/Models/AppConsentApprovalRoute.cs +++ b/src/generated/Models/AppConsentApprovalRoute.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppConsentApprovalRoute : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppConsentApprovalRoute : Entity, IParsable + #pragma warning restore CS1591 { /// A collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appConsentRequests", n => { AppConsentRequests = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appConsentRequests", n => { AppConsentRequests = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppConsentRequest.cs b/src/generated/Models/AppConsentRequest.cs index 6bdabc7a9c..06bf75ee2e 100644 --- a/src/generated/Models/AppConsentRequest.cs +++ b/src/generated/Models/AppConsentRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppConsentRequest : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppConsentRequest : Entity, IParsable + #pragma warning restore CS1591 { /// The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -57,10 +60,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appDisplayName", n => { AppDisplayName = n.GetStringValue(); } }, - {"appId", n => { AppId = n.GetStringValue(); } }, - {"pendingScopes", n => { PendingScopes = n.GetCollectionOfObjectValues(AppConsentRequestScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userConsentRequests", n => { UserConsentRequests = n.GetCollectionOfObjectValues(UserConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appDisplayName", n => { AppDisplayName = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "pendingScopes", n => { PendingScopes = n.GetCollectionOfObjectValues(AppConsentRequestScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userConsentRequests", n => { UserConsentRequests = n.GetCollectionOfObjectValues(UserConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppConsentRequestCollectionResponse.cs b/src/generated/Models/AppConsentRequestCollectionResponse.cs index 801fcb1196..4d0a1ef0dc 100644 --- a/src/generated/Models/AppConsentRequestCollectionResponse.cs +++ b/src/generated/Models/AppConsentRequestCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppConsentRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppConsentRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AppConsentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppConsentRequestScope.cs b/src/generated/Models/AppConsentRequestScope.cs index 95cb19da39..0b1e63845e 100644 --- a/src/generated/Models/AppConsentRequestScope.cs +++ b/src/generated/Models/AppConsentRequestScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppConsentRequestScope : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppConsentRequestScope : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppCredentialRestrictionType.cs b/src/generated/Models/AppCredentialRestrictionType.cs index f88276f808..7664a2fd9a 100644 --- a/src/generated/Models/AppCredentialRestrictionType.cs +++ b/src/generated/Models/AppCredentialRestrictionType.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AppCredentialRestrictionType + #pragma warning restore CS1591 { [EnumMember(Value = "passwordAddition")] + #pragma warning disable CS1591 PasswordAddition, + #pragma warning restore CS1591 [EnumMember(Value = "passwordLifetime")] + #pragma warning disable CS1591 PasswordLifetime, + #pragma warning restore CS1591 [EnumMember(Value = "symmetricKeyAddition")] + #pragma warning disable CS1591 SymmetricKeyAddition, + #pragma warning restore CS1591 [EnumMember(Value = "symmetricKeyLifetime")] + #pragma warning disable CS1591 SymmetricKeyLifetime, + #pragma warning restore CS1591 [EnumMember(Value = "customPasswordAddition")] + #pragma warning disable CS1591 CustomPasswordAddition, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AppHostedMediaConfig.cs b/src/generated/Models/AppHostedMediaConfig.cs index 7c3df28f9f..3ce79c0cff 100644 --- a/src/generated/Models/AppHostedMediaConfig.cs +++ b/src/generated/Models/AppHostedMediaConfig.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppHostedMediaConfig : MediaConfig, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppHostedMediaConfig : MediaConfig, IParsable + #pragma warning restore CS1591 { /// The media configuration blob generated by smart media agent. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"blob", n => { Blob = n.GetStringValue(); } }, + { "blob", n => { Blob = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppIdentity.cs b/src/generated/Models/AppIdentity.cs index 1cc0dbfea6..9a72fb594c 100644 --- a/src/generated/Models/AppIdentity.cs +++ b/src/generated/Models/AppIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppIdentity : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppIdentity : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appId", n => { AppId = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"servicePrincipalId", n => { ServicePrincipalId = n.GetStringValue(); } }, - {"servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "servicePrincipalId", n => { ServicePrincipalId = n.GetStringValue(); } }, + { "servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppKeyCredentialRestrictionType.cs b/src/generated/Models/AppKeyCredentialRestrictionType.cs index be12a9a0ac..b2531e3a81 100644 --- a/src/generated/Models/AppKeyCredentialRestrictionType.cs +++ b/src/generated/Models/AppKeyCredentialRestrictionType.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AppKeyCredentialRestrictionType + #pragma warning restore CS1591 { [EnumMember(Value = "asymmetricKeyLifetime")] + #pragma warning disable CS1591 AsymmetricKeyLifetime, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AppListItem.cs b/src/generated/Models/AppListItem.cs index 62c0151df0..f51d355682 100644 --- a/src/generated/Models/AppListItem.cs +++ b/src/generated/Models/AppListItem.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents an app in the list of managed applications /// - public class AppListItem : IAdditionalDataHolder, IParsable + public class AppListItem : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -77,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appId", n => { AppId = n.GetStringValue(); } }, - {"appStoreUrl", n => { AppStoreUrl = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"publisher", n => { Publisher = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "appStoreUrl", n => { AppStoreUrl = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publisher", n => { Publisher = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppListType.cs b/src/generated/Models/AppListType.cs index 4d05acc89a..341e14290a 100644 --- a/src/generated/Models/AppListType.cs +++ b/src/generated/Models/AppListType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values of the compliance app list. public enum AppListType { diff --git a/src/generated/Models/AppLockerApplicationControlType.cs b/src/generated/Models/AppLockerApplicationControlType.cs index c82f35957a..b67f4b2d9e 100644 --- a/src/generated/Models/AppLockerApplicationControlType.cs +++ b/src/generated/Models/AppLockerApplicationControlType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values of AppLocker Application Control Types public enum AppLockerApplicationControlType { diff --git a/src/generated/Models/AppLogCollectionDownloadDetails.cs b/src/generated/Models/AppLogCollectionDownloadDetails.cs index 42909ce8ee..fdbd95106e 100644 --- a/src/generated/Models/AppLogCollectionDownloadDetails.cs +++ b/src/generated/Models/AppLogCollectionDownloadDetails.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppLogCollectionDownloadDetails : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppLogCollectionDownloadDetails : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"appLogDecryptionAlgorithm", n => { AppLogDecryptionAlgorithm = n.GetEnumValue(); } }, - {"decryptionKey", n => { DecryptionKey = n.GetStringValue(); } }, - {"downloadUrl", n => { DownloadUrl = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "appLogDecryptionAlgorithm", n => { AppLogDecryptionAlgorithm = n.GetEnumValue(); } }, + { "decryptionKey", n => { DecryptionKey = n.GetStringValue(); } }, + { "downloadUrl", n => { DownloadUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppLogCollectionRequest.cs b/src/generated/Models/AppLogCollectionRequest.cs index 66d8ff7655..b5e1e0b9bc 100644 --- a/src/generated/Models/AppLogCollectionRequest.cs +++ b/src/generated/Models/AppLogCollectionRequest.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Entity for AppLogCollectionRequest contains all logs values. /// - public class AppLogCollectionRequest : Entity, IParsable + public class AppLogCollectionRequest : Entity, IParsable { /// Time at which the upload log request reached a completed state if not completed yet NULL will be returned. public DateTimeOffset? CompletedDateTime { get; set; } @@ -48,10 +49,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"customLogFolders", n => { CustomLogFolders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customLogFolders", n => { CustomLogFolders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AppLogCollectionRequestCollectionResponse.cs b/src/generated/Models/AppLogCollectionRequestCollectionResponse.cs index ec84180468..96007d97ec 100644 --- a/src/generated/Models/AppLogCollectionRequestCollectionResponse.cs +++ b/src/generated/Models/AppLogCollectionRequestCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppLogCollectionRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppLogCollectionRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AppLogCollectionRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AppLogCollectionRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppLogDecryptionAlgorithm.cs b/src/generated/Models/AppLogDecryptionAlgorithm.cs index 2238b290aa..2a3f094d70 100644 --- a/src/generated/Models/AppLogDecryptionAlgorithm.cs +++ b/src/generated/Models/AppLogDecryptionAlgorithm.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AppLogDecryptionAlgorithm + #pragma warning restore CS1591 { /// decrypting using Aes256. [EnumMember(Value = "aes256")] diff --git a/src/generated/Models/AppLogUploadState.cs b/src/generated/Models/AppLogUploadState.cs index a62fc0c5ee..26ef55bf71 100644 --- a/src/generated/Models/AppLogUploadState.cs +++ b/src/generated/Models/AppLogUploadState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// AppLogUploadStatus public enum AppLogUploadState { diff --git a/src/generated/Models/AppManagementConfiguration.cs b/src/generated/Models/AppManagementConfiguration.cs index 1cb31d140e..a3260418f1 100644 --- a/src/generated/Models/AppManagementConfiguration.cs +++ b/src/generated/Models/AppManagementConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppManagementConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppManagementConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(KeyCredentialConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"passwordCredentials", n => { PasswordCredentials = n.GetCollectionOfObjectValues(PasswordCredentialConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(KeyCredentialConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "passwordCredentials", n => { PasswordCredentials = n.GetCollectionOfObjectValues(PasswordCredentialConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppManagementPolicy.cs b/src/generated/Models/AppManagementPolicy.cs index 0e4b7a2af4..370c315ff8 100644 --- a/src/generated/Models/AppManagementPolicy.cs +++ b/src/generated/Models/AppManagementPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppManagementPolicy : PolicyBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppManagementPolicy : PolicyBase, IParsable + #pragma warning restore CS1591 { /// Collection of applications and service principals to which the policy is applied. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -50,9 +53,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appliesTo", n => { AppliesTo = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, - {"restrictions", n => { Restrictions = n.GetObjectValue(AppManagementConfiguration.CreateFromDiscriminatorValue); } }, + { "appliesTo", n => { AppliesTo = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "restrictions", n => { Restrictions = n.GetObjectValue(AppManagementConfiguration.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AppManagementPolicyCollectionResponse.cs b/src/generated/Models/AppManagementPolicyCollectionResponse.cs index 91f573c31b..d1661097c1 100644 --- a/src/generated/Models/AppManagementPolicyCollectionResponse.cs +++ b/src/generated/Models/AppManagementPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppManagementPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppManagementPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AppManagementPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AppManagementPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppRole.cs b/src/generated/Models/AppRole.cs index 41cc8c138a..1147b76688 100644 --- a/src/generated/Models/AppRole.cs +++ b/src/generated/Models/AppRole.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppRole : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppRole : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -86,14 +89,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedMemberTypes", n => { AllowedMemberTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"id", n => { Id = n.GetGuidValue(); } }, - {"isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"origin", n => { Origin = n.GetStringValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "allowedMemberTypes", n => { AllowedMemberTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetGuidValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "origin", n => { Origin = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppRoleAssignment.cs b/src/generated/Models/AppRoleAssignment.cs index 9c3b774346..cc21fbf434 100644 --- a/src/generated/Models/AppRoleAssignment.cs +++ b/src/generated/Models/AppRoleAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppRoleAssignment : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppRoleAssignment : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create. public Guid? AppRoleId { get; set; } @@ -64,13 +67,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appRoleId", n => { AppRoleId = n.GetGuidValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"principalDisplayName", n => { PrincipalDisplayName = n.GetStringValue(); } }, - {"principalId", n => { PrincipalId = n.GetGuidValue(); } }, - {"principalType", n => { PrincipalType = n.GetStringValue(); } }, - {"resourceDisplayName", n => { ResourceDisplayName = n.GetStringValue(); } }, - {"resourceId", n => { ResourceId = n.GetGuidValue(); } }, + { "appRoleId", n => { AppRoleId = n.GetGuidValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "principalDisplayName", n => { PrincipalDisplayName = n.GetStringValue(); } }, + { "principalId", n => { PrincipalId = n.GetGuidValue(); } }, + { "principalType", n => { PrincipalType = n.GetStringValue(); } }, + { "resourceDisplayName", n => { ResourceDisplayName = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Models/AppRoleAssignmentCollectionResponse.cs b/src/generated/Models/AppRoleAssignmentCollectionResponse.cs index 754f0ea4d0..49addac7a1 100644 --- a/src/generated/Models/AppRoleAssignmentCollectionResponse.cs +++ b/src/generated/Models/AppRoleAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppRoleAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppRoleAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AppRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AppRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppScope.cs b/src/generated/Models/AppScope.cs index c61697089d..a4ae6464f9 100644 --- a/src/generated/Models/AppScope.cs +++ b/src/generated/Models/AppScope.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppScope : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppScope : Entity, IParsable + #pragma warning restore CS1591 { /// Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable id. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppleDeviceFeaturesConfigurationBase.cs b/src/generated/Models/AppleDeviceFeaturesConfigurationBase.cs index 86317d9fb2..8538468e1e 100644 --- a/src/generated/Models/AppleDeviceFeaturesConfigurationBase.cs +++ b/src/generated/Models/AppleDeviceFeaturesConfigurationBase.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Apple device features configuration profile. /// - public class AppleDeviceFeaturesConfigurationBase : DeviceConfiguration, IParsable + public class AppleDeviceFeaturesConfigurationBase : DeviceConfiguration, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AppleManagedIdentityProvider.cs b/src/generated/Models/AppleManagedIdentityProvider.cs index 2f80eca3a7..c487d54b37 100644 --- a/src/generated/Models/AppleManagedIdentityProvider.cs +++ b/src/generated/Models/AppleManagedIdentityProvider.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppleManagedIdentityProvider : IdentityProviderBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppleManagedIdentityProvider : IdentityProviderBase, IParsable + #pragma warning restore CS1591 { /// The certificate data, which is a long string of text from the certificate. Can be null. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -64,10 +67,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"certificateData", n => { CertificateData = n.GetStringValue(); } }, - {"developerId", n => { DeveloperId = n.GetStringValue(); } }, - {"keyId", n => { KeyId = n.GetStringValue(); } }, - {"serviceId", n => { ServiceId = n.GetStringValue(); } }, + { "certificateData", n => { CertificateData = n.GetStringValue(); } }, + { "developerId", n => { DeveloperId = n.GetStringValue(); } }, + { "keyId", n => { KeyId = n.GetStringValue(); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ApplePushNotificationCertificate.cs b/src/generated/Models/ApplePushNotificationCertificate.cs index 5c417dd299..4fb1745685 100644 --- a/src/generated/Models/ApplePushNotificationCertificate.cs +++ b/src/generated/Models/ApplePushNotificationCertificate.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Apple push notification certificate. /// - public class ApplePushNotificationCertificate : Entity, IParsable + public class ApplePushNotificationCertificate : Entity, IParsable { /// Apple Id of the account used to create the MDM push certificate. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,14 +81,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appleIdentifier", n => { AppleIdentifier = n.GetStringValue(); } }, - {"certificate", n => { Certificate = n.GetStringValue(); } }, - {"certificateSerialNumber", n => { CertificateSerialNumber = n.GetStringValue(); } }, - {"certificateUploadFailureReason", n => { CertificateUploadFailureReason = n.GetStringValue(); } }, - {"certificateUploadStatus", n => { CertificateUploadStatus = n.GetStringValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"topicIdentifier", n => { TopicIdentifier = n.GetStringValue(); } }, + { "appleIdentifier", n => { AppleIdentifier = n.GetStringValue(); } }, + { "certificate", n => { Certificate = n.GetStringValue(); } }, + { "certificateSerialNumber", n => { CertificateSerialNumber = n.GetStringValue(); } }, + { "certificateUploadFailureReason", n => { CertificateUploadFailureReason = n.GetStringValue(); } }, + { "certificateUploadStatus", n => { CertificateUploadStatus = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "topicIdentifier", n => { TopicIdentifier = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Application.cs b/src/generated/Models/Application.cs index e94c47470b..97073b566b 100644 --- a/src/generated/Models/Application.cs +++ b/src/generated/Models/Application.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Application : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Application : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams can set the addIns property for its 'FileHandler' functionality. This lets services like Microsoft 365 call the application in the context of a document the user is working on. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -137,7 +140,7 @@ public class Application : DirectoryObject, IParsable #else public List HomeRealmDiscoveryPolicies { get; set; } #endif - /// Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://<application-client-id>, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + /// Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://<appId>, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? IdentifierUris { get; set; } @@ -370,52 +373,52 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"addIns", n => { AddIns = n.GetCollectionOfObjectValues(AddIn.CreateFromDiscriminatorValue)?.ToList(); } }, - {"api", n => { Api = n.GetObjectValue(ApiApplication.CreateFromDiscriminatorValue); } }, - {"appId", n => { AppId = n.GetStringValue(); } }, - {"appManagementPolicies", n => { AppManagementPolicies = n.GetCollectionOfObjectValues(AppManagementPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"appRoles", n => { AppRoles = n.GetCollectionOfObjectValues(AppRole.CreateFromDiscriminatorValue)?.ToList(); } }, - {"applicationTemplateId", n => { ApplicationTemplateId = n.GetStringValue(); } }, - {"certification", n => { Certification = n.GetObjectValue(ApiSdk.Models.Certification.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"createdOnBehalfOf", n => { CreatedOnBehalfOf = n.GetObjectValue(DirectoryObject.CreateFromDiscriminatorValue); } }, - {"defaultRedirectUri", n => { DefaultRedirectUri = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"disabledByMicrosoftStatus", n => { DisabledByMicrosoftStatus = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"extensionProperties", n => { ExtensionProperties = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"federatedIdentityCredentials", n => { FederatedIdentityCredentials = n.GetCollectionOfObjectValues(FederatedIdentityCredential.CreateFromDiscriminatorValue)?.ToList(); } }, - {"groupMembershipClaims", n => { GroupMembershipClaims = n.GetStringValue(); } }, - {"homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"identifierUris", n => { IdentifierUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"info", n => { Info = n.GetObjectValue(InformationalUrl.CreateFromDiscriminatorValue); } }, - {"isDeviceOnlyAuthSupported", n => { IsDeviceOnlyAuthSupported = n.GetBoolValue(); } }, - {"isFallbackPublicClient", n => { IsFallbackPublicClient = n.GetBoolValue(); } }, - {"keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(KeyCredential.CreateFromDiscriminatorValue)?.ToList(); } }, - {"logo", n => { Logo = n.GetByteArrayValue(); } }, - {"notes", n => { Notes = n.GetStringValue(); } }, - {"oauth2RequirePostResponse", n => { Oauth2RequirePostResponse = n.GetBoolValue(); } }, - {"optionalClaims", n => { OptionalClaims = n.GetObjectValue(ApiSdk.Models.OptionalClaims.CreateFromDiscriminatorValue); } }, - {"owners", n => { Owners = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"parentalControlSettings", n => { ParentalControlSettings = n.GetObjectValue(ApiSdk.Models.ParentalControlSettings.CreateFromDiscriminatorValue); } }, - {"passwordCredentials", n => { PasswordCredentials = n.GetCollectionOfObjectValues(PasswordCredential.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicClient", n => { PublicClient = n.GetObjectValue(PublicClientApplication.CreateFromDiscriminatorValue); } }, - {"publisherDomain", n => { PublisherDomain = n.GetStringValue(); } }, - {"requestSignatureVerification", n => { RequestSignatureVerification = n.GetObjectValue(ApiSdk.Models.RequestSignatureVerification.CreateFromDiscriminatorValue); } }, - {"requiredResourceAccess", n => { RequiredResourceAccess = n.GetCollectionOfObjectValues(ApiSdk.Models.RequiredResourceAccess.CreateFromDiscriminatorValue)?.ToList(); } }, - {"samlMetadataUrl", n => { SamlMetadataUrl = n.GetStringValue(); } }, - {"serviceManagementReference", n => { ServiceManagementReference = n.GetStringValue(); } }, - {"servicePrincipalLockConfiguration", n => { ServicePrincipalLockConfiguration = n.GetObjectValue(ApiSdk.Models.ServicePrincipalLockConfiguration.CreateFromDiscriminatorValue); } }, - {"signInAudience", n => { SignInAudience = n.GetStringValue(); } }, - {"spa", n => { Spa = n.GetObjectValue(SpaApplication.CreateFromDiscriminatorValue); } }, - {"synchronization", n => { Synchronization = n.GetObjectValue(ApiSdk.Models.Synchronization.CreateFromDiscriminatorValue); } }, - {"tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"tokenEncryptionKeyId", n => { TokenEncryptionKeyId = n.GetGuidValue(); } }, - {"tokenIssuancePolicies", n => { TokenIssuancePolicies = n.GetCollectionOfObjectValues(TokenIssuancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tokenLifetimePolicies", n => { TokenLifetimePolicies = n.GetCollectionOfObjectValues(TokenLifetimePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"uniqueName", n => { UniqueName = n.GetStringValue(); } }, - {"verifiedPublisher", n => { VerifiedPublisher = n.GetObjectValue(ApiSdk.Models.VerifiedPublisher.CreateFromDiscriminatorValue); } }, - {"web", n => { Web = n.GetObjectValue(WebApplication.CreateFromDiscriminatorValue); } }, + { "addIns", n => { AddIns = n.GetCollectionOfObjectValues(AddIn.CreateFromDiscriminatorValue)?.ToList(); } }, + { "api", n => { Api = n.GetObjectValue(ApiApplication.CreateFromDiscriminatorValue); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "appManagementPolicies", n => { AppManagementPolicies = n.GetCollectionOfObjectValues(AppManagementPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "appRoles", n => { AppRoles = n.GetCollectionOfObjectValues(AppRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "applicationTemplateId", n => { ApplicationTemplateId = n.GetStringValue(); } }, + { "certification", n => { Certification = n.GetObjectValue(ApiSdk.Models.Certification.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdOnBehalfOf", n => { CreatedOnBehalfOf = n.GetObjectValue(DirectoryObject.CreateFromDiscriminatorValue); } }, + { "defaultRedirectUri", n => { DefaultRedirectUri = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "disabledByMicrosoftStatus", n => { DisabledByMicrosoftStatus = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensionProperties", n => { ExtensionProperties = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "federatedIdentityCredentials", n => { FederatedIdentityCredentials = n.GetCollectionOfObjectValues(FederatedIdentityCredential.CreateFromDiscriminatorValue)?.ToList(); } }, + { "groupMembershipClaims", n => { GroupMembershipClaims = n.GetStringValue(); } }, + { "homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "identifierUris", n => { IdentifierUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "info", n => { Info = n.GetObjectValue(InformationalUrl.CreateFromDiscriminatorValue); } }, + { "isDeviceOnlyAuthSupported", n => { IsDeviceOnlyAuthSupported = n.GetBoolValue(); } }, + { "isFallbackPublicClient", n => { IsFallbackPublicClient = n.GetBoolValue(); } }, + { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(KeyCredential.CreateFromDiscriminatorValue)?.ToList(); } }, + { "logo", n => { Logo = n.GetByteArrayValue(); } }, + { "notes", n => { Notes = n.GetStringValue(); } }, + { "oauth2RequirePostResponse", n => { Oauth2RequirePostResponse = n.GetBoolValue(); } }, + { "optionalClaims", n => { OptionalClaims = n.GetObjectValue(ApiSdk.Models.OptionalClaims.CreateFromDiscriminatorValue); } }, + { "owners", n => { Owners = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "parentalControlSettings", n => { ParentalControlSettings = n.GetObjectValue(ApiSdk.Models.ParentalControlSettings.CreateFromDiscriminatorValue); } }, + { "passwordCredentials", n => { PasswordCredentials = n.GetCollectionOfObjectValues(PasswordCredential.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicClient", n => { PublicClient = n.GetObjectValue(PublicClientApplication.CreateFromDiscriminatorValue); } }, + { "publisherDomain", n => { PublisherDomain = n.GetStringValue(); } }, + { "requestSignatureVerification", n => { RequestSignatureVerification = n.GetObjectValue(ApiSdk.Models.RequestSignatureVerification.CreateFromDiscriminatorValue); } }, + { "requiredResourceAccess", n => { RequiredResourceAccess = n.GetCollectionOfObjectValues(ApiSdk.Models.RequiredResourceAccess.CreateFromDiscriminatorValue)?.ToList(); } }, + { "samlMetadataUrl", n => { SamlMetadataUrl = n.GetStringValue(); } }, + { "serviceManagementReference", n => { ServiceManagementReference = n.GetStringValue(); } }, + { "servicePrincipalLockConfiguration", n => { ServicePrincipalLockConfiguration = n.GetObjectValue(ApiSdk.Models.ServicePrincipalLockConfiguration.CreateFromDiscriminatorValue); } }, + { "signInAudience", n => { SignInAudience = n.GetStringValue(); } }, + { "spa", n => { Spa = n.GetObjectValue(SpaApplication.CreateFromDiscriminatorValue); } }, + { "synchronization", n => { Synchronization = n.GetObjectValue(ApiSdk.Models.Synchronization.CreateFromDiscriminatorValue); } }, + { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "tokenEncryptionKeyId", n => { TokenEncryptionKeyId = n.GetGuidValue(); } }, + { "tokenIssuancePolicies", n => { TokenIssuancePolicies = n.GetCollectionOfObjectValues(TokenIssuancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tokenLifetimePolicies", n => { TokenLifetimePolicies = n.GetCollectionOfObjectValues(TokenLifetimePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "uniqueName", n => { UniqueName = n.GetStringValue(); } }, + { "verifiedPublisher", n => { VerifiedPublisher = n.GetObjectValue(ApiSdk.Models.VerifiedPublisher.CreateFromDiscriminatorValue); } }, + { "web", n => { Web = n.GetObjectValue(WebApplication.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ApplicationCollectionResponse.cs b/src/generated/Models/ApplicationCollectionResponse.cs index 76830f91f5..b331174e7d 100644 --- a/src/generated/Models/ApplicationCollectionResponse.cs +++ b/src/generated/Models/ApplicationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApplicationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApplicationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Application.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Application.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ApplicationEnforcedRestrictionsSessionControl.cs b/src/generated/Models/ApplicationEnforcedRestrictionsSessionControl.cs index 2e04cb0dae..2f12de5428 100644 --- a/src/generated/Models/ApplicationEnforcedRestrictionsSessionControl.cs +++ b/src/generated/Models/ApplicationEnforcedRestrictionsSessionControl.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApplicationEnforcedRestrictionsSessionControl : ConditionalAccessSessionControl, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApplicationEnforcedRestrictionsSessionControl : ConditionalAccessSessionControl, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ApplicationGuardBlockClipboardSharingType.cs b/src/generated/Models/ApplicationGuardBlockClipboardSharingType.cs index 36e4009902..f7091c7a36 100644 --- a/src/generated/Models/ApplicationGuardBlockClipboardSharingType.cs +++ b/src/generated/Models/ApplicationGuardBlockClipboardSharingType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for applicationGuardBlockClipboardSharingType public enum ApplicationGuardBlockClipboardSharingType { diff --git a/src/generated/Models/ApplicationGuardBlockFileTransferType.cs b/src/generated/Models/ApplicationGuardBlockFileTransferType.cs index e14f23ee52..84a8ef3332 100644 --- a/src/generated/Models/ApplicationGuardBlockFileTransferType.cs +++ b/src/generated/Models/ApplicationGuardBlockFileTransferType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for applicationGuardBlockFileTransfer public enum ApplicationGuardBlockFileTransferType { diff --git a/src/generated/Models/ApplicationServicePrincipal.cs b/src/generated/Models/ApplicationServicePrincipal.cs index 326aa92ba0..f7a969c150 100644 --- a/src/generated/Models/ApplicationServicePrincipal.cs +++ b/src/generated/Models/ApplicationServicePrincipal.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApplicationServicePrincipal : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApplicationServicePrincipal : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"application", n => { Application = n.GetObjectValue(ApiSdk.Models.Application.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"servicePrincipal", n => { ServicePrincipal = n.GetObjectValue(ApiSdk.Models.ServicePrincipal.CreateFromDiscriminatorValue); } }, + { "application", n => { Application = n.GetObjectValue(ApiSdk.Models.Application.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "servicePrincipal", n => { ServicePrincipal = n.GetObjectValue(ApiSdk.Models.ServicePrincipal.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ApplicationTemplate.cs b/src/generated/Models/ApplicationTemplate.cs index 1722271b6f..8e2da49c91 100644 --- a/src/generated/Models/ApplicationTemplate.cs +++ b/src/generated/Models/ApplicationTemplate.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApplicationTemplate : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApplicationTemplate : Entity, IParsable + #pragma warning restore CS1591 { /// The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -89,14 +92,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"homePageUrl", n => { HomePageUrl = n.GetStringValue(); } }, - {"logoUrl", n => { LogoUrl = n.GetStringValue(); } }, - {"publisher", n => { Publisher = n.GetStringValue(); } }, - {"supportedProvisioningTypes", n => { SupportedProvisioningTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"supportedSingleSignOnModes", n => { SupportedSingleSignOnModes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "homePageUrl", n => { HomePageUrl = n.GetStringValue(); } }, + { "logoUrl", n => { LogoUrl = n.GetStringValue(); } }, + { "publisher", n => { Publisher = n.GetStringValue(); } }, + { "supportedProvisioningTypes", n => { SupportedProvisioningTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "supportedSingleSignOnModes", n => { SupportedSingleSignOnModes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ApplicationTemplateCollectionResponse.cs b/src/generated/Models/ApplicationTemplateCollectionResponse.cs index 631cca69a2..5db12ee5bf 100644 --- a/src/generated/Models/ApplicationTemplateCollectionResponse.cs +++ b/src/generated/Models/ApplicationTemplateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApplicationTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApplicationTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApplicationTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApplicationTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ApplicationType.cs b/src/generated/Models/ApplicationType.cs index 60557258e0..d38d4354ed 100644 --- a/src/generated/Models/ApplicationType.cs +++ b/src/generated/Models/ApplicationType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible types of Application public enum ApplicationType { diff --git a/src/generated/Models/AppliedConditionalAccessPolicy.cs b/src/generated/Models/AppliedConditionalAccessPolicy.cs index a9a158a530..264c25fd11 100644 --- a/src/generated/Models/AppliedConditionalAccessPolicy.cs +++ b/src/generated/Models/AppliedConditionalAccessPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppliedConditionalAccessPolicy : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppliedConditionalAccessPolicy : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,12 +79,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"enforcedGrantControls", n => { EnforcedGrantControls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"enforcedSessionControls", n => { EnforcedSessionControls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"result", n => { Result = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enforcedGrantControls", n => { EnforcedGrantControls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "enforcedSessionControls", n => { EnforcedSessionControls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "result", n => { Result = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AppliedConditionalAccessPolicyResult.cs b/src/generated/Models/AppliedConditionalAccessPolicyResult.cs index 7c8afe0ed1..25d09f3259 100644 --- a/src/generated/Models/AppliedConditionalAccessPolicyResult.cs +++ b/src/generated/Models/AppliedConditionalAccessPolicyResult.cs @@ -1,28 +1,51 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AppliedConditionalAccessPolicyResult + #pragma warning restore CS1591 { [EnumMember(Value = "success")] + #pragma warning disable CS1591 Success, + #pragma warning restore CS1591 [EnumMember(Value = "failure")] + #pragma warning disable CS1591 Failure, + #pragma warning restore CS1591 [EnumMember(Value = "notApplied")] + #pragma warning disable CS1591 NotApplied, + #pragma warning restore CS1591 [EnumMember(Value = "notEnabled")] + #pragma warning disable CS1591 NotEnabled, + #pragma warning restore CS1591 [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "reportOnlySuccess")] + #pragma warning disable CS1591 ReportOnlySuccess, + #pragma warning restore CS1591 [EnumMember(Value = "reportOnlyFailure")] + #pragma warning disable CS1591 ReportOnlyFailure, + #pragma warning restore CS1591 [EnumMember(Value = "reportOnlyNotApplied")] + #pragma warning disable CS1591 ReportOnlyNotApplied, + #pragma warning restore CS1591 [EnumMember(Value = "reportOnlyInterrupted")] + #pragma warning disable CS1591 ReportOnlyInterrupted, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/Approval.cs b/src/generated/Models/Approval.cs index d7cacad492..eb52db8506 100644 --- a/src/generated/Models/Approval.cs +++ b/src/generated/Models/Approval.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Approval : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Approval : Entity, IParsable + #pragma warning restore CS1591 { /// A collection of stages in the approval decision. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"stages", n => { Stages = n.GetCollectionOfObjectValues(ApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "stages", n => { Stages = n.GetCollectionOfObjectValues(ApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ApprovalCollectionResponse.cs b/src/generated/Models/ApprovalCollectionResponse.cs index 49c839a159..3d914d2c29 100644 --- a/src/generated/Models/ApprovalCollectionResponse.cs +++ b/src/generated/Models/ApprovalCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApprovalCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApprovalCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Approval.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Approval.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ApprovalSettings.cs b/src/generated/Models/ApprovalSettings.cs index b44634bf99..ac366f7311 100644 --- a/src/generated/Models/ApprovalSettings.cs +++ b/src/generated/Models/ApprovalSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApprovalSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApprovalSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -64,12 +67,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"approvalMode", n => { ApprovalMode = n.GetStringValue(); } }, - {"approvalStages", n => { ApprovalStages = n.GetCollectionOfObjectValues(UnifiedApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isApprovalRequired", n => { IsApprovalRequired = n.GetBoolValue(); } }, - {"isApprovalRequiredForExtension", n => { IsApprovalRequiredForExtension = n.GetBoolValue(); } }, - {"isRequestorJustificationRequired", n => { IsRequestorJustificationRequired = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "approvalMode", n => { ApprovalMode = n.GetStringValue(); } }, + { "approvalStages", n => { ApprovalStages = n.GetCollectionOfObjectValues(UnifiedApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isApprovalRequired", n => { IsApprovalRequired = n.GetBoolValue(); } }, + { "isApprovalRequiredForExtension", n => { IsApprovalRequiredForExtension = n.GetBoolValue(); } }, + { "isRequestorJustificationRequired", n => { IsRequestorJustificationRequired = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ApprovalStage.cs b/src/generated/Models/ApprovalStage.cs index 00c6025543..6479a5b754 100644 --- a/src/generated/Models/ApprovalStage.cs +++ b/src/generated/Models/ApprovalStage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApprovalStage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApprovalStage : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates whether the stage is assigned to the calling user to review. Read-only. public bool? AssignedToMe { get; set; } @@ -69,13 +72,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignedToMe", n => { AssignedToMe = n.GetBoolValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"justification", n => { Justification = n.GetStringValue(); } }, - {"reviewResult", n => { ReviewResult = n.GetStringValue(); } }, - {"reviewedBy", n => { ReviewedBy = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"reviewedDateTime", n => { ReviewedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "assignedToMe", n => { AssignedToMe = n.GetBoolValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "justification", n => { Justification = n.GetStringValue(); } }, + { "reviewResult", n => { ReviewResult = n.GetStringValue(); } }, + { "reviewedBy", n => { ReviewedBy = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "reviewedDateTime", n => { ReviewedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ApprovalStageCollectionResponse.cs b/src/generated/Models/ApprovalStageCollectionResponse.cs index 865931b9e2..a9ff3fe266 100644 --- a/src/generated/Models/ApprovalStageCollectionResponse.cs +++ b/src/generated/Models/ApprovalStageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ApprovalStageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ApprovalStageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ApprovalStage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AppsInstallationOptionsForMac.cs b/src/generated/Models/AppsInstallationOptionsForMac.cs index 01560994c2..8d539643c4 100644 --- a/src/generated/Models/AppsInstallationOptionsForMac.cs +++ b/src/generated/Models/AppsInstallationOptionsForMac.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppsInstallationOptionsForMac : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppsInstallationOptionsForMac : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -46,9 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isMicrosoft365AppsEnabled", n => { IsMicrosoft365AppsEnabled = n.GetBoolValue(); } }, - {"isSkypeForBusinessEnabled", n => { IsSkypeForBusinessEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isMicrosoft365AppsEnabled", n => { IsMicrosoft365AppsEnabled = n.GetBoolValue(); } }, + { "isSkypeForBusinessEnabled", n => { IsSkypeForBusinessEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppsInstallationOptionsForWindows.cs b/src/generated/Models/AppsInstallationOptionsForWindows.cs index 77f739c254..0c449858d2 100644 --- a/src/generated/Models/AppsInstallationOptionsForWindows.cs +++ b/src/generated/Models/AppsInstallationOptionsForWindows.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AppsInstallationOptionsForWindows : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AppsInstallationOptionsForWindows : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,11 +53,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isMicrosoft365AppsEnabled", n => { IsMicrosoft365AppsEnabled = n.GetBoolValue(); } }, - {"isProjectEnabled", n => { IsProjectEnabled = n.GetBoolValue(); } }, - {"isSkypeForBusinessEnabled", n => { IsSkypeForBusinessEnabled = n.GetBoolValue(); } }, - {"isVisioEnabled", n => { IsVisioEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isMicrosoft365AppsEnabled", n => { IsMicrosoft365AppsEnabled = n.GetBoolValue(); } }, + { "isProjectEnabled", n => { IsProjectEnabled = n.GetBoolValue(); } }, + { "isSkypeForBusinessEnabled", n => { IsSkypeForBusinessEnabled = n.GetBoolValue(); } }, + { "isVisioEnabled", n => { IsVisioEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AppsUpdateChannelType.cs b/src/generated/Models/AppsUpdateChannelType.cs index b3d7d71407..d06b9015f5 100644 --- a/src/generated/Models/AppsUpdateChannelType.cs +++ b/src/generated/Models/AppsUpdateChannelType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AppsUpdateChannelType + #pragma warning restore CS1591 { [EnumMember(Value = "current")] + #pragma warning disable CS1591 Current, + #pragma warning restore CS1591 [EnumMember(Value = "monthlyEnterprise")] + #pragma warning disable CS1591 MonthlyEnterprise, + #pragma warning restore CS1591 [EnumMember(Value = "semiAnnual")] + #pragma warning disable CS1591 SemiAnnual, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ArchivedPrintJob.cs b/src/generated/Models/ArchivedPrintJob.cs index 6ac7639571..be880ec478 100644 --- a/src/generated/Models/ArchivedPrintJob.cs +++ b/src/generated/Models/ArchivedPrintJob.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ArchivedPrintJob : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ArchivedPrintJob : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// True if the job was acquired by a printer; false otherwise. Read-only. public bool? AcquiredByPrinter { get; set; } @@ -86,17 +89,17 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"acquiredByPrinter", n => { AcquiredByPrinter = n.GetBoolValue(); } }, - {"acquiredDateTime", n => { AcquiredDateTime = n.GetDateTimeOffsetValue(); } }, - {"completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, - {"copiesPrinted", n => { CopiesPrinted = n.GetIntValue(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"printerId", n => { PrinterId = n.GetStringValue(); } }, - {"printerName", n => { PrinterName = n.GetStringValue(); } }, - {"processingState", n => { ProcessingState = n.GetEnumValue(); } }, + { "acquiredByPrinter", n => { AcquiredByPrinter = n.GetBoolValue(); } }, + { "acquiredDateTime", n => { AcquiredDateTime = n.GetDateTimeOffsetValue(); } }, + { "completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "copiesPrinted", n => { CopiesPrinted = n.GetIntValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "printerId", n => { PrinterId = n.GetStringValue(); } }, + { "printerName", n => { PrinterName = n.GetStringValue(); } }, + { "processingState", n => { ProcessingState = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AssignedLabel.cs b/src/generated/Models/AssignedLabel.cs index e63c101c1d..c18c0623d6 100644 --- a/src/generated/Models/AssignedLabel.cs +++ b/src/generated/Models/AssignedLabel.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssignedLabel : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssignedLabel : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"labelId", n => { LabelId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "labelId", n => { LabelId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AssignedLicense.cs b/src/generated/Models/AssignedLicense.cs index 80feaee9b6..ea4ec6bc4a 100644 --- a/src/generated/Models/AssignedLicense.cs +++ b/src/generated/Models/AssignedLicense.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssignedLicense : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssignedLicense : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"disabledPlans", n => { DisabledPlans = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"skuId", n => { SkuId = n.GetGuidValue(); } }, + { "disabledPlans", n => { DisabledPlans = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "skuId", n => { SkuId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Models/AssignedPlan.cs b/src/generated/Models/AssignedPlan.cs index 4fdef9b2be..e87bbc5e7b 100644 --- a/src/generated/Models/AssignedPlan.cs +++ b/src/generated/Models/AssignedPlan.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssignedPlan : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssignedPlan : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -62,11 +65,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignedDateTime", n => { AssignedDateTime = n.GetDateTimeOffsetValue(); } }, - {"capabilityStatus", n => { CapabilityStatus = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"service", n => { Service = n.GetStringValue(); } }, - {"servicePlanId", n => { ServicePlanId = n.GetGuidValue(); } }, + { "assignedDateTime", n => { AssignedDateTime = n.GetDateTimeOffsetValue(); } }, + { "capabilityStatus", n => { CapabilityStatus = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "service", n => { Service = n.GetStringValue(); } }, + { "servicePlanId", n => { ServicePlanId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Models/AssignedTrainingInfo.cs b/src/generated/Models/AssignedTrainingInfo.cs index 58fbf879c9..124ffad5af 100644 --- a/src/generated/Models/AssignedTrainingInfo.cs +++ b/src/generated/Models/AssignedTrainingInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssignedTrainingInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssignedTrainingInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"assignedUserCount", n => { AssignedUserCount = n.GetIntValue(); } }, - {"completedUserCount", n => { CompletedUserCount = n.GetIntValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "assignedUserCount", n => { AssignedUserCount = n.GetIntValue(); } }, + { "completedUserCount", n => { CompletedUserCount = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AssignmentOrder.cs b/src/generated/Models/AssignmentOrder.cs index 767269ebd6..eff9b73c43 100644 --- a/src/generated/Models/AssignmentOrder.cs +++ b/src/generated/Models/AssignmentOrder.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssignmentOrder : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssignmentOrder : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"order", n => { Order = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "order", n => { Order = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AssignmentType.cs b/src/generated/Models/AssignmentType.cs index 937d23a4ce..347bc1af1f 100644 --- a/src/generated/Models/AssignmentType.cs +++ b/src/generated/Models/AssignmentType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AssignmentType + #pragma warning restore CS1591 { [EnumMember(Value = "required")] + #pragma warning disable CS1591 Required, + #pragma warning restore CS1591 [EnumMember(Value = "recommended")] + #pragma warning disable CS1591 Recommended, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AssociatedTeamInfo.cs b/src/generated/Models/AssociatedTeamInfo.cs index d042d6c7bc..f733acfab8 100644 --- a/src/generated/Models/AssociatedTeamInfo.cs +++ b/src/generated/Models/AssociatedTeamInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssociatedTeamInfo : TeamInfo, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssociatedTeamInfo : TeamInfo, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/AssociatedTeamInfoCollectionResponse.cs b/src/generated/Models/AssociatedTeamInfoCollectionResponse.cs index 22905be7a6..90c9b43197 100644 --- a/src/generated/Models/AssociatedTeamInfoCollectionResponse.cs +++ b/src/generated/Models/AssociatedTeamInfoCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AssociatedTeamInfoCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AssociatedTeamInfoCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AssociatedTeamInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AssociatedTeamInfo.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Attachment.cs b/src/generated/Models/Attachment.cs index 2a0c504e29..be999c7430 100644 --- a/src/generated/Models/Attachment.cs +++ b/src/generated/Models/Attachment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Attachment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Attachment : Entity, IParsable + #pragma warning restore CS1591 { /// The MIME type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -54,11 +57,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"contentType", n => { ContentType = n.GetStringValue(); } }, - {"isInline", n => { IsInline = n.GetBoolValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"size", n => { Size = n.GetIntValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "isInline", n => { IsInline = n.GetBoolValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "size", n => { Size = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttachmentBase.cs b/src/generated/Models/AttachmentBase.cs index 80e5d39e21..495bf1fd71 100644 --- a/src/generated/Models/AttachmentBase.cs +++ b/src/generated/Models/AttachmentBase.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentBase : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentBase : Entity, IParsable + #pragma warning restore CS1591 { /// The MIME type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -50,10 +53,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"contentType", n => { ContentType = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"size", n => { Size = n.GetIntValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "size", n => { Size = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttachmentBaseCollectionResponse.cs b/src/generated/Models/AttachmentBaseCollectionResponse.cs index ac5d616f9f..6163ed1293 100644 --- a/src/generated/Models/AttachmentBaseCollectionResponse.cs +++ b/src/generated/Models/AttachmentBaseCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttachmentBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttachmentBase.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttachmentCollectionResponse.cs b/src/generated/Models/AttachmentCollectionResponse.cs index 7c205dd70a..cebac2f1e6 100644 --- a/src/generated/Models/AttachmentCollectionResponse.cs +++ b/src/generated/Models/AttachmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttachmentInfo.cs b/src/generated/Models/AttachmentInfo.cs index 1221da8456..407d6d1d56 100644 --- a/src/generated/Models/AttachmentInfo.cs +++ b/src/generated/Models/AttachmentInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -62,11 +65,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attachmentType", n => { AttachmentType = n.GetEnumValue(); } }, - {"contentType", n => { ContentType = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"size", n => { Size = n.GetLongValue(); } }, + { "attachmentType", n => { AttachmentType = n.GetEnumValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "size", n => { Size = n.GetLongValue(); } }, }; } /// diff --git a/src/generated/Models/AttachmentItem.cs b/src/generated/Models/AttachmentItem.cs index c4438dafc4..4a364adb31 100644 --- a/src/generated/Models/AttachmentItem.cs +++ b/src/generated/Models/AttachmentItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentItem : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentItem : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -72,13 +75,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attachmentType", n => { AttachmentType = n.GetEnumValue(); } }, - {"contentId", n => { ContentId = n.GetStringValue(); } }, - {"contentType", n => { ContentType = n.GetStringValue(); } }, - {"isInline", n => { IsInline = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"size", n => { Size = n.GetLongValue(); } }, + { "attachmentType", n => { AttachmentType = n.GetEnumValue(); } }, + { "contentId", n => { ContentId = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "isInline", n => { IsInline = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "size", n => { Size = n.GetLongValue(); } }, }; } /// diff --git a/src/generated/Models/AttachmentSession.cs b/src/generated/Models/AttachmentSession.cs index cd55440933..244f4cfcd9 100644 --- a/src/generated/Models/AttachmentSession.cs +++ b/src/generated/Models/AttachmentSession.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentSession : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentSession : Entity, IParsable + #pragma warning restore CS1591 { /// The content streams that are uploaded. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"nextExpectedRanges", n => { NextExpectedRanges = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "nextExpectedRanges", n => { NextExpectedRanges = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttachmentSessionCollectionResponse.cs b/src/generated/Models/AttachmentSessionCollectionResponse.cs index 139ae7cafe..62b8bab271 100644 --- a/src/generated/Models/AttachmentSessionCollectionResponse.cs +++ b/src/generated/Models/AttachmentSessionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttachmentSessionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttachmentSessionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttachmentSession.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttachmentSession.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttachmentType.cs b/src/generated/Models/AttachmentType.cs index 3ca0559c04..db534619ee 100644 --- a/src/generated/Models/AttachmentType.cs +++ b/src/generated/Models/AttachmentType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttachmentType + #pragma warning restore CS1591 { [EnumMember(Value = "file")] + #pragma warning disable CS1591 File, + #pragma warning restore CS1591 [EnumMember(Value = "item")] + #pragma warning disable CS1591 Item, + #pragma warning restore CS1591 [EnumMember(Value = "reference")] + #pragma warning disable CS1591 Reference, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttackSimulationOperation.cs b/src/generated/Models/AttackSimulationOperation.cs index a846a0854d..3a0f64e4ca 100644 --- a/src/generated/Models/AttackSimulationOperation.cs +++ b/src/generated/Models/AttackSimulationOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationOperation : LongRunningOperation, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationOperation : LongRunningOperation, IParsable + #pragma warning restore CS1591 { /// Percentage of completion of the respective operation. public int? PercentageCompleted { get; set; } @@ -37,9 +40,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"percentageCompleted", n => { PercentageCompleted = n.GetIntValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "percentageCompleted", n => { PercentageCompleted = n.GetIntValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationOperationCollectionResponse.cs b/src/generated/Models/AttackSimulationOperationCollectionResponse.cs index 787d7f2dc1..775e3e5ef3 100644 --- a/src/generated/Models/AttackSimulationOperationCollectionResponse.cs +++ b/src/generated/Models/AttackSimulationOperationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttackSimulationOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttackSimulationOperation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationOperationType.cs b/src/generated/Models/AttackSimulationOperationType.cs index 03a9274f52..e110d7e9b6 100644 --- a/src/generated/Models/AttackSimulationOperationType.cs +++ b/src/generated/Models/AttackSimulationOperationType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttackSimulationOperationType + #pragma warning restore CS1591 { [EnumMember(Value = "createSimualation")] + #pragma warning disable CS1591 CreateSimualation, + #pragma warning restore CS1591 [EnumMember(Value = "updateSimulation")] + #pragma warning disable CS1591 UpdateSimulation, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttackSimulationRepeatOffender.cs b/src/generated/Models/AttackSimulationRepeatOffender.cs index c543a07e6f..8fea09b001 100644 --- a/src/generated/Models/AttackSimulationRepeatOffender.cs +++ b/src/generated/Models/AttackSimulationRepeatOffender.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationRepeatOffender : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationRepeatOffender : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"repeatOffenceCount", n => { RepeatOffenceCount = n.GetIntValue(); } }, + { "attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "repeatOffenceCount", n => { RepeatOffenceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationRoot.cs b/src/generated/Models/AttackSimulationRoot.cs index e1d793aa88..86ff3d5bf1 100644 --- a/src/generated/Models/AttackSimulationRoot.cs +++ b/src/generated/Models/AttackSimulationRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationRoot : Entity, IParsable + #pragma warning restore CS1591 { /// Represents an end user's notification for an attack simulation training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -89,14 +92,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"endUserNotifications", n => { EndUserNotifications = n.GetCollectionOfObjectValues(EndUserNotification.CreateFromDiscriminatorValue)?.ToList(); } }, - {"landingPages", n => { LandingPages = n.GetCollectionOfObjectValues(LandingPage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"loginPages", n => { LoginPages = n.GetCollectionOfObjectValues(LoginPage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"operations", n => { Operations = n.GetCollectionOfObjectValues(AttackSimulationOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"payloads", n => { Payloads = n.GetCollectionOfObjectValues(Payload.CreateFromDiscriminatorValue)?.ToList(); } }, - {"simulationAutomations", n => { SimulationAutomations = n.GetCollectionOfObjectValues(SimulationAutomation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"simulations", n => { Simulations = n.GetCollectionOfObjectValues(Simulation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"trainings", n => { Trainings = n.GetCollectionOfObjectValues(Training.CreateFromDiscriminatorValue)?.ToList(); } }, + { "endUserNotifications", n => { EndUserNotifications = n.GetCollectionOfObjectValues(EndUserNotification.CreateFromDiscriminatorValue)?.ToList(); } }, + { "landingPages", n => { LandingPages = n.GetCollectionOfObjectValues(LandingPage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "loginPages", n => { LoginPages = n.GetCollectionOfObjectValues(LoginPage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(AttackSimulationOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "payloads", n => { Payloads = n.GetCollectionOfObjectValues(Payload.CreateFromDiscriminatorValue)?.ToList(); } }, + { "simulationAutomations", n => { SimulationAutomations = n.GetCollectionOfObjectValues(SimulationAutomation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "simulations", n => { Simulations = n.GetCollectionOfObjectValues(Simulation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "trainings", n => { Trainings = n.GetCollectionOfObjectValues(Training.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationSimulationUserCoverage.cs b/src/generated/Models/AttackSimulationSimulationUserCoverage.cs index a2d07fac84..61c7bd62e9 100644 --- a/src/generated/Models/AttackSimulationSimulationUserCoverage.cs +++ b/src/generated/Models/AttackSimulationSimulationUserCoverage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationSimulationUserCoverage : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationSimulationUserCoverage : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,12 +61,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, - {"clickCount", n => { ClickCount = n.GetIntValue(); } }, - {"compromisedCount", n => { CompromisedCount = n.GetIntValue(); } }, - {"latestSimulationDateTime", n => { LatestSimulationDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"simulationCount", n => { SimulationCount = n.GetIntValue(); } }, + { "attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, + { "clickCount", n => { ClickCount = n.GetIntValue(); } }, + { "compromisedCount", n => { CompromisedCount = n.GetIntValue(); } }, + { "latestSimulationDateTime", n => { LatestSimulationDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "simulationCount", n => { SimulationCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationTrainingUserCoverage.cs b/src/generated/Models/AttackSimulationTrainingUserCoverage.cs index a694383b40..0274ec2e03 100644 --- a/src/generated/Models/AttackSimulationTrainingUserCoverage.cs +++ b/src/generated/Models/AttackSimulationTrainingUserCoverage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationTrainingUserCoverage : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationTrainingUserCoverage : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"userTrainings", n => { UserTrainings = n.GetCollectionOfObjectValues(UserTrainingStatusInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attackSimulationUser", n => { AttackSimulationUser = n.GetObjectValue(ApiSdk.Models.AttackSimulationUser.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "userTrainings", n => { UserTrainings = n.GetCollectionOfObjectValues(UserTrainingStatusInfo.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttackSimulationUser.cs b/src/generated/Models/AttackSimulationUser.cs index e345a69ed6..8d03facd32 100644 --- a/src/generated/Models/AttackSimulationUser.cs +++ b/src/generated/Models/AttackSimulationUser.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttackSimulationUser : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttackSimulationUser : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttendanceInterval.cs b/src/generated/Models/AttendanceInterval.cs index d33ab31da0..af3283d4a5 100644 --- a/src/generated/Models/AttendanceInterval.cs +++ b/src/generated/Models/AttendanceInterval.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendanceInterval : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendanceInterval : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"durationInSeconds", n => { DurationInSeconds = n.GetIntValue(); } }, - {"joinDateTime", n => { JoinDateTime = n.GetDateTimeOffsetValue(); } }, - {"leaveDateTime", n => { LeaveDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "durationInSeconds", n => { DurationInSeconds = n.GetIntValue(); } }, + { "joinDateTime", n => { JoinDateTime = n.GetDateTimeOffsetValue(); } }, + { "leaveDateTime", n => { LeaveDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttendanceRecord.cs b/src/generated/Models/AttendanceRecord.cs index 096150cc06..78fcb91845 100644 --- a/src/generated/Models/AttendanceRecord.cs +++ b/src/generated/Models/AttendanceRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendanceRecord : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendanceRecord : Entity, IParsable + #pragma warning restore CS1591 { /// List of time periods between joining and leaving a meeting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -59,11 +62,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"attendanceIntervals", n => { AttendanceIntervals = n.GetCollectionOfObjectValues(AttendanceInterval.CreateFromDiscriminatorValue)?.ToList(); } }, - {"emailAddress", n => { EmailAddress = n.GetStringValue(); } }, - {"identity", n => { Identity = n.GetObjectValue(ApiSdk.Models.Identity.CreateFromDiscriminatorValue); } }, - {"role", n => { Role = n.GetStringValue(); } }, - {"totalAttendanceInSeconds", n => { TotalAttendanceInSeconds = n.GetIntValue(); } }, + { "attendanceIntervals", n => { AttendanceIntervals = n.GetCollectionOfObjectValues(AttendanceInterval.CreateFromDiscriminatorValue)?.ToList(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "identity", n => { Identity = n.GetObjectValue(ApiSdk.Models.Identity.CreateFromDiscriminatorValue); } }, + { "role", n => { Role = n.GetStringValue(); } }, + { "totalAttendanceInSeconds", n => { TotalAttendanceInSeconds = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttendanceRecordCollectionResponse.cs b/src/generated/Models/AttendanceRecordCollectionResponse.cs index 8cf1d56a90..2b95f508b9 100644 --- a/src/generated/Models/AttendanceRecordCollectionResponse.cs +++ b/src/generated/Models/AttendanceRecordCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendanceRecordCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendanceRecordCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttendanceRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttendanceRecord.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Attendee.cs b/src/generated/Models/Attendee.cs index ae90a9d201..536aaadf77 100644 --- a/src/generated/Models/Attendee.cs +++ b/src/generated/Models/Attendee.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Attendee : AttendeeBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Attendee : AttendeeBase, IParsable + #pragma warning restore CS1591 { /// An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property isn't included in a response of a GET event. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetObjectValue(ResponseStatus.CreateFromDiscriminatorValue); } }, + { "proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetObjectValue(ResponseStatus.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AttendeeAvailability.cs b/src/generated/Models/AttendeeAvailability.cs index 0de1568a3a..186c75d0f1 100644 --- a/src/generated/Models/AttendeeAvailability.cs +++ b/src/generated/Models/AttendeeAvailability.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendeeAvailability : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendeeAvailability : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attendee", n => { Attendee = n.GetObjectValue(AttendeeBase.CreateFromDiscriminatorValue); } }, - {"availability", n => { Availability = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "attendee", n => { Attendee = n.GetObjectValue(AttendeeBase.CreateFromDiscriminatorValue); } }, + { "availability", n => { Availability = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttendeeBase.cs b/src/generated/Models/AttendeeBase.cs index d9583b7986..c7df634467 100644 --- a/src/generated/Models/AttendeeBase.cs +++ b/src/generated/Models/AttendeeBase.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendeeBase : Recipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendeeBase : Recipient, IParsable + #pragma warning restore CS1591 { /// The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type. public AttendeeType? Type { get; set; } @@ -39,7 +42,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"type", n => { Type = n.GetEnumValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AttendeeNotificationInfo.cs b/src/generated/Models/AttendeeNotificationInfo.cs index 643c5e1ba3..b5d46aede9 100644 --- a/src/generated/Models/AttendeeNotificationInfo.cs +++ b/src/generated/Models/AttendeeNotificationInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttendeeNotificationInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttendeeNotificationInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"phoneNumber", n => { PhoneNumber = n.GetStringValue(); } }, - {"timeZone", n => { TimeZone = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "phoneNumber", n => { PhoneNumber = n.GetStringValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttendeeType.cs b/src/generated/Models/AttendeeType.cs index c815a55543..369158bf4c 100644 --- a/src/generated/Models/AttendeeType.cs +++ b/src/generated/Models/AttendeeType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttendeeType + #pragma warning restore CS1591 { [EnumMember(Value = "required")] + #pragma warning disable CS1591 Required, + #pragma warning restore CS1591 [EnumMember(Value = "optional")] + #pragma warning disable CS1591 Optional, + #pragma warning restore CS1591 [EnumMember(Value = "resource")] + #pragma warning disable CS1591 Resource, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttestationLevel.cs b/src/generated/Models/AttestationLevel.cs index 1ecaf11ea2..1be8400347 100644 --- a/src/generated/Models/AttestationLevel.cs +++ b/src/generated/Models/AttestationLevel.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttestationLevel + #pragma warning restore CS1591 { [EnumMember(Value = "attested")] + #pragma warning disable CS1591 Attested, + #pragma warning restore CS1591 [EnumMember(Value = "notAttested")] + #pragma warning disable CS1591 NotAttested, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttributeDefinition.cs b/src/generated/Models/AttributeDefinition.cs index 37dc6258fb..5aeb1fd641 100644 --- a/src/generated/Models/AttributeDefinition.cs +++ b/src/generated/Models/AttributeDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeDefinition : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeDefinition : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -21,7 +24,7 @@ public class AttributeDefinition : IAdditionalDataHolder, IParsable #endif /// true if value of this attribute should be treated as case-sensitive. This setting affects how the synchronization engine detects changes for the attribute. public bool? CaseExact { get; set; } - /// The defaultValue property + /// The default value of the attribute. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultValue { get; set; } @@ -96,19 +99,19 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"anchor", n => { Anchor = n.GetBoolValue(); } }, - {"apiExpressions", n => { ApiExpressions = n.GetCollectionOfObjectValues(StringKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"caseExact", n => { CaseExact = n.GetBoolValue(); } }, - {"defaultValue", n => { DefaultValue = n.GetStringValue(); } }, - {"flowNullValues", n => { FlowNullValues = n.GetBoolValue(); } }, - {"metadata", n => { Metadata = n.GetCollectionOfObjectValues(AttributeDefinitionMetadataEntry.CreateFromDiscriminatorValue)?.ToList(); } }, - {"multivalued", n => { Multivalued = n.GetBoolValue(); } }, - {"mutability", n => { Mutability = n.GetEnumValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"referencedObjects", n => { ReferencedObjects = n.GetCollectionOfObjectValues(ReferencedObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"required", n => { Required = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "anchor", n => { Anchor = n.GetBoolValue(); } }, + { "apiExpressions", n => { ApiExpressions = n.GetCollectionOfObjectValues(StringKeyStringValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "caseExact", n => { CaseExact = n.GetBoolValue(); } }, + { "defaultValue", n => { DefaultValue = n.GetStringValue(); } }, + { "flowNullValues", n => { FlowNullValues = n.GetBoolValue(); } }, + { "metadata", n => { Metadata = n.GetCollectionOfObjectValues(AttributeDefinitionMetadataEntry.CreateFromDiscriminatorValue)?.ToList(); } }, + { "multivalued", n => { Multivalued = n.GetBoolValue(); } }, + { "mutability", n => { Mutability = n.GetEnumValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "referencedObjects", n => { ReferencedObjects = n.GetCollectionOfObjectValues(ReferencedObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "required", n => { Required = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeDefinitionMetadata.cs b/src/generated/Models/AttributeDefinitionMetadata.cs index 5e9ccb7ae9..b8ed61792f 100644 --- a/src/generated/Models/AttributeDefinitionMetadata.cs +++ b/src/generated/Models/AttributeDefinitionMetadata.cs @@ -1,26 +1,47 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttributeDefinitionMetadata + #pragma warning restore CS1591 { [EnumMember(Value = "BaseAttributeName")] + #pragma warning disable CS1591 BaseAttributeName, + #pragma warning restore CS1591 [EnumMember(Value = "ComplexObjectDefinition")] + #pragma warning disable CS1591 ComplexObjectDefinition, + #pragma warning restore CS1591 [EnumMember(Value = "IsContainer")] + #pragma warning disable CS1591 IsContainer, + #pragma warning restore CS1591 [EnumMember(Value = "IsCustomerDefined")] + #pragma warning disable CS1591 IsCustomerDefined, + #pragma warning restore CS1591 [EnumMember(Value = "IsDomainQualified")] + #pragma warning disable CS1591 IsDomainQualified, + #pragma warning restore CS1591 [EnumMember(Value = "LinkPropertyNames")] + #pragma warning disable CS1591 LinkPropertyNames, + #pragma warning restore CS1591 [EnumMember(Value = "LinkTypeName")] + #pragma warning disable CS1591 LinkTypeName, + #pragma warning restore CS1591 [EnumMember(Value = "MaximumLength")] + #pragma warning disable CS1591 MaximumLength, + #pragma warning restore CS1591 [EnumMember(Value = "ReferencedProperty")] + #pragma warning disable CS1591 ReferencedProperty, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttributeDefinitionMetadataEntry.cs b/src/generated/Models/AttributeDefinitionMetadataEntry.cs index 77c81df2a7..fee238888d 100644 --- a/src/generated/Models/AttributeDefinitionMetadataEntry.cs +++ b/src/generated/Models/AttributeDefinitionMetadataEntry.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeDefinitionMetadataEntry : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeDefinitionMetadataEntry : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"key", n => { Key = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "key", n => { Key = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeFlowBehavior.cs b/src/generated/Models/AttributeFlowBehavior.cs index 366d61e5ee..8df1ee95d2 100644 --- a/src/generated/Models/AttributeFlowBehavior.cs +++ b/src/generated/Models/AttributeFlowBehavior.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttributeFlowBehavior + #pragma warning restore CS1591 { [EnumMember(Value = "FlowWhenChanged")] + #pragma warning disable CS1591 FlowWhenChanged, + #pragma warning restore CS1591 [EnumMember(Value = "FlowAlways")] + #pragma warning disable CS1591 FlowAlways, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttributeFlowType.cs b/src/generated/Models/AttributeFlowType.cs index 5933f99b1b..b9eb726e78 100644 --- a/src/generated/Models/AttributeFlowType.cs +++ b/src/generated/Models/AttributeFlowType.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttributeFlowType + #pragma warning restore CS1591 { [EnumMember(Value = "Always")] + #pragma warning disable CS1591 Always, + #pragma warning restore CS1591 [EnumMember(Value = "ObjectAddOnly")] + #pragma warning disable CS1591 ObjectAddOnly, + #pragma warning restore CS1591 [EnumMember(Value = "MultiValueAddOnly")] + #pragma warning disable CS1591 MultiValueAddOnly, + #pragma warning restore CS1591 [EnumMember(Value = "ValueAddOnly")] + #pragma warning disable CS1591 ValueAddOnly, + #pragma warning restore CS1591 [EnumMember(Value = "AttributeAddOnly")] + #pragma warning disable CS1591 AttributeAddOnly, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttributeMapping.cs b/src/generated/Models/AttributeMapping.cs index 1bc996e33f..f780120b75 100644 --- a/src/generated/Models/AttributeMapping.cs +++ b/src/generated/Models/AttributeMapping.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeMapping : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeMapping : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,14 +77,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"defaultValue", n => { DefaultValue = n.GetStringValue(); } }, - {"exportMissingReferences", n => { ExportMissingReferences = n.GetBoolValue(); } }, - {"flowBehavior", n => { FlowBehavior = n.GetEnumValue(); } }, - {"flowType", n => { FlowType = n.GetEnumValue(); } }, - {"matchingPriority", n => { MatchingPriority = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"source", n => { Source = n.GetObjectValue(AttributeMappingSource.CreateFromDiscriminatorValue); } }, - {"targetAttributeName", n => { TargetAttributeName = n.GetStringValue(); } }, + { "defaultValue", n => { DefaultValue = n.GetStringValue(); } }, + { "exportMissingReferences", n => { ExportMissingReferences = n.GetBoolValue(); } }, + { "flowBehavior", n => { FlowBehavior = n.GetEnumValue(); } }, + { "flowType", n => { FlowType = n.GetEnumValue(); } }, + { "matchingPriority", n => { MatchingPriority = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "source", n => { Source = n.GetObjectValue(AttributeMappingSource.CreateFromDiscriminatorValue); } }, + { "targetAttributeName", n => { TargetAttributeName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeMappingFunctionSchema.cs b/src/generated/Models/AttributeMappingFunctionSchema.cs index 06c7bdbff7..c6553be729 100644 --- a/src/generated/Models/AttributeMappingFunctionSchema.cs +++ b/src/generated/Models/AttributeMappingFunctionSchema.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeMappingFunctionSchema : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeMappingFunctionSchema : Entity, IParsable + #pragma warning restore CS1591 { /// Collection of function parameters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"parameters", n => { Parameters = n.GetCollectionOfObjectValues(AttributeMappingParameterSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "parameters", n => { Parameters = n.GetCollectionOfObjectValues(AttributeMappingParameterSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttributeMappingFunctionSchemaCollectionResponse.cs b/src/generated/Models/AttributeMappingFunctionSchemaCollectionResponse.cs index 3aacc45528..c72099f944 100644 --- a/src/generated/Models/AttributeMappingFunctionSchemaCollectionResponse.cs +++ b/src/generated/Models/AttributeMappingFunctionSchemaCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeMappingFunctionSchemaCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeMappingFunctionSchemaCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttributeMappingFunctionSchema.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttributeMappingParameterSchema.cs b/src/generated/Models/AttributeMappingParameterSchema.cs index 5d0c2a0e69..b58ca27764 100644 --- a/src/generated/Models/AttributeMappingParameterSchema.cs +++ b/src/generated/Models/AttributeMappingParameterSchema.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeMappingParameterSchema : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeMappingParameterSchema : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -56,11 +59,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowMultipleOccurrences", n => { AllowMultipleOccurrences = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"required", n => { Required = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "allowMultipleOccurrences", n => { AllowMultipleOccurrences = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "required", n => { Required = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeMappingSource.cs b/src/generated/Models/AttributeMappingSource.cs index cd01135777..c7d27ceb55 100644 --- a/src/generated/Models/AttributeMappingSource.cs +++ b/src/generated/Models/AttributeMappingSource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeMappingSource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeMappingSource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -68,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expression", n => { Expression = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"parameters", n => { Parameters = n.GetCollectionOfObjectValues(StringKeyAttributeMappingSourceValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "expression", n => { Expression = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "parameters", n => { Parameters = n.GetCollectionOfObjectValues(StringKeyAttributeMappingSourceValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeMappingSourceType.cs b/src/generated/Models/AttributeMappingSourceType.cs index f5875ecb84..90bce1ccdd 100644 --- a/src/generated/Models/AttributeMappingSourceType.cs +++ b/src/generated/Models/AttributeMappingSourceType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttributeMappingSourceType + #pragma warning restore CS1591 { [EnumMember(Value = "Attribute")] + #pragma warning disable CS1591 Attribute, + #pragma warning restore CS1591 [EnumMember(Value = "Constant")] + #pragma warning disable CS1591 Constant, + #pragma warning restore CS1591 [EnumMember(Value = "Function")] + #pragma warning disable CS1591 Function, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AttributeRuleMembers.cs b/src/generated/Models/AttributeRuleMembers.cs index 799b5b0a66..11050afbcc 100644 --- a/src/generated/Models/AttributeRuleMembers.cs +++ b/src/generated/Models/AttributeRuleMembers.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeRuleMembers : SubjectSet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeRuleMembers : SubjectSet, IParsable + #pragma warning restore CS1591 { /// A description of the membership rule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"membershipRule", n => { MembershipRule = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "membershipRule", n => { MembershipRule = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeSet.cs b/src/generated/Models/AttributeSet.cs index a6e04b90d7..afc4d71de4 100644 --- a/src/generated/Models/AttributeSet.cs +++ b/src/generated/Models/AttributeSet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeSet : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeSet : Entity, IParsable + #pragma warning restore CS1591 { /// Description of the attribute set. Can be up to 128 characters long and include Unicode characters. Can be changed later. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"maxAttributesPerSet", n => { MaxAttributesPerSet = n.GetIntValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "maxAttributesPerSet", n => { MaxAttributesPerSet = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AttributeSetCollectionResponse.cs b/src/generated/Models/AttributeSetCollectionResponse.cs index bb81b602f9..4dee7a1602 100644 --- a/src/generated/Models/AttributeSetCollectionResponse.cs +++ b/src/generated/Models/AttributeSetCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AttributeSetCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AttributeSetCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AttributeSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AttributeSet.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AttributeType.cs b/src/generated/Models/AttributeType.cs index 1d99b23be5..f6b675f531 100644 --- a/src/generated/Models/AttributeType.cs +++ b/src/generated/Models/AttributeType.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AttributeType + #pragma warning restore CS1591 { [EnumMember(Value = "String")] + #pragma warning disable CS1591 String, + #pragma warning restore CS1591 [EnumMember(Value = "Integer")] + #pragma warning disable CS1591 Integer, + #pragma warning restore CS1591 [EnumMember(Value = "Reference")] + #pragma warning disable CS1591 Reference, + #pragma warning restore CS1591 [EnumMember(Value = "Binary")] + #pragma warning disable CS1591 Binary, + #pragma warning restore CS1591 [EnumMember(Value = "Boolean")] + #pragma warning disable CS1591 Boolean, + #pragma warning restore CS1591 [EnumMember(Value = "DateTime")] + #pragma warning disable CS1591 DateTime, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/Audio.cs b/src/generated/Models/Audio.cs index abc7cea633..34c13b73cf 100644 --- a/src/generated/Models/Audio.cs +++ b/src/generated/Models/Audio.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Audio : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Audio : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -116,23 +119,23 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"album", n => { Album = n.GetStringValue(); } }, - {"albumArtist", n => { AlbumArtist = n.GetStringValue(); } }, - {"artist", n => { Artist = n.GetStringValue(); } }, - {"bitrate", n => { Bitrate = n.GetLongValue(); } }, - {"composers", n => { Composers = n.GetStringValue(); } }, - {"copyright", n => { Copyright = n.GetStringValue(); } }, - {"disc", n => { Disc = n.GetIntValue(); } }, - {"discCount", n => { DiscCount = n.GetIntValue(); } }, - {"duration", n => { Duration = n.GetLongValue(); } }, - {"genre", n => { Genre = n.GetStringValue(); } }, - {"hasDrm", n => { HasDrm = n.GetBoolValue(); } }, - {"isVariableBitrate", n => { IsVariableBitrate = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"title", n => { Title = n.GetStringValue(); } }, - {"track", n => { Track = n.GetIntValue(); } }, - {"trackCount", n => { TrackCount = n.GetIntValue(); } }, - {"year", n => { Year = n.GetIntValue(); } }, + { "album", n => { Album = n.GetStringValue(); } }, + { "albumArtist", n => { AlbumArtist = n.GetStringValue(); } }, + { "artist", n => { Artist = n.GetStringValue(); } }, + { "bitrate", n => { Bitrate = n.GetLongValue(); } }, + { "composers", n => { Composers = n.GetStringValue(); } }, + { "copyright", n => { Copyright = n.GetStringValue(); } }, + { "disc", n => { Disc = n.GetIntValue(); } }, + { "discCount", n => { DiscCount = n.GetIntValue(); } }, + { "duration", n => { Duration = n.GetLongValue(); } }, + { "genre", n => { Genre = n.GetStringValue(); } }, + { "hasDrm", n => { HasDrm = n.GetBoolValue(); } }, + { "isVariableBitrate", n => { IsVariableBitrate = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + { "track", n => { Track = n.GetIntValue(); } }, + { "trackCount", n => { TrackCount = n.GetIntValue(); } }, + { "year", n => { Year = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/AudioConferencing.cs b/src/generated/Models/AudioConferencing.cs index 20cb23a45c..c7d512841f 100644 --- a/src/generated/Models/AudioConferencing.cs +++ b/src/generated/Models/AudioConferencing.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AudioConferencing : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AudioConferencing : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -33,7 +36,7 @@ public class AudioConferencing : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// The tollFreeNumber property + /// The toll-free number that connects to the Audio Conference Provider. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TollFreeNumber { get; set; } @@ -49,7 +52,7 @@ public class AudioConferencing : IAdditionalDataHolder, IParsable #else public List TollFreeNumbers { get; set; } #endif - /// The tollNumber property + /// The toll number that connects to the Audio Conference Provider. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TollNumber { get; set; } @@ -90,13 +93,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"conferenceId", n => { ConferenceId = n.GetStringValue(); } }, - {"dialinUrl", n => { DialinUrl = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"tollFreeNumber", n => { TollFreeNumber = n.GetStringValue(); } }, - {"tollFreeNumbers", n => { TollFreeNumbers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"tollNumber", n => { TollNumber = n.GetStringValue(); } }, - {"tollNumbers", n => { TollNumbers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "conferenceId", n => { ConferenceId = n.GetStringValue(); } }, + { "dialinUrl", n => { DialinUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "tollFreeNumber", n => { TollFreeNumber = n.GetStringValue(); } }, + { "tollFreeNumbers", n => { TollFreeNumbers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "tollNumber", n => { TollNumber = n.GetStringValue(); } }, + { "tollNumbers", n => { TollNumbers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AudioRoutingGroup.cs b/src/generated/Models/AudioRoutingGroup.cs index 50bf679a05..42a6f468e7 100644 --- a/src/generated/Models/AudioRoutingGroup.cs +++ b/src/generated/Models/AudioRoutingGroup.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AudioRoutingGroup : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AudioRoutingGroup : Entity, IParsable + #pragma warning restore CS1591 { /// List of receiving participant ids. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"receivers", n => { Receivers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"routingMode", n => { RoutingMode = n.GetEnumValue(); } }, - {"sources", n => { Sources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "receivers", n => { Receivers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "routingMode", n => { RoutingMode = n.GetEnumValue(); } }, + { "sources", n => { Sources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AudioRoutingGroupCollectionResponse.cs b/src/generated/Models/AudioRoutingGroupCollectionResponse.cs index e231ee6f19..b4789aa413 100644 --- a/src/generated/Models/AudioRoutingGroupCollectionResponse.cs +++ b/src/generated/Models/AudioRoutingGroupCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AudioRoutingGroupCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AudioRoutingGroupCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AudioRoutingGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AudioRoutingGroup.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuditActivityInitiator.cs b/src/generated/Models/AuditActivityInitiator.cs index 1e8e0c958e..fca5fe14ca 100644 --- a/src/generated/Models/AuditActivityInitiator.cs +++ b/src/generated/Models/AuditActivityInitiator.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuditActivityInitiator : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuditActivityInitiator : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"app", n => { App = n.GetObjectValue(AppIdentity.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"user", n => { User = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, + { "app", n => { App = n.GetObjectValue(AppIdentity.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "user", n => { User = n.GetObjectValue(UserIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AuditActor.cs b/src/generated/Models/AuditActor.cs index b5b0bb492e..0de3463750 100644 --- a/src/generated/Models/AuditActor.cs +++ b/src/generated/Models/AuditActor.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A class containing the properties for Audit Actor. /// - public class AuditActor : IAdditionalDataHolder, IParsable + public class AuditActor : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -109,15 +110,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationDisplayName", n => { ApplicationDisplayName = n.GetStringValue(); } }, - {"applicationId", n => { ApplicationId = n.GetStringValue(); } }, - {"auditActorType", n => { AuditActorType = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userPermissions", n => { UserPermissions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "applicationDisplayName", n => { ApplicationDisplayName = n.GetStringValue(); } }, + { "applicationId", n => { ApplicationId = n.GetStringValue(); } }, + { "auditActorType", n => { AuditActorType = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userPermissions", n => { UserPermissions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuditEvent.cs b/src/generated/Models/AuditEvent.cs index 750c93727e..bb2c2b78d7 100644 --- a/src/generated/Models/AuditEvent.cs +++ b/src/generated/Models/AuditEvent.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A class containing the properties for Audit Event. /// - public class AuditEvent : Entity, IParsable + public class AuditEvent : Entity, IParsable { /// Friendly name of the activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -104,17 +105,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activity", n => { Activity = n.GetStringValue(); } }, - {"activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, - {"activityOperationType", n => { ActivityOperationType = n.GetStringValue(); } }, - {"activityResult", n => { ActivityResult = n.GetStringValue(); } }, - {"activityType", n => { ActivityType = n.GetStringValue(); } }, - {"actor", n => { Actor = n.GetObjectValue(AuditActor.CreateFromDiscriminatorValue); } }, - {"category", n => { Category = n.GetStringValue(); } }, - {"componentName", n => { ComponentName = n.GetStringValue(); } }, - {"correlationId", n => { CorrelationId = n.GetGuidValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(AuditResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activity", n => { Activity = n.GetStringValue(); } }, + { "activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, + { "activityOperationType", n => { ActivityOperationType = n.GetStringValue(); } }, + { "activityResult", n => { ActivityResult = n.GetStringValue(); } }, + { "activityType", n => { ActivityType = n.GetStringValue(); } }, + { "actor", n => { Actor = n.GetObjectValue(AuditActor.CreateFromDiscriminatorValue); } }, + { "category", n => { Category = n.GetStringValue(); } }, + { "componentName", n => { ComponentName = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetGuidValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(AuditResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuditEventCollectionResponse.cs b/src/generated/Models/AuditEventCollectionResponse.cs index 342efa0475..225f65c78b 100644 --- a/src/generated/Models/AuditEventCollectionResponse.cs +++ b/src/generated/Models/AuditEventCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuditEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuditEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuditLogRoot.cs b/src/generated/Models/AuditLogRoot.cs index 4e796937e7..967f7e5568 100644 --- a/src/generated/Models/AuditLogRoot.cs +++ b/src/generated/Models/AuditLogRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuditLogRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuditLogRoot : Entity, IParsable + #pragma warning restore CS1591 { /// The directoryAudits property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -49,9 +52,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"directoryAudits", n => { DirectoryAudits = n.GetCollectionOfObjectValues(DirectoryAudit.CreateFromDiscriminatorValue)?.ToList(); } }, - {"provisioning", n => { Provisioning = n.GetCollectionOfObjectValues(ProvisioningObjectSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"signIns", n => { SignIns = n.GetCollectionOfObjectValues(SignIn.CreateFromDiscriminatorValue)?.ToList(); } }, + { "directoryAudits", n => { DirectoryAudits = n.GetCollectionOfObjectValues(DirectoryAudit.CreateFromDiscriminatorValue)?.ToList(); } }, + { "provisioning", n => { Provisioning = n.GetCollectionOfObjectValues(ProvisioningObjectSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "signIns", n => { SignIns = n.GetCollectionOfObjectValues(SignIn.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuditProperty.cs b/src/generated/Models/AuditProperty.cs index 29b711aea8..4cd2cad6a8 100644 --- a/src/generated/Models/AuditProperty.cs +++ b/src/generated/Models/AuditProperty.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A class containing the properties for Audit Property. /// - public class AuditProperty : IAdditionalDataHolder, IParsable + public class AuditProperty : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -69,10 +70,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"newValue", n => { NewValue = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"oldValue", n => { OldValue = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "newValue", n => { NewValue = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "oldValue", n => { OldValue = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuditResource.cs b/src/generated/Models/AuditResource.cs index da76c41122..2ae0b203d6 100644 --- a/src/generated/Models/AuditResource.cs +++ b/src/generated/Models/AuditResource.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A class containing the properties for Audit Resource. /// - public class AuditResource : IAdditionalDataHolder, IParsable + public class AuditResource : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -77,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"auditResourceType", n => { AuditResourceType = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"modifiedProperties", n => { ModifiedProperties = n.GetCollectionOfObjectValues(AuditProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "auditResourceType", n => { AuditResourceType = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "modifiedProperties", n => { ModifiedProperties = n.GetCollectionOfObjectValues(AuditProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Authentication.cs b/src/generated/Models/Authentication.cs index cc60105bf4..b0eb4afe7c 100644 --- a/src/generated/Models/Authentication.cs +++ b/src/generated/Models/Authentication.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Authentication : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Authentication : Entity, IParsable + #pragma warning restore CS1591 { /// The email address registered to a user for authentication. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -105,16 +108,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"emailMethods", n => { EmailMethods = n.GetCollectionOfObjectValues(EmailAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"fido2Methods", n => { Fido2Methods = n.GetCollectionOfObjectValues(Fido2AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"methods", n => { Methods = n.GetCollectionOfObjectValues(AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"microsoftAuthenticatorMethods", n => { MicrosoftAuthenticatorMethods = n.GetCollectionOfObjectValues(MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"operations", n => { Operations = n.GetCollectionOfObjectValues(LongRunningOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"passwordMethods", n => { PasswordMethods = n.GetCollectionOfObjectValues(PasswordAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"phoneMethods", n => { PhoneMethods = n.GetCollectionOfObjectValues(PhoneAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"softwareOathMethods", n => { SoftwareOathMethods = n.GetCollectionOfObjectValues(SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"temporaryAccessPassMethods", n => { TemporaryAccessPassMethods = n.GetCollectionOfObjectValues(TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsHelloForBusinessMethods", n => { WindowsHelloForBusinessMethods = n.GetCollectionOfObjectValues(WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "emailMethods", n => { EmailMethods = n.GetCollectionOfObjectValues(EmailAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "fido2Methods", n => { Fido2Methods = n.GetCollectionOfObjectValues(Fido2AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "methods", n => { Methods = n.GetCollectionOfObjectValues(AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "microsoftAuthenticatorMethods", n => { MicrosoftAuthenticatorMethods = n.GetCollectionOfObjectValues(MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(LongRunningOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "passwordMethods", n => { PasswordMethods = n.GetCollectionOfObjectValues(PasswordAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "phoneMethods", n => { PhoneMethods = n.GetCollectionOfObjectValues(PhoneAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "softwareOathMethods", n => { SoftwareOathMethods = n.GetCollectionOfObjectValues(SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "temporaryAccessPassMethods", n => { TemporaryAccessPassMethods = n.GetCollectionOfObjectValues(TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsHelloForBusinessMethods", n => { WindowsHelloForBusinessMethods = n.GetCollectionOfObjectValues(WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationCombinationConfiguration.cs b/src/generated/Models/AuthenticationCombinationConfiguration.cs index 21ab69bbab..af8adbff57 100644 --- a/src/generated/Models/AuthenticationCombinationConfiguration.cs +++ b/src/generated/Models/AuthenticationCombinationConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationCombinationConfiguration : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationCombinationConfiguration : Entity, IParsable + #pragma warning restore CS1591 { /// Which authentication method combinations this configuration applies to. Must be an allowedCombinations object that's defined for the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -38,7 +41,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appliesToCombinations", n => { AppliesToCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "appliesToCombinations", n => { AppliesToCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationCombinationConfigurationCollectionResponse.cs b/src/generated/Models/AuthenticationCombinationConfigurationCollectionResponse.cs index e3a63a64fb..e544d38114 100644 --- a/src/generated/Models/AuthenticationCombinationConfigurationCollectionResponse.cs +++ b/src/generated/Models/AuthenticationCombinationConfigurationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationCombinationConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationCombinationConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationConditionApplication.cs b/src/generated/Models/AuthenticationConditionApplication.cs new file mode 100644 index 0000000000..e10ec49180 --- /dev/null +++ b/src/generated/Models/AuthenticationConditionApplication.cs @@ -0,0 +1,72 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationConditionApplication : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The identifier for an application corresponding to a condition that triggers an authenticationEventListener. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppId { get; set; } +#nullable restore +#else + public string AppId { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuthenticationConditionApplication() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static AuthenticationConditionApplication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AuthenticationConditionApplication(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appId", n => { AppId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("appId", AppId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/AuthenticationConditions.cs b/src/generated/Models/AuthenticationConditions.cs new file mode 100644 index 0000000000..98af2edcff --- /dev/null +++ b/src/generated/Models/AuthenticationConditions.cs @@ -0,0 +1,72 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationConditions : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Applications which trigger a custom authentication extension. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public AuthenticationConditionsApplications? Applications { get; set; } +#nullable restore +#else + public AuthenticationConditionsApplications Applications { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuthenticationConditions() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static AuthenticationConditions CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AuthenticationConditions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "applications", n => { Applications = n.GetObjectValue(AuthenticationConditionsApplications.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("applications", Applications); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/AuthenticationConditionsApplications.cs b/src/generated/Models/AuthenticationConditionsApplications.cs new file mode 100644 index 0000000000..1a920708e6 --- /dev/null +++ b/src/generated/Models/AuthenticationConditionsApplications.cs @@ -0,0 +1,72 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationConditionsApplications : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The includeApplications property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludeApplications { get; set; } +#nullable restore +#else + public List IncludeApplications { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuthenticationConditionsApplications() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static AuthenticationConditionsApplications CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AuthenticationConditionsApplications(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "includeApplications", n => { IncludeApplications = n.GetCollectionOfObjectValues(AuthenticationConditionApplication.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("includeApplications", IncludeApplications); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/AuthenticationConfigurationValidation.cs b/src/generated/Models/AuthenticationConfigurationValidation.cs new file mode 100644 index 0000000000..7dc5528aa0 --- /dev/null +++ b/src/generated/Models/AuthenticationConfigurationValidation.cs @@ -0,0 +1,82 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationConfigurationValidation : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Errors in the validation result of a customAuthenticationExtension. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Errors { get; set; } +#nullable restore +#else + public List Errors { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// Warnings in the validation result of a customAuthenticationExtension. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Warnings { get; set; } +#nullable restore +#else + public List Warnings { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuthenticationConfigurationValidation() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static AuthenticationConfigurationValidation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AuthenticationConfigurationValidation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errors", n => { Errors = n.GetCollectionOfObjectValues(GenericError.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "warnings", n => { Warnings = n.GetCollectionOfObjectValues(GenericError.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("errors", Errors); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("warnings", Warnings); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/AuthenticationContextClassReference.cs b/src/generated/Models/AuthenticationContextClassReference.cs index dc563ed3f5..cb617797ba 100644 --- a/src/generated/Models/AuthenticationContextClassReference.cs +++ b/src/generated/Models/AuthenticationContextClassReference.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationContextClassReference : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationContextClassReference : Entity, IParsable + #pragma warning restore CS1591 { /// A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isAvailable", n => { IsAvailable = n.GetBoolValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isAvailable", n => { IsAvailable = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationContextClassReferenceCollectionResponse.cs b/src/generated/Models/AuthenticationContextClassReferenceCollectionResponse.cs index 49ef6ac1e2..da11c47441 100644 --- a/src/generated/Models/AuthenticationContextClassReferenceCollectionResponse.cs +++ b/src/generated/Models/AuthenticationContextClassReferenceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationContextClassReferenceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationContextClassReferenceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationContextClassReference.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationContextClassReference.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationEventListener.cs b/src/generated/Models/AuthenticationEventListener.cs new file mode 100644 index 0000000000..b3014047c3 --- /dev/null +++ b/src/generated/Models/AuthenticationEventListener.cs @@ -0,0 +1,68 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationEventListener : Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates the authenticationEventListener is associated with an authenticationEventsFlow. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticationEventsFlowId { get; set; } +#nullable restore +#else + public string AuthenticationEventsFlowId { get; set; } +#endif + /// The conditions on which this authenticationEventListener should trigger. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public AuthenticationConditions? Conditions { get; set; } +#nullable restore +#else + public AuthenticationConditions Conditions { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new AuthenticationEventListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onTokenIssuanceStartListener" => new OnTokenIssuanceStartListener(), + _ => new AuthenticationEventListener(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "authenticationEventsFlowId", n => { AuthenticationEventsFlowId = n.GetStringValue(); } }, + { "conditions", n => { Conditions = n.GetObjectValue(AuthenticationConditions.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("authenticationEventsFlowId", AuthenticationEventsFlowId); + writer.WriteObjectValue("conditions", Conditions); + } + } +} diff --git a/src/generated/Models/AuthenticationEventListenerCollectionResponse.cs b/src/generated/Models/AuthenticationEventListenerCollectionResponse.cs new file mode 100644 index 0000000000..cac04d8351 --- /dev/null +++ b/src/generated/Models/AuthenticationEventListenerCollectionResponse.cs @@ -0,0 +1,53 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationEventListenerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value { get; set; } +#nullable restore +#else + public List Value { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new AuthenticationEventListenerCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AuthenticationEventListenerCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationEventListener.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/generated/Models/AuthenticationFlowsPolicy.cs b/src/generated/Models/AuthenticationFlowsPolicy.cs index 59174bb0ce..3b8dfe1587 100644 --- a/src/generated/Models/AuthenticationFlowsPolicy.cs +++ b/src/generated/Models/AuthenticationFlowsPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationFlowsPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationFlowsPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// Inherited property. A description of the policy. Optional. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -49,9 +52,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"selfServiceSignUp", n => { SelfServiceSignUp = n.GetObjectValue(SelfServiceSignUpAuthenticationFlowConfiguration.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "selfServiceSignUp", n => { SelfServiceSignUp = n.GetObjectValue(SelfServiceSignUpAuthenticationFlowConfiguration.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethod.cs b/src/generated/Models/AuthenticationMethod.cs index 9072658975..b388479ca5 100644 --- a/src/generated/Models/AuthenticationMethod.cs +++ b/src/generated/Models/AuthenticationMethod.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethod : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethod : Entity, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/AuthenticationMethodCollectionResponse.cs b/src/generated/Models/AuthenticationMethodCollectionResponse.cs index 8a20cd6c20..73ed3613d5 100644 --- a/src/generated/Models/AuthenticationMethodCollectionResponse.cs +++ b/src/generated/Models/AuthenticationMethodCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodConfiguration.cs b/src/generated/Models/AuthenticationMethodConfiguration.cs index b489190305..c1ee79bcdb 100644 --- a/src/generated/Models/AuthenticationMethodConfiguration.cs +++ b/src/generated/Models/AuthenticationMethodConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodConfiguration : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodConfiguration : Entity, IParsable + #pragma warning restore CS1591 { /// Groups of users that are excluded from a policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -47,8 +50,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"excludeTargets", n => { ExcludeTargets = n.GetCollectionOfObjectValues(ExcludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "excludeTargets", n => { ExcludeTargets = n.GetCollectionOfObjectValues(ExcludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodConfigurationCollectionResponse.cs b/src/generated/Models/AuthenticationMethodConfigurationCollectionResponse.cs index b6fe225009..5f55b9c55d 100644 --- a/src/generated/Models/AuthenticationMethodConfigurationCollectionResponse.cs +++ b/src/generated/Models/AuthenticationMethodConfigurationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethodConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethodConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodFeature.cs b/src/generated/Models/AuthenticationMethodFeature.cs index b20780298d..16b0e72c13 100644 --- a/src/generated/Models/AuthenticationMethodFeature.cs +++ b/src/generated/Models/AuthenticationMethodFeature.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodFeature + #pragma warning restore CS1591 { [EnumMember(Value = "ssprRegistered")] + #pragma warning disable CS1591 SsprRegistered, + #pragma warning restore CS1591 [EnumMember(Value = "ssprEnabled")] + #pragma warning disable CS1591 SsprEnabled, + #pragma warning restore CS1591 [EnumMember(Value = "ssprCapable")] + #pragma warning disable CS1591 SsprCapable, + #pragma warning restore CS1591 [EnumMember(Value = "passwordlessCapable")] + #pragma warning disable CS1591 PasswordlessCapable, + #pragma warning restore CS1591 [EnumMember(Value = "mfaCapable")] + #pragma warning disable CS1591 MfaCapable, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodFeatureConfiguration.cs b/src/generated/Models/AuthenticationMethodFeatureConfiguration.cs index 060c9c2172..610b03e7b6 100644 --- a/src/generated/Models/AuthenticationMethodFeatureConfiguration.cs +++ b/src/generated/Models/AuthenticationMethodFeatureConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodFeatureConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodFeatureConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludeTarget", n => { ExcludeTarget = n.GetObjectValue(FeatureTarget.CreateFromDiscriminatorValue); } }, - {"includeTarget", n => { IncludeTarget = n.GetObjectValue(FeatureTarget.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "excludeTarget", n => { ExcludeTarget = n.GetObjectValue(FeatureTarget.CreateFromDiscriminatorValue); } }, + { "includeTarget", n => { IncludeTarget = n.GetObjectValue(FeatureTarget.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodKeyStrength.cs b/src/generated/Models/AuthenticationMethodKeyStrength.cs index c0aacbd680..b7c79a1622 100644 --- a/src/generated/Models/AuthenticationMethodKeyStrength.cs +++ b/src/generated/Models/AuthenticationMethodKeyStrength.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodKeyStrength + #pragma warning restore CS1591 { [EnumMember(Value = "normal")] + #pragma warning disable CS1591 Normal, + #pragma warning restore CS1591 [EnumMember(Value = "weak")] + #pragma warning disable CS1591 Weak, + #pragma warning restore CS1591 [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodModeDetail.cs b/src/generated/Models/AuthenticationMethodModeDetail.cs index 389346e89d..e0d7e73b42 100644 --- a/src/generated/Models/AuthenticationMethodModeDetail.cs +++ b/src/generated/Models/AuthenticationMethodModeDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodModeDetail : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodModeDetail : Entity, IParsable + #pragma warning restore CS1591 { /// The authenticationMethod property public BaseAuthenticationMethod? AuthenticationMethod { get; set; } @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationMethod", n => { AuthenticationMethod = n.GetEnumValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "authenticationMethod", n => { AuthenticationMethod = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodModeDetailCollectionResponse.cs b/src/generated/Models/AuthenticationMethodModeDetailCollectionResponse.cs index efa4247cd8..e070700337 100644 --- a/src/generated/Models/AuthenticationMethodModeDetailCollectionResponse.cs +++ b/src/generated/Models/AuthenticationMethodModeDetailCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodModeDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodModeDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethodModeDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationMethodModeDetail.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodModes.cs b/src/generated/Models/AuthenticationMethodModes.cs index 36da6545c2..7e5db11d25 100644 --- a/src/generated/Models/AuthenticationMethodModes.cs +++ b/src/generated/Models/AuthenticationMethodModes.cs @@ -1,43 +1,80 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum AuthenticationMethodModes + #pragma warning restore CS1591 { [EnumMember(Value = "password")] + #pragma warning disable CS1591 Password = 1, + #pragma warning restore CS1591 [EnumMember(Value = "voice")] + #pragma warning disable CS1591 Voice = 2, + #pragma warning restore CS1591 [EnumMember(Value = "hardwareOath")] + #pragma warning disable CS1591 HardwareOath = 4, + #pragma warning restore CS1591 [EnumMember(Value = "softwareOath")] + #pragma warning disable CS1591 SoftwareOath = 8, + #pragma warning restore CS1591 [EnumMember(Value = "sms")] + #pragma warning disable CS1591 Sms = 16, + #pragma warning restore CS1591 [EnumMember(Value = "fido2")] + #pragma warning disable CS1591 Fido2 = 32, + #pragma warning restore CS1591 [EnumMember(Value = "windowsHelloForBusiness")] + #pragma warning disable CS1591 WindowsHelloForBusiness = 64, + #pragma warning restore CS1591 [EnumMember(Value = "microsoftAuthenticatorPush")] + #pragma warning disable CS1591 MicrosoftAuthenticatorPush = 128, + #pragma warning restore CS1591 [EnumMember(Value = "deviceBasedPush")] + #pragma warning disable CS1591 DeviceBasedPush = 256, + #pragma warning restore CS1591 [EnumMember(Value = "temporaryAccessPassOneTime")] + #pragma warning disable CS1591 TemporaryAccessPassOneTime = 512, + #pragma warning restore CS1591 [EnumMember(Value = "temporaryAccessPassMultiUse")] + #pragma warning disable CS1591 TemporaryAccessPassMultiUse = 1024, + #pragma warning restore CS1591 [EnumMember(Value = "email")] + #pragma warning disable CS1591 Email = 2048, + #pragma warning restore CS1591 [EnumMember(Value = "x509CertificateSingleFactor")] + #pragma warning disable CS1591 X509CertificateSingleFactor = 4096, + #pragma warning restore CS1591 [EnumMember(Value = "x509CertificateMultiFactor")] + #pragma warning disable CS1591 X509CertificateMultiFactor = 8192, + #pragma warning restore CS1591 [EnumMember(Value = "federatedSingleFactor")] + #pragma warning disable CS1591 FederatedSingleFactor = 16384, + #pragma warning restore CS1591 [EnumMember(Value = "federatedMultiFactor")] + #pragma warning disable CS1591 FederatedMultiFactor = 32768, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue = 65536, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodSignInState.cs b/src/generated/Models/AuthenticationMethodSignInState.cs index b7f0fe41d3..53635f86a1 100644 --- a/src/generated/Models/AuthenticationMethodSignInState.cs +++ b/src/generated/Models/AuthenticationMethodSignInState.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodSignInState + #pragma warning restore CS1591 { [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 NotSupported, + #pragma warning restore CS1591 [EnumMember(Value = "notAllowedByPolicy")] + #pragma warning disable CS1591 NotAllowedByPolicy, + #pragma warning restore CS1591 [EnumMember(Value = "notEnabled")] + #pragma warning disable CS1591 NotEnabled, + #pragma warning restore CS1591 [EnumMember(Value = "phoneNumberNotUnique")] + #pragma warning disable CS1591 PhoneNumberNotUnique, + #pragma warning restore CS1591 [EnumMember(Value = "ready")] + #pragma warning disable CS1591 Ready, + #pragma warning restore CS1591 [EnumMember(Value = "notConfigured")] + #pragma warning disable CS1591 NotConfigured, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodState.cs b/src/generated/Models/AuthenticationMethodState.cs index 45b628e0b8..8b7ca472f1 100644 --- a/src/generated/Models/AuthenticationMethodState.cs +++ b/src/generated/Models/AuthenticationMethodState.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodState + #pragma warning restore CS1591 { [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 Enabled, + #pragma warning restore CS1591 [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 Disabled, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodTarget.cs b/src/generated/Models/AuthenticationMethodTarget.cs index f631d2ce8e..bc1b02b629 100644 --- a/src/generated/Models/AuthenticationMethodTarget.cs +++ b/src/generated/Models/AuthenticationMethodTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodTarget : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodTarget : Entity, IParsable + #pragma warning restore CS1591 { /// Determines if the user is enforced to register the authentication method. public bool? IsRegistrationRequired { get; set; } @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isRegistrationRequired", n => { IsRegistrationRequired = n.GetBoolValue(); } }, - {"targetType", n => { TargetType = n.GetEnumValue(); } }, + { "isRegistrationRequired", n => { IsRegistrationRequired = n.GetBoolValue(); } }, + { "targetType", n => { TargetType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodTargetType.cs b/src/generated/Models/AuthenticationMethodTargetType.cs index 99a0418193..8857dda5de 100644 --- a/src/generated/Models/AuthenticationMethodTargetType.cs +++ b/src/generated/Models/AuthenticationMethodTargetType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodTargetType + #pragma warning restore CS1591 { [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "group")] + #pragma warning disable CS1591 Group, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodsPolicy.cs b/src/generated/Models/AuthenticationMethodsPolicy.cs index bbbe23f722..9038b1d7fa 100644 --- a/src/generated/Models/AuthenticationMethodsPolicy.cs +++ b/src/generated/Models/AuthenticationMethodsPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodsPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodsPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -71,14 +74,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationMethodConfigurations", n => { AuthenticationMethodConfigurations = n.GetCollectionOfObjectValues(AuthenticationMethodConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"policyMigrationState", n => { PolicyMigrationState = n.GetEnumValue(); } }, - {"policyVersion", n => { PolicyVersion = n.GetStringValue(); } }, - {"reconfirmationInDays", n => { ReconfirmationInDays = n.GetIntValue(); } }, - {"registrationEnforcement", n => { RegistrationEnforcement = n.GetObjectValue(ApiSdk.Models.RegistrationEnforcement.CreateFromDiscriminatorValue); } }, + { "authenticationMethodConfigurations", n => { AuthenticationMethodConfigurations = n.GetCollectionOfObjectValues(AuthenticationMethodConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "policyMigrationState", n => { PolicyMigrationState = n.GetEnumValue(); } }, + { "policyVersion", n => { PolicyVersion = n.GetStringValue(); } }, + { "reconfirmationInDays", n => { ReconfirmationInDays = n.GetIntValue(); } }, + { "registrationEnforcement", n => { RegistrationEnforcement = n.GetObjectValue(ApiSdk.Models.RegistrationEnforcement.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodsPolicyMigrationState.cs b/src/generated/Models/AuthenticationMethodsPolicyMigrationState.cs index ff541fc437..380ac5d21c 100644 --- a/src/generated/Models/AuthenticationMethodsPolicyMigrationState.cs +++ b/src/generated/Models/AuthenticationMethodsPolicyMigrationState.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationMethodsPolicyMigrationState + #pragma warning restore CS1591 { [EnumMember(Value = "preMigration")] + #pragma warning disable CS1591 PreMigration, + #pragma warning restore CS1591 [EnumMember(Value = "migrationInProgress")] + #pragma warning disable CS1591 MigrationInProgress, + #pragma warning restore CS1591 [EnumMember(Value = "migrationComplete")] + #pragma warning disable CS1591 MigrationComplete, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationMethodsRegistrationCampaign.cs b/src/generated/Models/AuthenticationMethodsRegistrationCampaign.cs index da2976a469..9d3d529f7b 100644 --- a/src/generated/Models/AuthenticationMethodsRegistrationCampaign.cs +++ b/src/generated/Models/AuthenticationMethodsRegistrationCampaign.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodsRegistrationCampaign : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodsRegistrationCampaign : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -62,11 +65,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludeTargets", n => { ExcludeTargets = n.GetCollectionOfObjectValues(ExcludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, - {"includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(AuthenticationMethodsRegistrationCampaignIncludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"snoozeDurationInDays", n => { SnoozeDurationInDays = n.GetIntValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "excludeTargets", n => { ExcludeTargets = n.GetCollectionOfObjectValues(ExcludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(AuthenticationMethodsRegistrationCampaignIncludeTarget.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "snoozeDurationInDays", n => { SnoozeDurationInDays = n.GetIntValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs b/src/generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs index 117ca6c237..def28d178c 100644 --- a/src/generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs +++ b/src/generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodsRegistrationCampaignIncludeTarget : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodsRegistrationCampaignIncludeTarget : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"targetType", n => { TargetType = n.GetEnumValue(); } }, - {"targetedAuthenticationMethod", n => { TargetedAuthenticationMethod = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targetType", n => { TargetType = n.GetEnumValue(); } }, + { "targetedAuthenticationMethod", n => { TargetedAuthenticationMethod = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationMethodsRoot.cs b/src/generated/Models/AuthenticationMethodsRoot.cs index 17d2377775..704cce1f52 100644 --- a/src/generated/Models/AuthenticationMethodsRoot.cs +++ b/src/generated/Models/AuthenticationMethodsRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationMethodsRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationMethodsRoot : Entity, IParsable + #pragma warning restore CS1591 { /// Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"userRegistrationDetails", n => { UserRegistrationDetails = n.GetCollectionOfObjectValues(ApiSdk.Models.UserRegistrationDetails.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userRegistrationDetails", n => { UserRegistrationDetails = n.GetCollectionOfObjectValues(ApiSdk.Models.UserRegistrationDetails.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationPhoneType.cs b/src/generated/Models/AuthenticationPhoneType.cs index e234c8cf61..535b0a28f9 100644 --- a/src/generated/Models/AuthenticationPhoneType.cs +++ b/src/generated/Models/AuthenticationPhoneType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationPhoneType + #pragma warning restore CS1591 { [EnumMember(Value = "mobile")] + #pragma warning disable CS1591 Mobile, + #pragma warning restore CS1591 [EnumMember(Value = "alternateMobile")] + #pragma warning disable CS1591 AlternateMobile, + #pragma warning restore CS1591 [EnumMember(Value = "office")] + #pragma warning disable CS1591 Office, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationProtocol.cs b/src/generated/Models/AuthenticationProtocol.cs index 4c298b0aad..9bcfc92f90 100644 --- a/src/generated/Models/AuthenticationProtocol.cs +++ b/src/generated/Models/AuthenticationProtocol.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationProtocol + #pragma warning restore CS1591 { [EnumMember(Value = "wsFed")] + #pragma warning disable CS1591 WsFed, + #pragma warning restore CS1591 [EnumMember(Value = "saml")] + #pragma warning disable CS1591 Saml, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationStrengthPolicy.cs b/src/generated/Models/AuthenticationStrengthPolicy.cs index b7dddadee8..5f5cf829f9 100644 --- a/src/generated/Models/AuthenticationStrengthPolicy.cs +++ b/src/generated/Models/AuthenticationStrengthPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationStrengthPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationStrengthPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// A collection of authentication method modes that are required be used to satify this authentication strength. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -65,14 +68,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowedCombinations", n => { AllowedCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"combinationConfigurations", n => { CombinationConfigurations = n.GetCollectionOfObjectValues(AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"policyType", n => { PolicyType = n.GetEnumValue(); } }, - {"requirementsSatisfied", n => { RequirementsSatisfied = n.GetEnumValue(); } }, + { "allowedCombinations", n => { AllowedCombinations = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "combinationConfigurations", n => { CombinationConfigurations = n.GetCollectionOfObjectValues(AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "policyType", n => { PolicyType = n.GetEnumValue(); } }, + { "requirementsSatisfied", n => { RequirementsSatisfied = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationStrengthPolicyCollectionResponse.cs b/src/generated/Models/AuthenticationStrengthPolicyCollectionResponse.cs index 8a6599de10..876c96e86e 100644 --- a/src/generated/Models/AuthenticationStrengthPolicyCollectionResponse.cs +++ b/src/generated/Models/AuthenticationStrengthPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationStrengthPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationStrengthPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationStrengthPolicyType.cs b/src/generated/Models/AuthenticationStrengthPolicyType.cs index d198cb9c94..3a76671644 100644 --- a/src/generated/Models/AuthenticationStrengthPolicyType.cs +++ b/src/generated/Models/AuthenticationStrengthPolicyType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AuthenticationStrengthPolicyType + #pragma warning restore CS1591 { [EnumMember(Value = "builtIn")] + #pragma warning disable CS1591 BuiltIn, + #pragma warning restore CS1591 [EnumMember(Value = "custom")] + #pragma warning disable CS1591 Custom, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationStrengthRequirements.cs b/src/generated/Models/AuthenticationStrengthRequirements.cs index 1f57e93c4f..54d9ee03dc 100644 --- a/src/generated/Models/AuthenticationStrengthRequirements.cs +++ b/src/generated/Models/AuthenticationStrengthRequirements.cs @@ -1,15 +1,24 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum AuthenticationStrengthRequirements + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "mfa")] + #pragma warning disable CS1591 Mfa = 2, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue = 4, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AuthenticationStrengthRoot.cs b/src/generated/Models/AuthenticationStrengthRoot.cs index dcabb1698a..3e1d819e5e 100644 --- a/src/generated/Models/AuthenticationStrengthRoot.cs +++ b/src/generated/Models/AuthenticationStrengthRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationStrengthRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationStrengthRoot : Entity, IParsable + #pragma warning restore CS1591 { /// Names and descriptions of all valid authentication method modes in the system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -49,9 +52,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationMethodModes", n => { AuthenticationMethodModes = n.GetCollectionOfObjectValues(AuthenticationMethodModeDetail.CreateFromDiscriminatorValue)?.ToList(); } }, - {"combinations", n => { Combinations = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"policies", n => { Policies = n.GetCollectionOfObjectValues(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "authenticationMethodModes", n => { AuthenticationMethodModes = n.GetCollectionOfObjectValues(AuthenticationMethodModeDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "combinations", n => { Combinations = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthenticationStrengthUsage.cs b/src/generated/Models/AuthenticationStrengthUsage.cs index 9fa647c8ee..20cb7e8e63 100644 --- a/src/generated/Models/AuthenticationStrengthUsage.cs +++ b/src/generated/Models/AuthenticationStrengthUsage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthenticationStrengthUsage : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthenticationStrengthUsage : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mfa", n => { Mfa = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"none", n => { None = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "mfa", n => { Mfa = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "none", n => { None = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuthoredNote.cs b/src/generated/Models/AuthoredNote.cs index 19f8536694..e972f020bc 100644 --- a/src/generated/Models/AuthoredNote.cs +++ b/src/generated/Models/AuthoredNote.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthoredNote : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthoredNote : Entity, IParsable + #pragma warning restore CS1591 { /// Identity information about the note's author. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"author", n => { Author = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"content", n => { Content = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "author", n => { Author = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "content", n => { Content = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/AuthoredNoteCollectionResponse.cs b/src/generated/Models/AuthoredNoteCollectionResponse.cs index f9e698ea65..3c9b4e6c76 100644 --- a/src/generated/Models/AuthoredNoteCollectionResponse.cs +++ b/src/generated/Models/AuthoredNoteCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthoredNoteCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthoredNoteCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(AuthoredNote.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(AuthoredNote.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/AuthorizationInfo.cs b/src/generated/Models/AuthorizationInfo.cs index 365ab131d5..4ecea17f87 100644 --- a/src/generated/Models/AuthorizationInfo.cs +++ b/src/generated/Models/AuthorizationInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthorizationInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthorizationInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"certificateUserIds", n => { CertificateUserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "certificateUserIds", n => { CertificateUserIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AuthorizationPolicy.cs b/src/generated/Models/AuthorizationPolicy.cs index a6ac168476..f32a89bbd6 100644 --- a/src/generated/Models/AuthorizationPolicy.cs +++ b/src/generated/Models/AuthorizationPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AuthorizationPolicy : PolicyBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AuthorizationPolicy : PolicyBase, IParsable + #pragma warning restore CS1591 { /// Indicates whether users can sign up for email based subscriptions. public bool? AllowedToSignUpEmailBasedSubscriptions { get; set; } @@ -54,14 +57,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowEmailVerifiedUsersToJoinOrganization", n => { AllowEmailVerifiedUsersToJoinOrganization = n.GetBoolValue(); } }, - {"allowInvitesFrom", n => { AllowInvitesFrom = n.GetEnumValue(); } }, - {"allowUserConsentForRiskyApps", n => { AllowUserConsentForRiskyApps = n.GetBoolValue(); } }, - {"allowedToSignUpEmailBasedSubscriptions", n => { AllowedToSignUpEmailBasedSubscriptions = n.GetBoolValue(); } }, - {"allowedToUseSSPR", n => { AllowedToUseSSPR = n.GetBoolValue(); } }, - {"blockMsolPowerShell", n => { BlockMsolPowerShell = n.GetBoolValue(); } }, - {"defaultUserRolePermissions", n => { DefaultUserRolePermissions = n.GetObjectValue(ApiSdk.Models.DefaultUserRolePermissions.CreateFromDiscriminatorValue); } }, - {"guestUserRoleId", n => { GuestUserRoleId = n.GetGuidValue(); } }, + { "allowEmailVerifiedUsersToJoinOrganization", n => { AllowEmailVerifiedUsersToJoinOrganization = n.GetBoolValue(); } }, + { "allowInvitesFrom", n => { AllowInvitesFrom = n.GetEnumValue(); } }, + { "allowUserConsentForRiskyApps", n => { AllowUserConsentForRiskyApps = n.GetBoolValue(); } }, + { "allowedToSignUpEmailBasedSubscriptions", n => { AllowedToSignUpEmailBasedSubscriptions = n.GetBoolValue(); } }, + { "allowedToUseSSPR", n => { AllowedToUseSSPR = n.GetBoolValue(); } }, + { "blockMsolPowerShell", n => { BlockMsolPowerShell = n.GetBoolValue(); } }, + { "defaultUserRolePermissions", n => { DefaultUserRolePermissions = n.GetObjectValue(ApiSdk.Models.DefaultUserRolePermissions.CreateFromDiscriminatorValue); } }, + { "guestUserRoleId", n => { GuestUserRoleId = n.GetGuidValue(); } }, }; } /// diff --git a/src/generated/Models/AutoRestartNotificationDismissalMethod.cs b/src/generated/Models/AutoRestartNotificationDismissalMethod.cs index 36d7f5d487..3103b71d89 100644 --- a/src/generated/Models/AutoRestartNotificationDismissalMethod.cs +++ b/src/generated/Models/AutoRestartNotificationDismissalMethod.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Auto restart required notification dismissal method public enum AutoRestartNotificationDismissalMethod { diff --git a/src/generated/Models/AutomaticRepliesMailTips.cs b/src/generated/Models/AutomaticRepliesMailTips.cs index 9f1a56cd88..7d15e74543 100644 --- a/src/generated/Models/AutomaticRepliesMailTips.cs +++ b/src/generated/Models/AutomaticRepliesMailTips.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AutomaticRepliesMailTips : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AutomaticRepliesMailTips : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"message", n => { Message = n.GetStringValue(); } }, - {"messageLanguage", n => { MessageLanguage = n.GetObjectValue(LocaleInfo.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"scheduledEndTime", n => { ScheduledEndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"scheduledStartTime", n => { ScheduledStartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "messageLanguage", n => { MessageLanguage = n.GetObjectValue(LocaleInfo.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "scheduledEndTime", n => { ScheduledEndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "scheduledStartTime", n => { ScheduledStartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/AutomaticRepliesSetting.cs b/src/generated/Models/AutomaticRepliesSetting.cs index 204984cd72..d652b8208d 100644 --- a/src/generated/Models/AutomaticRepliesSetting.cs +++ b/src/generated/Models/AutomaticRepliesSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AutomaticRepliesSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AutomaticRepliesSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -78,13 +81,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"externalAudience", n => { ExternalAudience = n.GetEnumValue(); } }, - {"externalReplyMessage", n => { ExternalReplyMessage = n.GetStringValue(); } }, - {"internalReplyMessage", n => { InternalReplyMessage = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"scheduledEndDateTime", n => { ScheduledEndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"scheduledStartDateTime", n => { ScheduledStartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "externalAudience", n => { ExternalAudience = n.GetEnumValue(); } }, + { "externalReplyMessage", n => { ExternalReplyMessage = n.GetStringValue(); } }, + { "internalReplyMessage", n => { InternalReplyMessage = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "scheduledEndDateTime", n => { ScheduledEndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "scheduledStartDateTime", n => { ScheduledStartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AutomaticRepliesStatus.cs b/src/generated/Models/AutomaticRepliesStatus.cs index afdcfbb01e..f9c1371275 100644 --- a/src/generated/Models/AutomaticRepliesStatus.cs +++ b/src/generated/Models/AutomaticRepliesStatus.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum AutomaticRepliesStatus + #pragma warning restore CS1591 { [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 Disabled, + #pragma warning restore CS1591 [EnumMember(Value = "alwaysEnabled")] + #pragma warning disable CS1591 AlwaysEnabled, + #pragma warning restore CS1591 [EnumMember(Value = "scheduled")] + #pragma warning disable CS1591 Scheduled, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/AutomaticUpdateMode.cs b/src/generated/Models/AutomaticUpdateMode.cs index 30e29224f5..d29edd3c6e 100644 --- a/src/generated/Models/AutomaticUpdateMode.cs +++ b/src/generated/Models/AutomaticUpdateMode.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for automatic update mode. public enum AutomaticUpdateMode { diff --git a/src/generated/Models/AvailabilityItem.cs b/src/generated/Models/AvailabilityItem.cs index 2af22b8be2..882a3c10b2 100644 --- a/src/generated/Models/AvailabilityItem.cs +++ b/src/generated/Models/AvailabilityItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AvailabilityItem : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AvailabilityItem : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -68,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"serviceId", n => { ServiceId = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/AverageComparativeScore.cs b/src/generated/Models/AverageComparativeScore.cs index 3808856baa..05ec019e7a 100644 --- a/src/generated/Models/AverageComparativeScore.cs +++ b/src/generated/Models/AverageComparativeScore.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AverageComparativeScore : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AverageComparativeScore : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"averageScore", n => { AverageScore = n.GetDoubleValue(); } }, - {"basis", n => { Basis = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "averageScore", n => { AverageScore = n.GetDoubleValue(); } }, + { "basis", n => { Basis = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AzureADJoinPolicy.cs b/src/generated/Models/AzureADJoinPolicy.cs index e57d1bc6a8..c8c6ea3d89 100644 --- a/src/generated/Models/AzureADJoinPolicy.cs +++ b/src/generated/Models/AzureADJoinPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureADJoinPolicy : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureADJoinPolicy : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedToJoin", n => { AllowedToJoin = n.GetObjectValue(DeviceRegistrationMembership.CreateFromDiscriminatorValue); } }, - {"isAdminConfigurable", n => { IsAdminConfigurable = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "allowedToJoin", n => { AllowedToJoin = n.GetObjectValue(DeviceRegistrationMembership.CreateFromDiscriminatorValue); } }, + { "isAdminConfigurable", n => { IsAdminConfigurable = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AzureADRegistrationPolicy.cs b/src/generated/Models/AzureADRegistrationPolicy.cs index 168ad3c0e3..f4f36019d1 100644 --- a/src/generated/Models/AzureADRegistrationPolicy.cs +++ b/src/generated/Models/AzureADRegistrationPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureADRegistrationPolicy : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureADRegistrationPolicy : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedToRegister", n => { AllowedToRegister = n.GetObjectValue(DeviceRegistrationMembership.CreateFromDiscriminatorValue); } }, - {"isAdminConfigurable", n => { IsAdminConfigurable = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "allowedToRegister", n => { AllowedToRegister = n.GetObjectValue(DeviceRegistrationMembership.CreateFromDiscriminatorValue); } }, + { "isAdminConfigurable", n => { IsAdminConfigurable = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AzureActiveDirectoryTenant.cs b/src/generated/Models/AzureActiveDirectoryTenant.cs index a172f9931c..1ac2173e21 100644 --- a/src/generated/Models/AzureActiveDirectoryTenant.cs +++ b/src/generated/Models/AzureActiveDirectoryTenant.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureActiveDirectoryTenant : IdentitySource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureActiveDirectoryTenant : IdentitySource, IParsable + #pragma warning restore CS1591 { /// The name of the Microsoft Entra tenant. Read only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AzureAdPopTokenAuthentication.cs b/src/generated/Models/AzureAdPopTokenAuthentication.cs index 8887091e49..0fdfaa94fe 100644 --- a/src/generated/Models/AzureAdPopTokenAuthentication.cs +++ b/src/generated/Models/AzureAdPopTokenAuthentication.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureAdPopTokenAuthentication : CustomExtensionAuthenticationConfiguration, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureAdPopTokenAuthentication : CustomExtensionAuthenticationConfiguration, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/AzureAdTokenAuthentication.cs b/src/generated/Models/AzureAdTokenAuthentication.cs new file mode 100644 index 0000000000..c767ae16d1 --- /dev/null +++ b/src/generated/Models/AzureAdTokenAuthentication.cs @@ -0,0 +1,60 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureAdTokenAuthentication : CustomExtensionAuthenticationConfiguration, IParsable + #pragma warning restore CS1591 + { + /// The appID of the Microsoft Entra application to use to authenticate an app with a custom extension. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceId { get; set; } +#nullable restore +#else + public string ResourceId { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AzureAdTokenAuthentication() : base() + { + OdataType = "#microsoft.graph.azureAdTokenAuthentication"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new AzureAdTokenAuthentication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new AzureAdTokenAuthentication(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("resourceId", ResourceId); + } + } +} diff --git a/src/generated/Models/AzureCommunicationServicesUserConversationMember.cs b/src/generated/Models/AzureCommunicationServicesUserConversationMember.cs index 7d49210454..f21a08532c 100644 --- a/src/generated/Models/AzureCommunicationServicesUserConversationMember.cs +++ b/src/generated/Models/AzureCommunicationServicesUserConversationMember.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureCommunicationServicesUserConversationMember : ConversationMember, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureCommunicationServicesUserConversationMember : ConversationMember, IParsable + #pragma warning restore CS1591 { /// Azure Communication Services ID of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"azureCommunicationServicesId", n => { AzureCommunicationServicesId = n.GetStringValue(); } }, + { "azureCommunicationServicesId", n => { AzureCommunicationServicesId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/AzureCommunicationServicesUserIdentity.cs b/src/generated/Models/AzureCommunicationServicesUserIdentity.cs index 6501eafa70..7a5ff0ec9f 100644 --- a/src/generated/Models/AzureCommunicationServicesUserIdentity.cs +++ b/src/generated/Models/AzureCommunicationServicesUserIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class AzureCommunicationServicesUserIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class AzureCommunicationServicesUserIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// The Azure Communication Services resource ID associated with the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"azureCommunicationServicesResourceId", n => { AzureCommunicationServicesResourceId = n.GetStringValue(); } }, + { "azureCommunicationServicesResourceId", n => { AzureCommunicationServicesResourceId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/B2bIdentityProvidersType.cs b/src/generated/Models/B2bIdentityProvidersType.cs index 387821ddd6..ce45ce5f2a 100644 --- a/src/generated/Models/B2bIdentityProvidersType.cs +++ b/src/generated/Models/B2bIdentityProvidersType.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum B2bIdentityProvidersType + #pragma warning restore CS1591 { [EnumMember(Value = "azureActiveDirectory")] + #pragma warning disable CS1591 AzureActiveDirectory, + #pragma warning restore CS1591 [EnumMember(Value = "externalFederation")] + #pragma warning disable CS1591 ExternalFederation, + #pragma warning restore CS1591 [EnumMember(Value = "socialIdentityProviders")] + #pragma warning disable CS1591 SocialIdentityProviders, + #pragma warning restore CS1591 [EnumMember(Value = "emailOneTimePasscode")] + #pragma warning disable CS1591 EmailOneTimePasscode, + #pragma warning restore CS1591 [EnumMember(Value = "microsoftAccount")] + #pragma warning disable CS1591 MicrosoftAccount, + #pragma warning restore CS1591 [EnumMember(Value = "defaultConfiguredIdp")] + #pragma warning disable CS1591 DefaultConfiguredIdp, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/B2xIdentityUserFlow.cs b/src/generated/Models/B2xIdentityUserFlow.cs index dc175215a3..73ca65f633 100644 --- a/src/generated/Models/B2xIdentityUserFlow.cs +++ b/src/generated/Models/B2xIdentityUserFlow.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class B2xIdentityUserFlow : IdentityUserFlow, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class B2xIdentityUserFlow : IdentityUserFlow, IParsable + #pragma warning restore CS1591 { /// Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -65,11 +68,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"apiConnectorConfiguration", n => { ApiConnectorConfiguration = n.GetObjectValue(UserFlowApiConnectorConfiguration.CreateFromDiscriminatorValue); } }, - {"identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(IdentityProvider.CreateFromDiscriminatorValue)?.ToList(); } }, - {"languages", n => { Languages = n.GetCollectionOfObjectValues(UserFlowLanguageConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userAttributeAssignments", n => { UserAttributeAssignments = n.GetCollectionOfObjectValues(IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userFlowIdentityProviders", n => { UserFlowIdentityProviders = n.GetCollectionOfObjectValues(IdentityProviderBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "apiConnectorConfiguration", n => { ApiConnectorConfiguration = n.GetObjectValue(UserFlowApiConnectorConfiguration.CreateFromDiscriminatorValue); } }, + { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(IdentityProvider.CreateFromDiscriminatorValue)?.ToList(); } }, + { "languages", n => { Languages = n.GetCollectionOfObjectValues(UserFlowLanguageConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userAttributeAssignments", n => { UserAttributeAssignments = n.GetCollectionOfObjectValues(IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userFlowIdentityProviders", n => { UserFlowIdentityProviders = n.GetCollectionOfObjectValues(IdentityProviderBase.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/B2xIdentityUserFlowCollectionResponse.cs b/src/generated/Models/B2xIdentityUserFlowCollectionResponse.cs index c7cfe985bf..0df1bb4af0 100644 --- a/src/generated/Models/B2xIdentityUserFlowCollectionResponse.cs +++ b/src/generated/Models/B2xIdentityUserFlowCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class B2xIdentityUserFlowCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class B2xIdentityUserFlowCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(B2xIdentityUserFlow.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(B2xIdentityUserFlow.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BaseAuthenticationMethod.cs b/src/generated/Models/BaseAuthenticationMethod.cs index 9b297d12b4..0a17d77f4e 100644 --- a/src/generated/Models/BaseAuthenticationMethod.cs +++ b/src/generated/Models/BaseAuthenticationMethod.cs @@ -1,34 +1,63 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BaseAuthenticationMethod + #pragma warning restore CS1591 { [EnumMember(Value = "password")] + #pragma warning disable CS1591 Password, + #pragma warning restore CS1591 [EnumMember(Value = "voice")] + #pragma warning disable CS1591 Voice, + #pragma warning restore CS1591 [EnumMember(Value = "hardwareOath")] + #pragma warning disable CS1591 HardwareOath, + #pragma warning restore CS1591 [EnumMember(Value = "softwareOath")] + #pragma warning disable CS1591 SoftwareOath, + #pragma warning restore CS1591 [EnumMember(Value = "sms")] + #pragma warning disable CS1591 Sms, + #pragma warning restore CS1591 [EnumMember(Value = "fido2")] + #pragma warning disable CS1591 Fido2, + #pragma warning restore CS1591 [EnumMember(Value = "windowsHelloForBusiness")] + #pragma warning disable CS1591 WindowsHelloForBusiness, + #pragma warning restore CS1591 [EnumMember(Value = "microsoftAuthenticator")] + #pragma warning disable CS1591 MicrosoftAuthenticator, + #pragma warning restore CS1591 [EnumMember(Value = "temporaryAccessPass")] + #pragma warning disable CS1591 TemporaryAccessPass, + #pragma warning restore CS1591 [EnumMember(Value = "email")] + #pragma warning disable CS1591 Email, + #pragma warning restore CS1591 [EnumMember(Value = "x509Certificate")] + #pragma warning disable CS1591 X509Certificate, + #pragma warning restore CS1591 [EnumMember(Value = "federation")] + #pragma warning disable CS1591 Federation, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BaseCollectionPaginationCountResponse.cs b/src/generated/Models/BaseCollectionPaginationCountResponse.cs index cd37112830..2673ea6f7b 100644 --- a/src/generated/Models/BaseCollectionPaginationCountResponse.cs +++ b/src/generated/Models/BaseCollectionPaginationCountResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseCollectionPaginationCountResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseCollectionPaginationCountResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.count", n => { OdataCount = n.GetLongValue(); } }, - {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } }, + { "@odata.count", n => { OdataCount = n.GetLongValue(); } }, + { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BaseDeltaFunctionResponse.cs b/src/generated/Models/BaseDeltaFunctionResponse.cs index a7b2b2593a..91e3faf592 100644 --- a/src/generated/Models/BaseDeltaFunctionResponse.cs +++ b/src/generated/Models/BaseDeltaFunctionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseDeltaFunctionResponse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseDeltaFunctionResponse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.deltaLink", n => { OdataDeltaLink = n.GetStringValue(); } }, - {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } }, + { "@odata.deltaLink", n => { OdataDeltaLink = n.GetStringValue(); } }, + { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BaseEndUserNotification.cs b/src/generated/Models/BaseEndUserNotification.cs index 54e12a5d72..a77e98c4bb 100644 --- a/src/generated/Models/BaseEndUserNotification.cs +++ b/src/generated/Models/BaseEndUserNotification.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseEndUserNotification : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseEndUserNotification : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -65,9 +68,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"defaultLanguage", n => { DefaultLanguage = n.GetStringValue(); } }, - {"endUserNotification", n => { EndUserNotification = n.GetObjectValue(ApiSdk.Models.EndUserNotification.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "defaultLanguage", n => { DefaultLanguage = n.GetStringValue(); } }, + { "endUserNotification", n => { EndUserNotification = n.GetObjectValue(ApiSdk.Models.EndUserNotification.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BaseItem.cs b/src/generated/Models/BaseItem.cs index da3292c21b..580589a7c9 100644 --- a/src/generated/Models/BaseItem.cs +++ b/src/generated/Models/BaseItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseItem : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseItem : Entity, IParsable + #pragma warning restore CS1591 { /// Identity of the user, device, or application that created the item. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -113,17 +116,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdByUser", n => { CreatedByUser = n.GetObjectValue(User.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"eTag", n => { ETag = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedByUser", n => { LastModifiedByUser = n.GetObjectValue(User.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdByUser", n => { CreatedByUser = n.GetObjectValue(User.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "eTag", n => { ETag = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedByUser", n => { LastModifiedByUser = n.GetObjectValue(User.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "parentReference", n => { ParentReference = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BaseItemCollectionResponse.cs b/src/generated/Models/BaseItemCollectionResponse.cs index 0a725dee2f..c2e958e90c 100644 --- a/src/generated/Models/BaseItemCollectionResponse.cs +++ b/src/generated/Models/BaseItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BaseItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BaseItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BaseItemVersion.cs b/src/generated/Models/BaseItemVersion.cs index 03d4fd2acb..510ed17f41 100644 --- a/src/generated/Models/BaseItemVersion.cs +++ b/src/generated/Models/BaseItemVersion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseItemVersion : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseItemVersion : Entity, IParsable + #pragma warning restore CS1591 { /// Identity of the user which last modified the version. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -50,9 +53,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"publication", n => { Publication = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "publication", n => { Publication = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/BaseSitePage.cs b/src/generated/Models/BaseSitePage.cs index de3d6d666c..6214d21a72 100644 --- a/src/generated/Models/BaseSitePage.cs +++ b/src/generated/Models/BaseSitePage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseSitePage : BaseItem, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseSitePage : BaseItem, IParsable + #pragma warning restore CS1591 { /// The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue. public PageLayoutType? PageLayout { get; set; } @@ -55,9 +58,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"pageLayout", n => { PageLayout = n.GetEnumValue(); } }, - {"publishingState", n => { PublishingState = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, - {"title", n => { Title = n.GetStringValue(); } }, + { "pageLayout", n => { PageLayout = n.GetEnumValue(); } }, + { "publishingState", n => { PublishingState = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, + { "title", n => { Title = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BaseSitePageCollectionResponse.cs b/src/generated/Models/BaseSitePageCollectionResponse.cs index 8c2aaf6baa..26a55e6649 100644 --- a/src/generated/Models/BaseSitePageCollectionResponse.cs +++ b/src/generated/Models/BaseSitePageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BaseSitePageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BaseSitePageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BaseSitePage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BaseSitePage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BasicAuthentication.cs b/src/generated/Models/BasicAuthentication.cs index 1e3444b73b..64c7113f3d 100644 --- a/src/generated/Models/BasicAuthentication.cs +++ b/src/generated/Models/BasicAuthentication.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BasicAuthentication : ApiAuthenticationConfigurationBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BasicAuthentication : ApiAuthenticationConfigurationBase, IParsable + #pragma warning restore CS1591 { /// The password. It isn't returned in the responses. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"password", n => { Password = n.GetStringValue(); } }, - {"username", n => { Username = n.GetStringValue(); } }, + { "password", n => { Password = n.GetStringValue(); } }, + { "username", n => { Username = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BinaryOperator.cs b/src/generated/Models/BinaryOperator.cs index 1c692a23e7..f3cf7f7712 100644 --- a/src/generated/Models/BinaryOperator.cs +++ b/src/generated/Models/BinaryOperator.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BinaryOperator + #pragma warning restore CS1591 { [EnumMember(Value = "or")] + #pragma warning disable CS1591 Or, + #pragma warning restore CS1591 [EnumMember(Value = "and")] + #pragma warning disable CS1591 And, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BitLockerEncryptionMethod.cs b/src/generated/Models/BitLockerEncryptionMethod.cs index 40d32a6809..52f2e616a8 100644 --- a/src/generated/Models/BitLockerEncryptionMethod.cs +++ b/src/generated/Models/BitLockerEncryptionMethod.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// BitLockerEncryptionMethod types public enum BitLockerEncryptionMethod { diff --git a/src/generated/Models/BitLockerRemovableDrivePolicy.cs b/src/generated/Models/BitLockerRemovableDrivePolicy.cs index b773d0b542..fdd7592215 100644 --- a/src/generated/Models/BitLockerRemovableDrivePolicy.cs +++ b/src/generated/Models/BitLockerRemovableDrivePolicy.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// BitLocker Removable Drive Policies. /// - public class BitLockerRemovableDrivePolicy : IAdditionalDataHolder, IParsable + public class BitLockerRemovableDrivePolicy : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,10 +52,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"blockCrossOrganizationWriteAccess", n => { BlockCrossOrganizationWriteAccess = n.GetBoolValue(); } }, - {"encryptionMethod", n => { EncryptionMethod = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"requireEncryptionForWriteAccess", n => { RequireEncryptionForWriteAccess = n.GetBoolValue(); } }, + { "blockCrossOrganizationWriteAccess", n => { BlockCrossOrganizationWriteAccess = n.GetBoolValue(); } }, + { "encryptionMethod", n => { EncryptionMethod = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requireEncryptionForWriteAccess", n => { RequireEncryptionForWriteAccess = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/Bitlocker.cs b/src/generated/Models/Bitlocker.cs index 7fdaf74204..54cd4a117c 100644 --- a/src/generated/Models/Bitlocker.cs +++ b/src/generated/Models/Bitlocker.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Bitlocker : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Bitlocker : Entity, IParsable + #pragma warning restore CS1591 { /// The recovery keys associated with the bitlocker entity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"recoveryKeys", n => { RecoveryKeys = n.GetCollectionOfObjectValues(BitlockerRecoveryKey.CreateFromDiscriminatorValue)?.ToList(); } }, + { "recoveryKeys", n => { RecoveryKeys = n.GetCollectionOfObjectValues(BitlockerRecoveryKey.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BitlockerRecoveryKey.cs b/src/generated/Models/BitlockerRecoveryKey.cs index 639993e61c..f6118c5ce8 100644 --- a/src/generated/Models/BitlockerRecoveryKey.cs +++ b/src/generated/Models/BitlockerRecoveryKey.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BitlockerRecoveryKey : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BitlockerRecoveryKey : Entity, IParsable + #pragma warning restore CS1591 { /// The date and time when the key was originally backed up to Microsoft Entra ID. Not nullable. public DateTimeOffset? CreatedDateTime { get; set; } @@ -45,10 +48,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"key", n => { Key = n.GetStringValue(); } }, - {"volumeType", n => { VolumeType = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "key", n => { Key = n.GetStringValue(); } }, + { "volumeType", n => { VolumeType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BitlockerRecoveryKeyCollectionResponse.cs b/src/generated/Models/BitlockerRecoveryKeyCollectionResponse.cs index e5dec420bb..5808db67d8 100644 --- a/src/generated/Models/BitlockerRecoveryKeyCollectionResponse.cs +++ b/src/generated/Models/BitlockerRecoveryKeyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BitlockerRecoveryKeyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BitlockerRecoveryKeyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BitlockerRecoveryKey.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BitlockerRecoveryKey.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BodyType.cs b/src/generated/Models/BodyType.cs index eb8207b1b4..d0687471dc 100644 --- a/src/generated/Models/BodyType.cs +++ b/src/generated/Models/BodyType.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BodyType + #pragma warning restore CS1591 { [EnumMember(Value = "text")] + #pragma warning disable CS1591 Text, + #pragma warning restore CS1591 [EnumMember(Value = "html")] + #pragma warning disable CS1591 Html, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BookingAppointment.cs b/src/generated/Models/BookingAppointment.cs index 721789864f..95eada06a1 100644 --- a/src/generated/Models/BookingAppointment.cs +++ b/src/generated/Models/BookingAppointment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a booked appointment of a service by a customer in a business. /// - public class BookingAppointment : Entity, IParsable + public class BookingAppointment : Entity, IParsable { /// Additional information that is sent to the customer when an appointment is confirmed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -25,6 +26,38 @@ public class BookingAppointment : Entity, IParsable #nullable restore #else public string AnonymousJoinWebUrl { get; set; } +#endif + /// The customerEmailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomerEmailAddress { get; set; } +#nullable restore +#else + public string CustomerEmailAddress { get; set; } +#endif + /// The customerName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomerName { get; set; } +#nullable restore +#else + public string CustomerName { get; set; } +#endif + /// Notes from the customer associated with this appointment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomerNotes { get; set; } +#nullable restore +#else + public string CustomerNotes { get; set; } +#endif + /// The customerPhone property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomerPhone { get; set; } +#nullable restore +#else + public string CustomerPhone { get; set; } #endif /// A collection of customer properties for an appointment. An appointment contains a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -160,30 +193,34 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"additionalInformation", n => { AdditionalInformation = n.GetStringValue(); } }, - {"anonymousJoinWebUrl", n => { AnonymousJoinWebUrl = n.GetStringValue(); } }, - {"customerTimeZone", n => { CustomerTimeZone = n.GetStringValue(); } }, - {"customers", n => { Customers = n.GetCollectionOfObjectValues(BookingCustomerInformationBase.CreateFromDiscriminatorValue)?.ToList(); } }, - {"duration", n => { Duration = n.GetTimeSpanValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"filledAttendeesCount", n => { FilledAttendeesCount = n.GetIntValue(); } }, - {"isLocationOnline", n => { IsLocationOnline = n.GetBoolValue(); } }, - {"joinWebUrl", n => { JoinWebUrl = n.GetStringValue(); } }, - {"maximumAttendeesCount", n => { MaximumAttendeesCount = n.GetIntValue(); } }, - {"optOutOfCustomerEmail", n => { OptOutOfCustomerEmail = n.GetBoolValue(); } }, - {"postBuffer", n => { PostBuffer = n.GetTimeSpanValue(); } }, - {"preBuffer", n => { PreBuffer = n.GetTimeSpanValue(); } }, - {"price", n => { Price = n.GetDoubleValue(); } }, - {"priceType", n => { PriceType = n.GetEnumValue(); } }, - {"reminders", n => { Reminders = n.GetCollectionOfObjectValues(BookingReminder.CreateFromDiscriminatorValue)?.ToList(); } }, - {"selfServiceAppointmentId", n => { SelfServiceAppointmentId = n.GetStringValue(); } }, - {"serviceId", n => { ServiceId = n.GetStringValue(); } }, - {"serviceLocation", n => { ServiceLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, - {"serviceName", n => { ServiceName = n.GetStringValue(); } }, - {"serviceNotes", n => { ServiceNotes = n.GetStringValue(); } }, - {"smsNotificationsEnabled", n => { SmsNotificationsEnabled = n.GetBoolValue(); } }, - {"staffMemberIds", n => { StaffMemberIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "additionalInformation", n => { AdditionalInformation = n.GetStringValue(); } }, + { "anonymousJoinWebUrl", n => { AnonymousJoinWebUrl = n.GetStringValue(); } }, + { "customerEmailAddress", n => { CustomerEmailAddress = n.GetStringValue(); } }, + { "customerName", n => { CustomerName = n.GetStringValue(); } }, + { "customerNotes", n => { CustomerNotes = n.GetStringValue(); } }, + { "customerPhone", n => { CustomerPhone = n.GetStringValue(); } }, + { "customerTimeZone", n => { CustomerTimeZone = n.GetStringValue(); } }, + { "customers", n => { Customers = n.GetCollectionOfObjectValues(BookingCustomerInformationBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "duration", n => { Duration = n.GetTimeSpanValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "filledAttendeesCount", n => { FilledAttendeesCount = n.GetIntValue(); } }, + { "isLocationOnline", n => { IsLocationOnline = n.GetBoolValue(); } }, + { "joinWebUrl", n => { JoinWebUrl = n.GetStringValue(); } }, + { "maximumAttendeesCount", n => { MaximumAttendeesCount = n.GetIntValue(); } }, + { "optOutOfCustomerEmail", n => { OptOutOfCustomerEmail = n.GetBoolValue(); } }, + { "postBuffer", n => { PostBuffer = n.GetTimeSpanValue(); } }, + { "preBuffer", n => { PreBuffer = n.GetTimeSpanValue(); } }, + { "price", n => { Price = n.GetDoubleValue(); } }, + { "priceType", n => { PriceType = n.GetEnumValue(); } }, + { "reminders", n => { Reminders = n.GetCollectionOfObjectValues(BookingReminder.CreateFromDiscriminatorValue)?.ToList(); } }, + { "selfServiceAppointmentId", n => { SelfServiceAppointmentId = n.GetStringValue(); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, + { "serviceLocation", n => { ServiceLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, + { "serviceName", n => { ServiceName = n.GetStringValue(); } }, + { "serviceNotes", n => { ServiceNotes = n.GetStringValue(); } }, + { "smsNotificationsEnabled", n => { SmsNotificationsEnabled = n.GetBoolValue(); } }, + { "staffMemberIds", n => { StaffMemberIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -196,6 +233,10 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("additionalInformation", AdditionalInformation); writer.WriteStringValue("anonymousJoinWebUrl", AnonymousJoinWebUrl); + writer.WriteStringValue("customerEmailAddress", CustomerEmailAddress); + writer.WriteStringValue("customerName", CustomerName); + writer.WriteStringValue("customerNotes", CustomerNotes); + writer.WriteStringValue("customerPhone", CustomerPhone); writer.WriteCollectionOfObjectValues("customers", Customers); writer.WriteStringValue("customerTimeZone", CustomerTimeZone); writer.WriteObjectValue("endDateTime", EndDateTime); diff --git a/src/generated/Models/BookingAppointmentCollectionResponse.cs b/src/generated/Models/BookingAppointmentCollectionResponse.cs index 6ca6cc2e19..85116e390b 100644 --- a/src/generated/Models/BookingAppointmentCollectionResponse.cs +++ b/src/generated/Models/BookingAppointmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingAppointmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingAppointmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingBusiness.cs b/src/generated/Models/BookingBusiness.cs index d3e304ac08..96019a17a9 100644 --- a/src/generated/Models/BookingBusiness.cs +++ b/src/generated/Models/BookingBusiness.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a Microsoft Bookings Business. /// - public class BookingBusiness : Entity, IParsable + public class BookingBusiness : Entity, IParsable { /// The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a business scheduling page. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -166,24 +167,24 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"address", n => { Address = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"appointments", n => { Appointments = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"businessHours", n => { BusinessHours = n.GetCollectionOfObjectValues(BookingWorkHours.CreateFromDiscriminatorValue)?.ToList(); } }, - {"businessType", n => { BusinessType = n.GetStringValue(); } }, - {"calendarView", n => { CalendarView = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customQuestions", n => { CustomQuestions = n.GetCollectionOfObjectValues(BookingCustomQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customers", n => { Customers = n.GetCollectionOfObjectValues(BookingCustomerBase.CreateFromDiscriminatorValue)?.ToList(); } }, - {"defaultCurrencyIso", n => { DefaultCurrencyIso = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"isPublished", n => { IsPublished = n.GetBoolValue(); } }, - {"languageTag", n => { LanguageTag = n.GetStringValue(); } }, - {"phone", n => { Phone = n.GetStringValue(); } }, - {"publicUrl", n => { PublicUrl = n.GetStringValue(); } }, - {"schedulingPolicy", n => { SchedulingPolicy = n.GetObjectValue(BookingSchedulingPolicy.CreateFromDiscriminatorValue); } }, - {"services", n => { Services = n.GetCollectionOfObjectValues(BookingService.CreateFromDiscriminatorValue)?.ToList(); } }, - {"staffMembers", n => { StaffMembers = n.GetCollectionOfObjectValues(BookingStaffMemberBase.CreateFromDiscriminatorValue)?.ToList(); } }, - {"webSiteUrl", n => { WebSiteUrl = n.GetStringValue(); } }, + { "address", n => { Address = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "appointments", n => { Appointments = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "businessHours", n => { BusinessHours = n.GetCollectionOfObjectValues(BookingWorkHours.CreateFromDiscriminatorValue)?.ToList(); } }, + { "businessType", n => { BusinessType = n.GetStringValue(); } }, + { "calendarView", n => { CalendarView = n.GetCollectionOfObjectValues(BookingAppointment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customQuestions", n => { CustomQuestions = n.GetCollectionOfObjectValues(BookingCustomQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customers", n => { Customers = n.GetCollectionOfObjectValues(BookingCustomerBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "defaultCurrencyIso", n => { DefaultCurrencyIso = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "isPublished", n => { IsPublished = n.GetBoolValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, + { "phone", n => { Phone = n.GetStringValue(); } }, + { "publicUrl", n => { PublicUrl = n.GetStringValue(); } }, + { "schedulingPolicy", n => { SchedulingPolicy = n.GetObjectValue(BookingSchedulingPolicy.CreateFromDiscriminatorValue); } }, + { "services", n => { Services = n.GetCollectionOfObjectValues(BookingService.CreateFromDiscriminatorValue)?.ToList(); } }, + { "staffMembers", n => { StaffMembers = n.GetCollectionOfObjectValues(BookingStaffMemberBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "webSiteUrl", n => { WebSiteUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingBusinessCollectionResponse.cs b/src/generated/Models/BookingBusinessCollectionResponse.cs index fd8d42334e..8e85293838 100644 --- a/src/generated/Models/BookingBusinessCollectionResponse.cs +++ b/src/generated/Models/BookingBusinessCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingBusinessCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingBusinessCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingBusiness.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingBusiness.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingCurrency.cs b/src/generated/Models/BookingCurrency.cs index e240fab8ed..169a2f4f5d 100644 --- a/src/generated/Models/BookingCurrency.cs +++ b/src/generated/Models/BookingCurrency.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCurrency : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCurrency : Entity, IParsable + #pragma warning restore CS1591 { /// The currency symbol. For example, the currency symbol for the US dollar and for the Australian dollar is $. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"symbol", n => { Symbol = n.GetStringValue(); } }, + { "symbol", n => { Symbol = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingCurrencyCollectionResponse.cs b/src/generated/Models/BookingCurrencyCollectionResponse.cs index e8ade96438..016e59acac 100644 --- a/src/generated/Models/BookingCurrencyCollectionResponse.cs +++ b/src/generated/Models/BookingCurrencyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCurrencyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCurrencyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingCurrency.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingCurrency.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomQuestion.cs b/src/generated/Models/BookingCustomQuestion.cs index 147c99e5b4..169a4608b2 100644 --- a/src/generated/Models/BookingCustomQuestion.cs +++ b/src/generated/Models/BookingCustomQuestion.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a custom question of the business. /// - public class BookingCustomQuestion : Entity, IParsable + public class BookingCustomQuestion : Entity, IParsable { /// The expected answer type. The possible values are: text, radioButton, unknownFutureValue. public ApiSdk.Models.AnswerInputType? AnswerInputType { get; set; } @@ -46,9 +47,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"answerInputType", n => { AnswerInputType = n.GetEnumValue(); } }, - {"answerOptions", n => { AnswerOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "answerInputType", n => { AnswerInputType = n.GetEnumValue(); } }, + { "answerOptions", n => { AnswerOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomQuestionCollectionResponse.cs b/src/generated/Models/BookingCustomQuestionCollectionResponse.cs index 3f5ee9bf4e..37e0e068a4 100644 --- a/src/generated/Models/BookingCustomQuestionCollectionResponse.cs +++ b/src/generated/Models/BookingCustomQuestionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCustomQuestionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCustomQuestionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingCustomQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingCustomQuestion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomer.cs b/src/generated/Models/BookingCustomer.cs index 3a47de030c..bf0d3e4761 100644 --- a/src/generated/Models/BookingCustomer.cs +++ b/src/generated/Models/BookingCustomer.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a customer of the business. /// - public class BookingCustomer : BookingCustomerBase, IParsable + public class BookingCustomer : BookingCustomerBase, IParsable { /// Addresses associated with the customer. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -67,10 +68,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"addresses", n => { Addresses = n.GetCollectionOfObjectValues(PhysicalAddress.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"emailAddress", n => { EmailAddress = n.GetStringValue(); } }, - {"phones", n => { Phones = n.GetCollectionOfObjectValues(Phone.CreateFromDiscriminatorValue)?.ToList(); } }, + { "addresses", n => { Addresses = n.GetCollectionOfObjectValues(PhysicalAddress.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "phones", n => { Phones = n.GetCollectionOfObjectValues(Phone.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomerBase.cs b/src/generated/Models/BookingCustomerBase.cs index 0006dfc9f2..83af236629 100644 --- a/src/generated/Models/BookingCustomerBase.cs +++ b/src/generated/Models/BookingCustomerBase.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Booking entities that provide a display name. /// - public class BookingCustomerBase : Entity, IParsable + public class BookingCustomerBase : Entity, IParsable { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/BookingCustomerBaseCollectionResponse.cs b/src/generated/Models/BookingCustomerBaseCollectionResponse.cs index edaf0125d5..127b98d787 100644 --- a/src/generated/Models/BookingCustomerBaseCollectionResponse.cs +++ b/src/generated/Models/BookingCustomerBaseCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCustomerBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCustomerBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingCustomerBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingCustomerBase.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomerInformation.cs b/src/generated/Models/BookingCustomerInformation.cs index 34195db4ed..305e543bf6 100644 --- a/src/generated/Models/BookingCustomerInformation.cs +++ b/src/generated/Models/BookingCustomerInformation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCustomerInformation : BookingCustomerInformationBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCustomerInformation : BookingCustomerInformationBase, IParsable + #pragma warning restore CS1591 { /// The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -96,14 +99,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"customQuestionAnswers", n => { CustomQuestionAnswers = n.GetCollectionOfObjectValues(BookingQuestionAnswer.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customerId", n => { CustomerId = n.GetStringValue(); } }, - {"emailAddress", n => { EmailAddress = n.GetStringValue(); } }, - {"location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"notes", n => { Notes = n.GetStringValue(); } }, - {"phone", n => { Phone = n.GetStringValue(); } }, - {"timeZone", n => { TimeZone = n.GetStringValue(); } }, + { "customQuestionAnswers", n => { CustomQuestionAnswers = n.GetCollectionOfObjectValues(BookingQuestionAnswer.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customerId", n => { CustomerId = n.GetStringValue(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "notes", n => { Notes = n.GetStringValue(); } }, + { "phone", n => { Phone = n.GetStringValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingCustomerInformationBase.cs b/src/generated/Models/BookingCustomerInformationBase.cs index d2230b37fe..5248aeda1a 100644 --- a/src/generated/Models/BookingCustomerInformationBase.cs +++ b/src/generated/Models/BookingCustomerInformationBase.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingCustomerInformationBase : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingCustomerInformationBase : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingPriceType.cs b/src/generated/Models/BookingPriceType.cs index 70a55521da..5b0f2340d6 100644 --- a/src/generated/Models/BookingPriceType.cs +++ b/src/generated/Models/BookingPriceType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Represents the type of pricing of a booking service. public enum BookingPriceType { @@ -30,6 +31,8 @@ public enum BookingPriceType [EnumMember(Value = "notSet")] NotSet, [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BookingQuestionAnswer.cs b/src/generated/Models/BookingQuestionAnswer.cs index 9c8a8b7f41..df90737c90 100644 --- a/src/generated/Models/BookingQuestionAnswer.cs +++ b/src/generated/Models/BookingQuestionAnswer.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingQuestionAnswer : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingQuestionAnswer : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -86,14 +89,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"answer", n => { Answer = n.GetStringValue(); } }, - {"answerInputType", n => { AnswerInputType = n.GetEnumValue(); } }, - {"answerOptions", n => { AnswerOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"isRequired", n => { IsRequired = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"question", n => { Question = n.GetStringValue(); } }, - {"questionId", n => { QuestionId = n.GetStringValue(); } }, - {"selectedOptions", n => { SelectedOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "answer", n => { Answer = n.GetStringValue(); } }, + { "answerInputType", n => { AnswerInputType = n.GetEnumValue(); } }, + { "answerOptions", n => { AnswerOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "isRequired", n => { IsRequired = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "question", n => { Question = n.GetStringValue(); } }, + { "questionId", n => { QuestionId = n.GetStringValue(); } }, + { "selectedOptions", n => { SelectedOptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingQuestionAssignment.cs b/src/generated/Models/BookingQuestionAssignment.cs index e12ff5de59..4d4b01ac1b 100644 --- a/src/generated/Models/BookingQuestionAssignment.cs +++ b/src/generated/Models/BookingQuestionAssignment.cs @@ -4,12 +4,15 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingQuestionAssignment : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingQuestionAssignment : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } - /// The ID of the custom question. + /// Indicates whether it's mandatory to answer the custom question. public bool? IsRequired { get; set; } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -19,7 +22,7 @@ public class BookingQuestionAssignment : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// Indicates whether it's mandatory to answer the custom question. + /// The ID of the custom question. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? QuestionId { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isRequired", n => { IsRequired = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"questionId", n => { QuestionId = n.GetStringValue(); } }, + { "isRequired", n => { IsRequired = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "questionId", n => { QuestionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingReminder.cs b/src/generated/Models/BookingReminder.cs index 2042a6abd0..dd8695e4ee 100644 --- a/src/generated/Models/BookingReminder.cs +++ b/src/generated/Models/BookingReminder.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This type represents when and to whom to send an e-mail reminder. /// - public class BookingReminder : IAdditionalDataHolder, IParsable + public class BookingReminder : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -57,10 +58,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"message", n => { Message = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"offset", n => { Offset = n.GetTimeSpanValue(); } }, - {"recipients", n => { Recipients = n.GetEnumValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offset", n => { Offset = n.GetTimeSpanValue(); } }, + { "recipients", n => { Recipients = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BookingReminderRecipients.cs b/src/generated/Models/BookingReminderRecipients.cs index 93882612cc..f6b0451550 100644 --- a/src/generated/Models/BookingReminderRecipients.cs +++ b/src/generated/Models/BookingReminderRecipients.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BookingReminderRecipients + #pragma warning restore CS1591 { [EnumMember(Value = "allAttendees")] + #pragma warning disable CS1591 AllAttendees, + #pragma warning restore CS1591 [EnumMember(Value = "staff")] + #pragma warning disable CS1591 Staff, + #pragma warning restore CS1591 [EnumMember(Value = "customer")] + #pragma warning disable CS1591 Customer, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BookingSchedulingPolicy.cs b/src/generated/Models/BookingSchedulingPolicy.cs index 36fbdb36d0..efdc0e6949 100644 --- a/src/generated/Models/BookingSchedulingPolicy.cs +++ b/src/generated/Models/BookingSchedulingPolicy.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This type represents the set of policies that dictate how bookings can be created in a Booking Calendar. /// - public class BookingSchedulingPolicy : IAdditionalDataHolder, IParsable + public class BookingSchedulingPolicy : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -55,12 +56,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowStaffSelection", n => { AllowStaffSelection = n.GetBoolValue(); } }, - {"maximumAdvance", n => { MaximumAdvance = n.GetTimeSpanValue(); } }, - {"minimumLeadTime", n => { MinimumLeadTime = n.GetTimeSpanValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"sendConfirmationsToOwner", n => { SendConfirmationsToOwner = n.GetBoolValue(); } }, - {"timeSlotInterval", n => { TimeSlotInterval = n.GetTimeSpanValue(); } }, + { "allowStaffSelection", n => { AllowStaffSelection = n.GetBoolValue(); } }, + { "maximumAdvance", n => { MaximumAdvance = n.GetTimeSpanValue(); } }, + { "minimumLeadTime", n => { MinimumLeadTime = n.GetTimeSpanValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sendConfirmationsToOwner", n => { SendConfirmationsToOwner = n.GetBoolValue(); } }, + { "timeSlotInterval", n => { TimeSlotInterval = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Models/BookingService.cs b/src/generated/Models/BookingService.cs index ea6457bf12..000c7cc7eb 100644 --- a/src/generated/Models/BookingService.cs +++ b/src/generated/Models/BookingService.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a particular service offered by a booking business. /// - public class BookingService : Entity, IParsable + public class BookingService : Entity, IParsable { /// Additional information that is sent to the customer when an appointment is confirmed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -136,27 +137,27 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"additionalInformation", n => { AdditionalInformation = n.GetStringValue(); } }, - {"customQuestions", n => { CustomQuestions = n.GetCollectionOfObjectValues(BookingQuestionAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"defaultDuration", n => { DefaultDuration = n.GetTimeSpanValue(); } }, - {"defaultLocation", n => { DefaultLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, - {"defaultPrice", n => { DefaultPrice = n.GetDoubleValue(); } }, - {"defaultPriceType", n => { DefaultPriceType = n.GetEnumValue(); } }, - {"defaultReminders", n => { DefaultReminders = n.GetCollectionOfObjectValues(BookingReminder.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isAnonymousJoinEnabled", n => { IsAnonymousJoinEnabled = n.GetBoolValue(); } }, - {"isHiddenFromCustomers", n => { IsHiddenFromCustomers = n.GetBoolValue(); } }, - {"isLocationOnline", n => { IsLocationOnline = n.GetBoolValue(); } }, - {"languageTag", n => { LanguageTag = n.GetStringValue(); } }, - {"maximumAttendeesCount", n => { MaximumAttendeesCount = n.GetIntValue(); } }, - {"notes", n => { Notes = n.GetStringValue(); } }, - {"postBuffer", n => { PostBuffer = n.GetTimeSpanValue(); } }, - {"preBuffer", n => { PreBuffer = n.GetTimeSpanValue(); } }, - {"schedulingPolicy", n => { SchedulingPolicy = n.GetObjectValue(BookingSchedulingPolicy.CreateFromDiscriminatorValue); } }, - {"smsNotificationsEnabled", n => { SmsNotificationsEnabled = n.GetBoolValue(); } }, - {"staffMemberIds", n => { StaffMemberIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "additionalInformation", n => { AdditionalInformation = n.GetStringValue(); } }, + { "customQuestions", n => { CustomQuestions = n.GetCollectionOfObjectValues(BookingQuestionAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "defaultDuration", n => { DefaultDuration = n.GetTimeSpanValue(); } }, + { "defaultLocation", n => { DefaultLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, + { "defaultPrice", n => { DefaultPrice = n.GetDoubleValue(); } }, + { "defaultPriceType", n => { DefaultPriceType = n.GetEnumValue(); } }, + { "defaultReminders", n => { DefaultReminders = n.GetCollectionOfObjectValues(BookingReminder.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isAnonymousJoinEnabled", n => { IsAnonymousJoinEnabled = n.GetBoolValue(); } }, + { "isHiddenFromCustomers", n => { IsHiddenFromCustomers = n.GetBoolValue(); } }, + { "isLocationOnline", n => { IsLocationOnline = n.GetBoolValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, + { "maximumAttendeesCount", n => { MaximumAttendeesCount = n.GetIntValue(); } }, + { "notes", n => { Notes = n.GetStringValue(); } }, + { "postBuffer", n => { PostBuffer = n.GetTimeSpanValue(); } }, + { "preBuffer", n => { PreBuffer = n.GetTimeSpanValue(); } }, + { "schedulingPolicy", n => { SchedulingPolicy = n.GetObjectValue(BookingSchedulingPolicy.CreateFromDiscriminatorValue); } }, + { "smsNotificationsEnabled", n => { SmsNotificationsEnabled = n.GetBoolValue(); } }, + { "staffMemberIds", n => { StaffMemberIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BookingServiceCollectionResponse.cs b/src/generated/Models/BookingServiceCollectionResponse.cs index 34ea2c68f2..ce7a537036 100644 --- a/src/generated/Models/BookingServiceCollectionResponse.cs +++ b/src/generated/Models/BookingServiceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingServiceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingServiceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingService.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingService.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingStaffMember.cs b/src/generated/Models/BookingStaffMember.cs index c6ccd5e4b3..8de4b1208d 100644 --- a/src/generated/Models/BookingStaffMember.cs +++ b/src/generated/Models/BookingStaffMember.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a staff member who provides services in a business. /// - public class BookingStaffMember : BookingStaffMemberBase, IParsable + public class BookingStaffMember : BookingStaffMemberBase, IParsable { /// True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking. public bool? AvailabilityIsAffectedByPersonalCalendar { get; set; } @@ -30,6 +31,8 @@ public class BookingStaffMember : BookingStaffMemberBase, IParsable #endif /// True indicates that a staff member will be notified via email when a booking assigned to them is created or changed. public bool? IsEmailNotificationEnabled { get; set; } + /// The membershipStatus property + public BookingStaffMembershipStatus? MembershipStatus { get; set; } /// The role property public BookingStaffRole? Role { get; set; } /// The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. @@ -75,14 +78,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"availabilityIsAffectedByPersonalCalendar", n => { AvailabilityIsAffectedByPersonalCalendar = n.GetBoolValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"emailAddress", n => { EmailAddress = n.GetStringValue(); } }, - {"isEmailNotificationEnabled", n => { IsEmailNotificationEnabled = n.GetBoolValue(); } }, - {"role", n => { Role = n.GetEnumValue(); } }, - {"timeZone", n => { TimeZone = n.GetStringValue(); } }, - {"useBusinessHours", n => { UseBusinessHours = n.GetBoolValue(); } }, - {"workingHours", n => { WorkingHours = n.GetCollectionOfObjectValues(BookingWorkHours.CreateFromDiscriminatorValue)?.ToList(); } }, + { "availabilityIsAffectedByPersonalCalendar", n => { AvailabilityIsAffectedByPersonalCalendar = n.GetBoolValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "isEmailNotificationEnabled", n => { IsEmailNotificationEnabled = n.GetBoolValue(); } }, + { "membershipStatus", n => { MembershipStatus = n.GetEnumValue(); } }, + { "role", n => { Role = n.GetEnumValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, + { "useBusinessHours", n => { UseBusinessHours = n.GetBoolValue(); } }, + { "workingHours", n => { WorkingHours = n.GetCollectionOfObjectValues(BookingWorkHours.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -97,6 +101,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("emailAddress", EmailAddress); writer.WriteBoolValue("isEmailNotificationEnabled", IsEmailNotificationEnabled); + writer.WriteEnumValue("membershipStatus", MembershipStatus); writer.WriteEnumValue("role", Role); writer.WriteStringValue("timeZone", TimeZone); writer.WriteBoolValue("useBusinessHours", UseBusinessHours); diff --git a/src/generated/Models/BookingStaffMemberBase.cs b/src/generated/Models/BookingStaffMemberBase.cs index 51237b42e6..61cbd008dd 100644 --- a/src/generated/Models/BookingStaffMemberBase.cs +++ b/src/generated/Models/BookingStaffMemberBase.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Booking entities that provide a display name. /// - public class BookingStaffMemberBase : Entity, IParsable + public class BookingStaffMemberBase : Entity, IParsable { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/BookingStaffMemberBaseCollectionResponse.cs b/src/generated/Models/BookingStaffMemberBaseCollectionResponse.cs index d1b15cc1f3..666d69bf1e 100644 --- a/src/generated/Models/BookingStaffMemberBaseCollectionResponse.cs +++ b/src/generated/Models/BookingStaffMemberBaseCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingStaffMemberBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingStaffMemberBaseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BookingStaffMemberBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BookingStaffMemberBase.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingStaffMembershipStatus.cs b/src/generated/Models/BookingStaffMembershipStatus.cs new file mode 100644 index 0000000000..470f796b52 --- /dev/null +++ b/src/generated/Models/BookingStaffMembershipStatus.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public enum BookingStaffMembershipStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "pendingAcceptance")] + #pragma warning disable CS1591 + PendingAcceptance, + #pragma warning restore CS1591 + [EnumMember(Value = "rejectedByStaff")] + #pragma warning disable CS1591 + RejectedByStaff, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/generated/Models/BookingStaffRole.cs b/src/generated/Models/BookingStaffRole.cs index 539ddc2eea..b9e8969baa 100644 --- a/src/generated/Models/BookingStaffRole.cs +++ b/src/generated/Models/BookingStaffRole.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BookingStaffRole + #pragma warning restore CS1591 { [EnumMember(Value = "guest")] + #pragma warning disable CS1591 Guest, + #pragma warning restore CS1591 [EnumMember(Value = "administrator")] + #pragma warning disable CS1591 Administrator, + #pragma warning restore CS1591 [EnumMember(Value = "viewer")] + #pragma warning disable CS1591 Viewer, + #pragma warning restore CS1591 [EnumMember(Value = "externalGuest")] + #pragma warning disable CS1591 ExternalGuest, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "scheduler")] + #pragma warning disable CS1591 Scheduler, + #pragma warning restore CS1591 [EnumMember(Value = "teamMember")] + #pragma warning disable CS1591 TeamMember, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BookingType.cs b/src/generated/Models/BookingType.cs index 3be7bd953d..809c8cbb79 100644 --- a/src/generated/Models/BookingType.cs +++ b/src/generated/Models/BookingType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BookingType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "standard")] + #pragma warning disable CS1591 Standard, + #pragma warning restore CS1591 [EnumMember(Value = "reserved")] + #pragma warning disable CS1591 Reserved, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BookingWorkHours.cs b/src/generated/Models/BookingWorkHours.cs index 4f13869447..e4a2a177ff 100644 --- a/src/generated/Models/BookingWorkHours.cs +++ b/src/generated/Models/BookingWorkHours.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This type represents the set of working hours in a single day of the week. /// - public class BookingWorkHours : IAdditionalDataHolder, IParsable + public class BookingWorkHours : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -55,9 +56,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"day", n => { Day = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"timeSlots", n => { TimeSlots = n.GetCollectionOfObjectValues(BookingWorkTimeSlot.CreateFromDiscriminatorValue)?.ToList(); } }, + { "day", n => { Day = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "timeSlots", n => { TimeSlots = n.GetCollectionOfObjectValues(BookingWorkTimeSlot.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BookingWorkTimeSlot.cs b/src/generated/Models/BookingWorkTimeSlot.cs index f2e4924423..c83ba5f713 100644 --- a/src/generated/Models/BookingWorkTimeSlot.cs +++ b/src/generated/Models/BookingWorkTimeSlot.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BookingWorkTimeSlot : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BookingWorkTimeSlot : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,9 +50,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endTime", n => { EndTime = n.GetTimeValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"startTime", n => { StartTime = n.GetTimeValue(); } }, + { "endTime", n => { EndTime = n.GetTimeValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startTime", n => { StartTime = n.GetTimeValue(); } }, }; } /// diff --git a/src/generated/Models/BookingsAvailabilityStatus.cs b/src/generated/Models/BookingsAvailabilityStatus.cs index eb4ed272b5..2ab42a106e 100644 --- a/src/generated/Models/BookingsAvailabilityStatus.cs +++ b/src/generated/Models/BookingsAvailabilityStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BookingsAvailabilityStatus + #pragma warning restore CS1591 { [EnumMember(Value = "available")] + #pragma warning disable CS1591 Available, + #pragma warning restore CS1591 [EnumMember(Value = "busy")] + #pragma warning disable CS1591 Busy, + #pragma warning restore CS1591 [EnumMember(Value = "slotsAvailable")] + #pragma warning disable CS1591 SlotsAvailable, + #pragma warning restore CS1591 [EnumMember(Value = "outOfOffice")] + #pragma warning disable CS1591 OutOfOffice, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BooleanColumn.cs b/src/generated/Models/BooleanColumn.cs index 0bd15179b7..8b4daf2785 100644 --- a/src/generated/Models/BooleanColumn.cs +++ b/src/generated/Models/BooleanColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BooleanColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BooleanColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BroadcastMeetingAudience.cs b/src/generated/Models/BroadcastMeetingAudience.cs index e14d16d878..ad6d0ae02f 100644 --- a/src/generated/Models/BroadcastMeetingAudience.cs +++ b/src/generated/Models/BroadcastMeetingAudience.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BroadcastMeetingAudience + #pragma warning restore CS1591 { [EnumMember(Value = "roleIsAttendee")] + #pragma warning disable CS1591 RoleIsAttendee, + #pragma warning restore CS1591 [EnumMember(Value = "organization")] + #pragma warning disable CS1591 Organization, + #pragma warning restore CS1591 [EnumMember(Value = "everyone")] + #pragma warning disable CS1591 Everyone, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BroadcastMeetingCaptionSettings.cs b/src/generated/Models/BroadcastMeetingCaptionSettings.cs index 2897000870..f065afdb1f 100644 --- a/src/generated/Models/BroadcastMeetingCaptionSettings.cs +++ b/src/generated/Models/BroadcastMeetingCaptionSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BroadcastMeetingCaptionSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BroadcastMeetingCaptionSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isCaptionEnabled", n => { IsCaptionEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"spokenLanguage", n => { SpokenLanguage = n.GetStringValue(); } }, - {"translationLanguages", n => { TranslationLanguages = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "isCaptionEnabled", n => { IsCaptionEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "spokenLanguage", n => { SpokenLanguage = n.GetStringValue(); } }, + { "translationLanguages", n => { TranslationLanguages = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BroadcastMeetingSettings.cs b/src/generated/Models/BroadcastMeetingSettings.cs index ef02bae007..23359c74cb 100644 --- a/src/generated/Models/BroadcastMeetingSettings.cs +++ b/src/generated/Models/BroadcastMeetingSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BroadcastMeetingSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BroadcastMeetingSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,13 +63,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedAudience", n => { AllowedAudience = n.GetEnumValue(); } }, - {"captions", n => { Captions = n.GetObjectValue(BroadcastMeetingCaptionSettings.CreateFromDiscriminatorValue); } }, - {"isAttendeeReportEnabled", n => { IsAttendeeReportEnabled = n.GetBoolValue(); } }, - {"isQuestionAndAnswerEnabled", n => { IsQuestionAndAnswerEnabled = n.GetBoolValue(); } }, - {"isRecordingEnabled", n => { IsRecordingEnabled = n.GetBoolValue(); } }, - {"isVideoOnDemandEnabled", n => { IsVideoOnDemandEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "allowedAudience", n => { AllowedAudience = n.GetEnumValue(); } }, + { "captions", n => { Captions = n.GetObjectValue(BroadcastMeetingCaptionSettings.CreateFromDiscriminatorValue); } }, + { "isAttendeeReportEnabled", n => { IsAttendeeReportEnabled = n.GetBoolValue(); } }, + { "isQuestionAndAnswerEnabled", n => { IsQuestionAndAnswerEnabled = n.GetBoolValue(); } }, + { "isRecordingEnabled", n => { IsRecordingEnabled = n.GetBoolValue(); } }, + { "isVideoOnDemandEnabled", n => { IsVideoOnDemandEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSharedCookie.cs b/src/generated/Models/BrowserSharedCookie.cs index 05f22cdbf8..b542b8fc15 100644 --- a/src/generated/Models/BrowserSharedCookie.cs +++ b/src/generated/Models/BrowserSharedCookie.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BrowserSharedCookie : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BrowserSharedCookie : Entity, IParsable + #pragma warning restore CS1591 { /// The comment for the shared cookie. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,18 +88,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"history", n => { History = n.GetCollectionOfObjectValues(BrowserSharedCookieHistory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"hostOnly", n => { HostOnly = n.GetBoolValue(); } }, - {"hostOrDomain", n => { HostOrDomain = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"path", n => { Path = n.GetStringValue(); } }, - {"sourceEnvironment", n => { SourceEnvironment = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "history", n => { History = n.GetCollectionOfObjectValues(BrowserSharedCookieHistory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "hostOnly", n => { HostOnly = n.GetBoolValue(); } }, + { "hostOrDomain", n => { HostOrDomain = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "path", n => { Path = n.GetStringValue(); } }, + { "sourceEnvironment", n => { SourceEnvironment = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSharedCookieCollectionResponse.cs b/src/generated/Models/BrowserSharedCookieCollectionResponse.cs index d861a4b01a..4015a37c2d 100644 --- a/src/generated/Models/BrowserSharedCookieCollectionResponse.cs +++ b/src/generated/Models/BrowserSharedCookieCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BrowserSharedCookieCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BrowserSharedCookieCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BrowserSharedCookieHistory.cs b/src/generated/Models/BrowserSharedCookieHistory.cs index 942886d73e..a3df789cf1 100644 --- a/src/generated/Models/BrowserSharedCookieHistory.cs +++ b/src/generated/Models/BrowserSharedCookieHistory.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BrowserSharedCookieHistory : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BrowserSharedCookieHistory : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -88,15 +91,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"hostOnly", n => { HostOnly = n.GetBoolValue(); } }, - {"hostOrDomain", n => { HostOrDomain = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"path", n => { Path = n.GetStringValue(); } }, - {"publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, - {"sourceEnvironment", n => { SourceEnvironment = n.GetEnumValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "hostOnly", n => { HostOnly = n.GetBoolValue(); } }, + { "hostOrDomain", n => { HostOrDomain = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "path", n => { Path = n.GetStringValue(); } }, + { "publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sourceEnvironment", n => { SourceEnvironment = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSharedCookieSourceEnvironment.cs b/src/generated/Models/BrowserSharedCookieSourceEnvironment.cs index 0240e2e18a..84b7d9e54b 100644 --- a/src/generated/Models/BrowserSharedCookieSourceEnvironment.cs +++ b/src/generated/Models/BrowserSharedCookieSourceEnvironment.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSharedCookieSourceEnvironment + #pragma warning restore CS1591 { /// Share session cookies from Microsoft Edge to Internet Explorer. [EnumMember(Value = "microsoftEdge")] diff --git a/src/generated/Models/BrowserSharedCookieStatus.cs b/src/generated/Models/BrowserSharedCookieStatus.cs index 4f01bc1830..7eaa68a41b 100644 --- a/src/generated/Models/BrowserSharedCookieStatus.cs +++ b/src/generated/Models/BrowserSharedCookieStatus.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSharedCookieStatus + #pragma warning restore CS1591 { /// A sharedcookie that has been published [EnumMember(Value = "published")] diff --git a/src/generated/Models/BrowserSite.cs b/src/generated/Models/BrowserSite.cs index 50b2e5874e..301534afdf 100644 --- a/src/generated/Models/BrowserSite.cs +++ b/src/generated/Models/BrowserSite.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Singleton entity which is used to specify IE mode site metadata /// - public class BrowserSite : Entity, IParsable + public class BrowserSite : Entity, IParsable { /// Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain. public bool? AllowRedirect { get; set; } @@ -76,18 +77,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowRedirect", n => { AllowRedirect = n.GetBoolValue(); } }, - {"comment", n => { Comment = n.GetStringValue(); } }, - {"compatibilityMode", n => { CompatibilityMode = n.GetEnumValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"history", n => { History = n.GetCollectionOfObjectValues(BrowserSiteHistory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"mergeType", n => { MergeType = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"targetEnvironment", n => { TargetEnvironment = n.GetEnumValue(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "allowRedirect", n => { AllowRedirect = n.GetBoolValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "compatibilityMode", n => { CompatibilityMode = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "history", n => { History = n.GetCollectionOfObjectValues(BrowserSiteHistory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "mergeType", n => { MergeType = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "targetEnvironment", n => { TargetEnvironment = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSiteCollectionResponse.cs b/src/generated/Models/BrowserSiteCollectionResponse.cs index 4472785a36..c1eff83356 100644 --- a/src/generated/Models/BrowserSiteCollectionResponse.cs +++ b/src/generated/Models/BrowserSiteCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BrowserSiteCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BrowserSiteCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BrowserSiteCompatibilityMode.cs b/src/generated/Models/BrowserSiteCompatibilityMode.cs index d496c2da26..16fc04ffc7 100644 --- a/src/generated/Models/BrowserSiteCompatibilityMode.cs +++ b/src/generated/Models/BrowserSiteCompatibilityMode.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSiteCompatibilityMode + #pragma warning restore CS1591 { /// Loads the site using default compatibility mode. [EnumMember(Value = "default")] diff --git a/src/generated/Models/BrowserSiteHistory.cs b/src/generated/Models/BrowserSiteHistory.cs index 1ac7fb0751..dd097ac83a 100644 --- a/src/generated/Models/BrowserSiteHistory.cs +++ b/src/generated/Models/BrowserSiteHistory.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The history for the site modifications /// - public class BrowserSiteHistory : IAdditionalDataHolder, IParsable + public class BrowserSiteHistory : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -71,14 +72,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowRedirect", n => { AllowRedirect = n.GetBoolValue(); } }, - {"comment", n => { Comment = n.GetStringValue(); } }, - {"compatibilityMode", n => { CompatibilityMode = n.GetEnumValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"mergeType", n => { MergeType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, - {"targetEnvironment", n => { TargetEnvironment = n.GetEnumValue(); } }, + { "allowRedirect", n => { AllowRedirect = n.GetBoolValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "compatibilityMode", n => { CompatibilityMode = n.GetEnumValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "mergeType", n => { MergeType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, + { "targetEnvironment", n => { TargetEnvironment = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSiteList.cs b/src/generated/Models/BrowserSiteList.cs index 41aa941554..4cff5184db 100644 --- a/src/generated/Models/BrowserSiteList.cs +++ b/src/generated/Models/BrowserSiteList.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A singleton entity which is used to specify IE mode site list metadata /// - public class BrowserSiteList : Entity, IParsable + public class BrowserSiteList : Entity, IParsable { /// The description of the site list. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -90,16 +91,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"publishedBy", n => { PublishedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, - {"revision", n => { Revision = n.GetStringValue(); } }, - {"sharedCookies", n => { SharedCookies = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sites", n => { Sites = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "publishedBy", n => { PublishedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, + { "revision", n => { Revision = n.GetStringValue(); } }, + { "sharedCookies", n => { SharedCookies = n.GetCollectionOfObjectValues(BrowserSharedCookie.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sites", n => { Sites = n.GetCollectionOfObjectValues(BrowserSite.CreateFromDiscriminatorValue)?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BrowserSiteListCollectionResponse.cs b/src/generated/Models/BrowserSiteListCollectionResponse.cs index ce11b1a57c..220ee74fed 100644 --- a/src/generated/Models/BrowserSiteListCollectionResponse.cs +++ b/src/generated/Models/BrowserSiteListCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BrowserSiteListCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BrowserSiteListCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(BrowserSiteList.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(BrowserSiteList.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/BrowserSiteListStatus.cs b/src/generated/Models/BrowserSiteListStatus.cs index a340cb6680..f629f201a5 100644 --- a/src/generated/Models/BrowserSiteListStatus.cs +++ b/src/generated/Models/BrowserSiteListStatus.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSiteListStatus + #pragma warning restore CS1591 { /// A site list that has not yet been published [EnumMember(Value = "draft")] diff --git a/src/generated/Models/BrowserSiteMergeType.cs b/src/generated/Models/BrowserSiteMergeType.cs index 40037c793b..a902479535 100644 --- a/src/generated/Models/BrowserSiteMergeType.cs +++ b/src/generated/Models/BrowserSiteMergeType.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSiteMergeType + #pragma warning restore CS1591 { /// No merge type [EnumMember(Value = "noMerge")] diff --git a/src/generated/Models/BrowserSiteStatus.cs b/src/generated/Models/BrowserSiteStatus.cs index 730c364b1e..cbb2196c5a 100644 --- a/src/generated/Models/BrowserSiteStatus.cs +++ b/src/generated/Models/BrowserSiteStatus.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSiteStatus + #pragma warning restore CS1591 { /// A site that has been published [EnumMember(Value = "published")] diff --git a/src/generated/Models/BrowserSiteTargetEnvironment.cs b/src/generated/Models/BrowserSiteTargetEnvironment.cs index 27c629e3e2..a8dfa4c52b 100644 --- a/src/generated/Models/BrowserSiteTargetEnvironment.cs +++ b/src/generated/Models/BrowserSiteTargetEnvironment.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BrowserSiteTargetEnvironment + #pragma warning restore CS1591 { /// Open in Internet Explorer Mode [EnumMember(Value = "internetExplorerMode")] diff --git a/src/generated/Models/BucketAggregationDefinition.cs b/src/generated/Models/BucketAggregationDefinition.cs index 808360bd19..c80536a5f0 100644 --- a/src/generated/Models/BucketAggregationDefinition.cs +++ b/src/generated/Models/BucketAggregationDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BucketAggregationDefinition : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BucketAggregationDefinition : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -64,12 +67,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isDescending", n => { IsDescending = n.GetBoolValue(); } }, - {"minimumCount", n => { MinimumCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"prefixFilter", n => { PrefixFilter = n.GetStringValue(); } }, - {"ranges", n => { Ranges = n.GetCollectionOfObjectValues(BucketAggregationRange.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sortBy", n => { SortBy = n.GetEnumValue(); } }, + { "isDescending", n => { IsDescending = n.GetBoolValue(); } }, + { "minimumCount", n => { MinimumCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "prefixFilter", n => { PrefixFilter = n.GetStringValue(); } }, + { "ranges", n => { Ranges = n.GetCollectionOfObjectValues(BucketAggregationRange.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sortBy", n => { SortBy = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/BucketAggregationRange.cs b/src/generated/Models/BucketAggregationRange.cs index a2e1c286b8..6c3867cae5 100644 --- a/src/generated/Models/BucketAggregationRange.cs +++ b/src/generated/Models/BucketAggregationRange.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BucketAggregationRange : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BucketAggregationRange : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"from", n => { From = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"to", n => { To = n.GetStringValue(); } }, + { "from", n => { From = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "to", n => { To = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BucketAggregationSortProperty.cs b/src/generated/Models/BucketAggregationSortProperty.cs index d9f01d9db4..4aec474e03 100644 --- a/src/generated/Models/BucketAggregationSortProperty.cs +++ b/src/generated/Models/BucketAggregationSortProperty.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum BucketAggregationSortProperty + #pragma warning restore CS1591 { [EnumMember(Value = "count")] + #pragma warning disable CS1591 Count, + #pragma warning restore CS1591 [EnumMember(Value = "keyAsString")] + #pragma warning disable CS1591 KeyAsString, + #pragma warning restore CS1591 [EnumMember(Value = "keyAsNumber")] + #pragma warning disable CS1591 KeyAsNumber, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/BuiltInIdentityProvider.cs b/src/generated/Models/BuiltInIdentityProvider.cs index ddc188d191..d76fc102bf 100644 --- a/src/generated/Models/BuiltInIdentityProvider.cs +++ b/src/generated/Models/BuiltInIdentityProvider.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BuiltInIdentityProvider : IdentityProviderBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BuiltInIdentityProvider : IdentityProviderBase, IParsable + #pragma warning restore CS1591 { /// The identity provider type. For a B2B scenario, possible values: AADSignup, MicrosoftAccount, EmailOTP. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"identityProviderType", n => { IdentityProviderType = n.GetStringValue(); } }, + { "identityProviderType", n => { IdentityProviderType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/BulkUpload.cs b/src/generated/Models/BulkUpload.cs index 24f71ee3ac..d0513f14c1 100644 --- a/src/generated/Models/BulkUpload.cs +++ b/src/generated/Models/BulkUpload.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class BulkUpload : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class BulkUpload : Entity, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/Bundle.cs b/src/generated/Models/Bundle.cs index d3d88cd494..17fab4f02d 100644 --- a/src/generated/Models/Bundle.cs +++ b/src/generated/Models/Bundle.cs @@ -4,12 +4,15 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Bundle : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Bundle : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } - /// If the bundle is an [album][], then the album property is included + /// If the bundle is an album, then the album property is included #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public ApiSdk.Models.Album? Album { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"album", n => { Album = n.GetObjectValue(ApiSdk.Models.Album.CreateFromDiscriminatorValue); } }, - {"childCount", n => { ChildCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "album", n => { Album = n.GetObjectValue(ApiSdk.Models.Album.CreateFromDiscriminatorValue); } }, + { "childCount", n => { ChildCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CalculatedColumn.cs b/src/generated/Models/CalculatedColumn.cs index aebfeb0b4d..f76e87f606 100644 --- a/src/generated/Models/CalculatedColumn.cs +++ b/src/generated/Models/CalculatedColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalculatedColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalculatedColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"format", n => { Format = n.GetStringValue(); } }, - {"formula", n => { Formula = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"outputType", n => { OutputType = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + { "formula", n => { Formula = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "outputType", n => { OutputType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Calendar.cs b/src/generated/Models/Calendar.cs index 8e9507282c..47a984cfa6 100644 --- a/src/generated/Models/Calendar.cs +++ b/src/generated/Models/Calendar.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Calendar : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Calendar : Entity, IParsable + #pragma warning restore CS1591 { /// Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -121,24 +124,24 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowedOnlineMeetingProviders", n => { AllowedOnlineMeetingProviders = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"calendarPermissions", n => { CalendarPermissions = n.GetCollectionOfObjectValues(CalendarPermission.CreateFromDiscriminatorValue)?.ToList(); } }, - {"calendarView", n => { CalendarView = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, - {"canEdit", n => { CanEdit = n.GetBoolValue(); } }, - {"canShare", n => { CanShare = n.GetBoolValue(); } }, - {"canViewPrivateItems", n => { CanViewPrivateItems = n.GetBoolValue(); } }, - {"changeKey", n => { ChangeKey = n.GetStringValue(); } }, - {"color", n => { Color = n.GetEnumValue(); } }, - {"defaultOnlineMeetingProvider", n => { DefaultOnlineMeetingProvider = n.GetEnumValue(); } }, - {"events", n => { Events = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, - {"hexColor", n => { HexColor = n.GetStringValue(); } }, - {"isDefaultCalendar", n => { IsDefaultCalendar = n.GetBoolValue(); } }, - {"isRemovable", n => { IsRemovable = n.GetBoolValue(); } }, - {"isTallyingResponses", n => { IsTallyingResponses = n.GetBoolValue(); } }, - {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"owner", n => { Owner = n.GetObjectValue(EmailAddress.CreateFromDiscriminatorValue); } }, - {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "allowedOnlineMeetingProviders", n => { AllowedOnlineMeetingProviders = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "calendarPermissions", n => { CalendarPermissions = n.GetCollectionOfObjectValues(CalendarPermission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "calendarView", n => { CalendarView = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "canEdit", n => { CanEdit = n.GetBoolValue(); } }, + { "canShare", n => { CanShare = n.GetBoolValue(); } }, + { "canViewPrivateItems", n => { CanViewPrivateItems = n.GetBoolValue(); } }, + { "changeKey", n => { ChangeKey = n.GetStringValue(); } }, + { "color", n => { Color = n.GetEnumValue(); } }, + { "defaultOnlineMeetingProvider", n => { DefaultOnlineMeetingProvider = n.GetEnumValue(); } }, + { "events", n => { Events = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "hexColor", n => { HexColor = n.GetStringValue(); } }, + { "isDefaultCalendar", n => { IsDefaultCalendar = n.GetBoolValue(); } }, + { "isRemovable", n => { IsRemovable = n.GetBoolValue(); } }, + { "isTallyingResponses", n => { IsTallyingResponses = n.GetBoolValue(); } }, + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owner", n => { Owner = n.GetObjectValue(EmailAddress.CreateFromDiscriminatorValue); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CalendarCollectionResponse.cs b/src/generated/Models/CalendarCollectionResponse.cs index e4f3eb056b..c9ea93b5f3 100644 --- a/src/generated/Models/CalendarCollectionResponse.cs +++ b/src/generated/Models/CalendarCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Calendar.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Calendar.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CalendarColor.cs b/src/generated/Models/CalendarColor.cs index 2ee0a67043..70fcb3c30b 100644 --- a/src/generated/Models/CalendarColor.cs +++ b/src/generated/Models/CalendarColor.cs @@ -1,30 +1,55 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CalendarColor + #pragma warning restore CS1591 { [EnumMember(Value = "auto")] + #pragma warning disable CS1591 Auto, + #pragma warning restore CS1591 [EnumMember(Value = "lightBlue")] + #pragma warning disable CS1591 LightBlue, + #pragma warning restore CS1591 [EnumMember(Value = "lightGreen")] + #pragma warning disable CS1591 LightGreen, + #pragma warning restore CS1591 [EnumMember(Value = "lightOrange")] + #pragma warning disable CS1591 LightOrange, + #pragma warning restore CS1591 [EnumMember(Value = "lightGray")] + #pragma warning disable CS1591 LightGray, + #pragma warning restore CS1591 [EnumMember(Value = "lightYellow")] + #pragma warning disable CS1591 LightYellow, + #pragma warning restore CS1591 [EnumMember(Value = "lightTeal")] + #pragma warning disable CS1591 LightTeal, + #pragma warning restore CS1591 [EnumMember(Value = "lightPink")] + #pragma warning disable CS1591 LightPink, + #pragma warning restore CS1591 [EnumMember(Value = "lightBrown")] + #pragma warning disable CS1591 LightBrown, + #pragma warning restore CS1591 [EnumMember(Value = "lightRed")] + #pragma warning disable CS1591 LightRed, + #pragma warning restore CS1591 [EnumMember(Value = "maxColor")] + #pragma warning disable CS1591 MaxColor, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CalendarGroup.cs b/src/generated/Models/CalendarGroup.cs index fdfc0e9af1..099703f036 100644 --- a/src/generated/Models/CalendarGroup.cs +++ b/src/generated/Models/CalendarGroup.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarGroup : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarGroup : Entity, IParsable + #pragma warning restore CS1591 { /// The calendars in the calendar group. Navigation property. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -51,10 +54,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"calendars", n => { Calendars = n.GetCollectionOfObjectValues(Calendar.CreateFromDiscriminatorValue)?.ToList(); } }, - {"changeKey", n => { ChangeKey = n.GetStringValue(); } }, - {"classId", n => { ClassId = n.GetGuidValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "calendars", n => { Calendars = n.GetCollectionOfObjectValues(Calendar.CreateFromDiscriminatorValue)?.ToList(); } }, + { "changeKey", n => { ChangeKey = n.GetStringValue(); } }, + { "classId", n => { ClassId = n.GetGuidValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CalendarGroupCollectionResponse.cs b/src/generated/Models/CalendarGroupCollectionResponse.cs index 98e7153f6a..87634738f5 100644 --- a/src/generated/Models/CalendarGroupCollectionResponse.cs +++ b/src/generated/Models/CalendarGroupCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarGroupCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarGroupCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CalendarGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CalendarGroup.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CalendarPermission.cs b/src/generated/Models/CalendarPermission.cs index 4662d462f2..cfc95a16ef 100644 --- a/src/generated/Models/CalendarPermission.cs +++ b/src/generated/Models/CalendarPermission.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarPermission : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarPermission : Entity, IParsable + #pragma warning restore CS1591 { /// List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowedRoles", n => { AllowedRoles = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"emailAddress", n => { EmailAddress = n.GetObjectValue(ApiSdk.Models.EmailAddress.CreateFromDiscriminatorValue); } }, - {"isInsideOrganization", n => { IsInsideOrganization = n.GetBoolValue(); } }, - {"isRemovable", n => { IsRemovable = n.GetBoolValue(); } }, - {"role", n => { Role = n.GetEnumValue(); } }, + { "allowedRoles", n => { AllowedRoles = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "emailAddress", n => { EmailAddress = n.GetObjectValue(ApiSdk.Models.EmailAddress.CreateFromDiscriminatorValue); } }, + { "isInsideOrganization", n => { IsInsideOrganization = n.GetBoolValue(); } }, + { "isRemovable", n => { IsRemovable = n.GetBoolValue(); } }, + { "role", n => { Role = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CalendarPermissionCollectionResponse.cs b/src/generated/Models/CalendarPermissionCollectionResponse.cs index e72a6c47f1..809e5873eb 100644 --- a/src/generated/Models/CalendarPermissionCollectionResponse.cs +++ b/src/generated/Models/CalendarPermissionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarPermissionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarPermissionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CalendarPermission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CalendarPermission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CalendarRoleType.cs b/src/generated/Models/CalendarRoleType.cs index a796ab2931..9c2c66b5a1 100644 --- a/src/generated/Models/CalendarRoleType.cs +++ b/src/generated/Models/CalendarRoleType.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CalendarRoleType + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "freeBusyRead")] + #pragma warning disable CS1591 FreeBusyRead, + #pragma warning restore CS1591 [EnumMember(Value = "limitedRead")] + #pragma warning disable CS1591 LimitedRead, + #pragma warning restore CS1591 [EnumMember(Value = "read")] + #pragma warning disable CS1591 Read, + #pragma warning restore CS1591 [EnumMember(Value = "write")] + #pragma warning disable CS1591 Write, + #pragma warning restore CS1591 [EnumMember(Value = "delegateWithoutPrivateEventAccess")] + #pragma warning disable CS1591 DelegateWithoutPrivateEventAccess, + #pragma warning restore CS1591 [EnumMember(Value = "delegateWithPrivateEventAccess")] + #pragma warning disable CS1591 DelegateWithPrivateEventAccess, + #pragma warning restore CS1591 [EnumMember(Value = "custom")] + #pragma warning disable CS1591 Custom, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CalendarSharingAction.cs b/src/generated/Models/CalendarSharingAction.cs index 678f892fec..8a7e553cb8 100644 --- a/src/generated/Models/CalendarSharingAction.cs +++ b/src/generated/Models/CalendarSharingAction.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CalendarSharingAction + #pragma warning restore CS1591 { [EnumMember(Value = "accept")] + #pragma warning disable CS1591 Accept, + #pragma warning restore CS1591 [EnumMember(Value = "acceptAndViewCalendar")] + #pragma warning disable CS1591 AcceptAndViewCalendar, + #pragma warning restore CS1591 [EnumMember(Value = "viewCalendar")] + #pragma warning disable CS1591 ViewCalendar, + #pragma warning restore CS1591 [EnumMember(Value = "addThisCalendar")] + #pragma warning disable CS1591 AddThisCalendar, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CalendarSharingActionImportance.cs b/src/generated/Models/CalendarSharingActionImportance.cs index 250ed3aa68..2bd8f4094b 100644 --- a/src/generated/Models/CalendarSharingActionImportance.cs +++ b/src/generated/Models/CalendarSharingActionImportance.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CalendarSharingActionImportance + #pragma warning restore CS1591 { [EnumMember(Value = "primary")] + #pragma warning disable CS1591 Primary, + #pragma warning restore CS1591 [EnumMember(Value = "secondary")] + #pragma warning disable CS1591 Secondary, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CalendarSharingActionType.cs b/src/generated/Models/CalendarSharingActionType.cs index 96159b7104..0be8bf6bb8 100644 --- a/src/generated/Models/CalendarSharingActionType.cs +++ b/src/generated/Models/CalendarSharingActionType.cs @@ -1,10 +1,15 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CalendarSharingActionType + #pragma warning restore CS1591 { [EnumMember(Value = "accept")] + #pragma warning disable CS1591 Accept, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CalendarSharingMessage.cs b/src/generated/Models/CalendarSharingMessage.cs index 7d1feb0706..824bc41582 100644 --- a/src/generated/Models/CalendarSharingMessage.cs +++ b/src/generated/Models/CalendarSharingMessage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarSharingMessage : Message, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarSharingMessage : Message, IParsable + #pragma warning restore CS1591 { /// The canAccept property public bool? CanAccept { get; set; } @@ -58,10 +61,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"canAccept", n => { CanAccept = n.GetBoolValue(); } }, - {"sharingMessageAction", n => { SharingMessageAction = n.GetObjectValue(CalendarSharingMessageAction.CreateFromDiscriminatorValue); } }, - {"sharingMessageActions", n => { SharingMessageActions = n.GetCollectionOfObjectValues(CalendarSharingMessageAction.CreateFromDiscriminatorValue)?.ToList(); } }, - {"suggestedCalendarName", n => { SuggestedCalendarName = n.GetStringValue(); } }, + { "canAccept", n => { CanAccept = n.GetBoolValue(); } }, + { "sharingMessageAction", n => { SharingMessageAction = n.GetObjectValue(CalendarSharingMessageAction.CreateFromDiscriminatorValue); } }, + { "sharingMessageActions", n => { SharingMessageActions = n.GetCollectionOfObjectValues(CalendarSharingMessageAction.CreateFromDiscriminatorValue)?.ToList(); } }, + { "suggestedCalendarName", n => { SuggestedCalendarName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CalendarSharingMessageAction.cs b/src/generated/Models/CalendarSharingMessageAction.cs index 0780eeb98e..909ae6288d 100644 --- a/src/generated/Models/CalendarSharingMessageAction.cs +++ b/src/generated/Models/CalendarSharingMessageAction.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CalendarSharingMessageAction : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CalendarSharingMessageAction : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The action property public CalendarSharingAction? Action { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"action", n => { Action = n.GetEnumValue(); } }, - {"actionType", n => { ActionType = n.GetEnumValue(); } }, - {"importance", n => { Importance = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "action", n => { Action = n.GetEnumValue(); } }, + { "actionType", n => { ActionType = n.GetEnumValue(); } }, + { "importance", n => { Importance = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Call.cs b/src/generated/Models/Call.cs index cb8e22f94b..14589c2ae6 100644 --- a/src/generated/Models/Call.cs +++ b/src/generated/Models/Call.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Call : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Call : Entity, IParsable + #pragma warning restore CS1591 { /// The audioRoutingGroups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -205,30 +208,30 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"audioRoutingGroups", n => { AudioRoutingGroups = n.GetCollectionOfObjectValues(AudioRoutingGroup.CreateFromDiscriminatorValue)?.ToList(); } }, - {"callChainId", n => { CallChainId = n.GetStringValue(); } }, - {"callOptions", n => { CallOptions = n.GetObjectValue(ApiSdk.Models.CallOptions.CreateFromDiscriminatorValue); } }, - {"callRoutes", n => { CallRoutes = n.GetCollectionOfObjectValues(CallRoute.CreateFromDiscriminatorValue)?.ToList(); } }, - {"callbackUri", n => { CallbackUri = n.GetStringValue(); } }, - {"chatInfo", n => { ChatInfo = n.GetObjectValue(ApiSdk.Models.ChatInfo.CreateFromDiscriminatorValue); } }, - {"contentSharingSessions", n => { ContentSharingSessions = n.GetCollectionOfObjectValues(ContentSharingSession.CreateFromDiscriminatorValue)?.ToList(); } }, - {"direction", n => { Direction = n.GetEnumValue(); } }, - {"incomingContext", n => { IncomingContext = n.GetObjectValue(ApiSdk.Models.IncomingContext.CreateFromDiscriminatorValue); } }, - {"mediaConfig", n => { MediaConfig = n.GetObjectValue(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } }, - {"mediaState", n => { MediaState = n.GetObjectValue(CallMediaState.CreateFromDiscriminatorValue); } }, - {"meetingInfo", n => { MeetingInfo = n.GetObjectValue(ApiSdk.Models.MeetingInfo.CreateFromDiscriminatorValue); } }, - {"myParticipantId", n => { MyParticipantId = n.GetStringValue(); } }, - {"operations", n => { Operations = n.GetCollectionOfObjectValues(CommsOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"participants", n => { Participants = n.GetCollectionOfObjectValues(Participant.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requestedModalities", n => { RequestedModalities = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"resultInfo", n => { ResultInfo = n.GetObjectValue(ApiSdk.Models.ResultInfo.CreateFromDiscriminatorValue); } }, - {"source", n => { Source = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, - {"targets", n => { Targets = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"toneInfo", n => { ToneInfo = n.GetObjectValue(ApiSdk.Models.ToneInfo.CreateFromDiscriminatorValue); } }, - {"transcription", n => { Transcription = n.GetObjectValue(CallTranscriptionInfo.CreateFromDiscriminatorValue); } }, + { "audioRoutingGroups", n => { AudioRoutingGroups = n.GetCollectionOfObjectValues(AudioRoutingGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "callChainId", n => { CallChainId = n.GetStringValue(); } }, + { "callOptions", n => { CallOptions = n.GetObjectValue(ApiSdk.Models.CallOptions.CreateFromDiscriminatorValue); } }, + { "callRoutes", n => { CallRoutes = n.GetCollectionOfObjectValues(CallRoute.CreateFromDiscriminatorValue)?.ToList(); } }, + { "callbackUri", n => { CallbackUri = n.GetStringValue(); } }, + { "chatInfo", n => { ChatInfo = n.GetObjectValue(ApiSdk.Models.ChatInfo.CreateFromDiscriminatorValue); } }, + { "contentSharingSessions", n => { ContentSharingSessions = n.GetCollectionOfObjectValues(ContentSharingSession.CreateFromDiscriminatorValue)?.ToList(); } }, + { "direction", n => { Direction = n.GetEnumValue(); } }, + { "incomingContext", n => { IncomingContext = n.GetObjectValue(ApiSdk.Models.IncomingContext.CreateFromDiscriminatorValue); } }, + { "mediaConfig", n => { MediaConfig = n.GetObjectValue(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } }, + { "mediaState", n => { MediaState = n.GetObjectValue(CallMediaState.CreateFromDiscriminatorValue); } }, + { "meetingInfo", n => { MeetingInfo = n.GetObjectValue(ApiSdk.Models.MeetingInfo.CreateFromDiscriminatorValue); } }, + { "myParticipantId", n => { MyParticipantId = n.GetStringValue(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(CommsOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "participants", n => { Participants = n.GetCollectionOfObjectValues(Participant.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requestedModalities", n => { RequestedModalities = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "resultInfo", n => { ResultInfo = n.GetObjectValue(ApiSdk.Models.ResultInfo.CreateFromDiscriminatorValue); } }, + { "source", n => { Source = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "targets", n => { Targets = n.GetCollectionOfObjectValues(InvitationParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "toneInfo", n => { ToneInfo = n.GetObjectValue(ApiSdk.Models.ToneInfo.CreateFromDiscriminatorValue); } }, + { "transcription", n => { Transcription = n.GetObjectValue(CallTranscriptionInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallCollectionResponse.cs b/src/generated/Models/CallCollectionResponse.cs index 61c44e38e3..8c25aa5dd9 100644 --- a/src/generated/Models/CallCollectionResponse.cs +++ b/src/generated/Models/CallCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Call.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Call.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallDirection.cs b/src/generated/Models/CallDirection.cs index 770ac7c6a4..ace32e5465 100644 --- a/src/generated/Models/CallDirection.cs +++ b/src/generated/Models/CallDirection.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CallDirection + #pragma warning restore CS1591 { [EnumMember(Value = "incoming")] + #pragma warning disable CS1591 Incoming, + #pragma warning restore CS1591 [EnumMember(Value = "outgoing")] + #pragma warning disable CS1591 Outgoing, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallEndedEventMessageDetail.cs b/src/generated/Models/CallEndedEventMessageDetail.cs index 91b13bb6c5..5a1cad392f 100644 --- a/src/generated/Models/CallEndedEventMessageDetail.cs +++ b/src/generated/Models/CallEndedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallEndedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallEndedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Duration of the call. public TimeSpan? CallDuration { get; set; } @@ -60,11 +63,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callDuration", n => { CallDuration = n.GetTimeSpanValue(); } }, - {"callEventType", n => { CallEventType = n.GetEnumValue(); } }, - {"callId", n => { CallId = n.GetStringValue(); } }, - {"callParticipants", n => { CallParticipants = n.GetCollectionOfObjectValues(CallParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "callDuration", n => { CallDuration = n.GetTimeSpanValue(); } }, + { "callEventType", n => { CallEventType = n.GetEnumValue(); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "callParticipants", n => { CallParticipants = n.GetCollectionOfObjectValues(CallParticipantInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallMediaState.cs b/src/generated/Models/CallMediaState.cs index 911446fef0..dd32b5a16b 100644 --- a/src/generated/Models/CallMediaState.cs +++ b/src/generated/Models/CallMediaState.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallMediaState : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallMediaState : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"audio", n => { Audio = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "audio", n => { Audio = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallOptions.cs b/src/generated/Models/CallOptions.cs index fcf0870575..9b072f85bc 100644 --- a/src/generated/Models/CallOptions.cs +++ b/src/generated/Models/CallOptions.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallOptions : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallOptions : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hideBotAfterEscalation", n => { HideBotAfterEscalation = n.GetBoolValue(); } }, - {"isContentSharingNotificationEnabled", n => { IsContentSharingNotificationEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "hideBotAfterEscalation", n => { HideBotAfterEscalation = n.GetBoolValue(); } }, + { "isContentSharingNotificationEnabled", n => { IsContentSharingNotificationEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallParticipantInfo.cs b/src/generated/Models/CallParticipantInfo.cs index 55d2b2807c..9a7086d2eb 100644 --- a/src/generated/Models/CallParticipantInfo.cs +++ b/src/generated/Models/CallParticipantInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallParticipantInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallParticipantInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"participant", n => { Participant = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "participant", n => { Participant = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallRecording.cs b/src/generated/Models/CallRecording.cs index 449896db87..947176bd7f 100644 --- a/src/generated/Models/CallRecording.cs +++ b/src/generated/Models/CallRecording.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallRecording : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallRecording : Entity, IParsable + #pragma warning restore CS1591 { /// The content of the recording. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -59,11 +62,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"meetingId", n => { MeetingId = n.GetStringValue(); } }, - {"meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"recordingContentUrl", n => { RecordingContentUrl = n.GetStringValue(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "meetingId", n => { MeetingId = n.GetStringValue(); } }, + { "meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "recordingContentUrl", n => { RecordingContentUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecordingCollectionResponse.cs b/src/generated/Models/CallRecordingCollectionResponse.cs index 109883d352..078e4b43ae 100644 --- a/src/generated/Models/CallRecordingCollectionResponse.cs +++ b/src/generated/Models/CallRecordingCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallRecordingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallRecordingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CallRecording.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CallRecording.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallRecordingEventMessageDetail.cs b/src/generated/Models/CallRecordingEventMessageDetail.cs index 464fdc818e..5ada875e89 100644 --- a/src/generated/Models/CallRecordingEventMessageDetail.cs +++ b/src/generated/Models/CallRecordingEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallRecordingEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallRecordingEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Unique identifier of the call. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -76,13 +79,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callId", n => { CallId = n.GetStringValue(); } }, - {"callRecordingDisplayName", n => { CallRecordingDisplayName = n.GetStringValue(); } }, - {"callRecordingDuration", n => { CallRecordingDuration = n.GetTimeSpanValue(); } }, - {"callRecordingStatus", n => { CallRecordingStatus = n.GetEnumValue(); } }, - {"callRecordingUrl", n => { CallRecordingUrl = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "callRecordingDisplayName", n => { CallRecordingDisplayName = n.GetStringValue(); } }, + { "callRecordingDuration", n => { CallRecordingDuration = n.GetTimeSpanValue(); } }, + { "callRecordingStatus", n => { CallRecordingStatus = n.GetEnumValue(); } }, + { "callRecordingUrl", n => { CallRecordingUrl = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallRecordingStatus.cs b/src/generated/Models/CallRecordingStatus.cs index 7b0744de06..613bde9213 100644 --- a/src/generated/Models/CallRecordingStatus.cs +++ b/src/generated/Models/CallRecordingStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CallRecordingStatus + #pragma warning restore CS1591 { [EnumMember(Value = "success")] + #pragma warning disable CS1591 Success, + #pragma warning restore CS1591 [EnumMember(Value = "failure")] + #pragma warning disable CS1591 Failure, + #pragma warning restore CS1591 [EnumMember(Value = "initial")] + #pragma warning disable CS1591 Initial, + #pragma warning restore CS1591 [EnumMember(Value = "chunkFinished")] + #pragma warning disable CS1591 ChunkFinished, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/AudioCodec.cs b/src/generated/Models/CallRecords/AudioCodec.cs index 1e2aa102ac..d6068a74a8 100644 --- a/src/generated/Models/CallRecords/AudioCodec.cs +++ b/src/generated/Models/CallRecords/AudioCodec.cs @@ -1,54 +1,103 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum AudioCodec + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "invalid")] + #pragma warning disable CS1591 Invalid, + #pragma warning restore CS1591 [EnumMember(Value = "cn")] + #pragma warning disable CS1591 Cn, + #pragma warning restore CS1591 [EnumMember(Value = "pcma")] + #pragma warning disable CS1591 Pcma, + #pragma warning restore CS1591 [EnumMember(Value = "pcmu")] + #pragma warning disable CS1591 Pcmu, + #pragma warning restore CS1591 [EnumMember(Value = "amrWide")] + #pragma warning disable CS1591 AmrWide, + #pragma warning restore CS1591 [EnumMember(Value = "g722")] + #pragma warning disable CS1591 G722, + #pragma warning restore CS1591 [EnumMember(Value = "g7221")] + #pragma warning disable CS1591 G7221, + #pragma warning restore CS1591 [EnumMember(Value = "g7221c")] + #pragma warning disable CS1591 G7221c, + #pragma warning restore CS1591 [EnumMember(Value = "g729")] + #pragma warning disable CS1591 G729, + #pragma warning restore CS1591 [EnumMember(Value = "multiChannelAudio")] + #pragma warning disable CS1591 MultiChannelAudio, + #pragma warning restore CS1591 [EnumMember(Value = "muchv2")] + #pragma warning disable CS1591 Muchv2, + #pragma warning restore CS1591 [EnumMember(Value = "opus")] + #pragma warning disable CS1591 Opus, + #pragma warning restore CS1591 [EnumMember(Value = "satin")] + #pragma warning disable CS1591 Satin, + #pragma warning restore CS1591 [EnumMember(Value = "satinFullband")] + #pragma warning disable CS1591 SatinFullband, + #pragma warning restore CS1591 [EnumMember(Value = "rtAudio8")] + #pragma warning disable CS1591 RtAudio8, + #pragma warning restore CS1591 [EnumMember(Value = "rtAudio16")] + #pragma warning disable CS1591 RtAudio16, + #pragma warning restore CS1591 [EnumMember(Value = "silk")] + #pragma warning disable CS1591 Silk, + #pragma warning restore CS1591 [EnumMember(Value = "silkNarrow")] + #pragma warning disable CS1591 SilkNarrow, + #pragma warning restore CS1591 [EnumMember(Value = "silkWide")] + #pragma warning disable CS1591 SilkWide, + #pragma warning restore CS1591 [EnumMember(Value = "siren")] + #pragma warning disable CS1591 Siren, + #pragma warning restore CS1591 [EnumMember(Value = "xmsRta")] + #pragma warning disable CS1591 XmsRta, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/CallRecord.cs b/src/generated/Models/CallRecords/CallRecord.cs index 533a1292ea..8b8f2a9470 100644 --- a/src/generated/Models/CallRecords/CallRecord.cs +++ b/src/generated/Models/CallRecords/CallRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class CallRecord : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class CallRecord : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// UTC time when the last user left the call. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z public DateTimeOffset? EndDateTime { get; set; } @@ -75,16 +78,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"joinWebUrl", n => { JoinWebUrl = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"modalities", n => { Modalities = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"organizer", n => { Organizer = n.GetObjectValue(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue); } }, - {"participants", n => { Participants = n.GetCollectionOfObjectValues(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sessions", n => { Sessions = n.GetCollectionOfObjectValues(Session.CreateFromDiscriminatorValue)?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, - {"version", n => { Version = n.GetLongValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "joinWebUrl", n => { JoinWebUrl = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "modalities", n => { Modalities = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "organizer", n => { Organizer = n.GetObjectValue(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "participants", n => { Participants = n.GetCollectionOfObjectValues(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sessions", n => { Sessions = n.GetCollectionOfObjectValues(Session.CreateFromDiscriminatorValue)?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetLongValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/CallRecordCollectionResponse.cs b/src/generated/Models/CallRecords/CallRecordCollectionResponse.cs index 76c479514f..98a36a6d65 100644 --- a/src/generated/Models/CallRecords/CallRecordCollectionResponse.cs +++ b/src/generated/Models/CallRecords/CallRecordCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class CallRecordCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class CallRecordCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CallRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CallRecord.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/CallType.cs b/src/generated/Models/CallRecords/CallType.cs index d706c5122d..19d16027ac 100644 --- a/src/generated/Models/CallRecords/CallType.cs +++ b/src/generated/Models/CallRecords/CallType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum CallType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "groupCall")] + #pragma warning disable CS1591 GroupCall, + #pragma warning restore CS1591 [EnumMember(Value = "peerToPeer")] + #pragma warning disable CS1591 PeerToPeer, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/ClientPlatform.cs b/src/generated/Models/CallRecords/ClientPlatform.cs index c5731a19d0..82b6d2af37 100644 --- a/src/generated/Models/CallRecords/ClientPlatform.cs +++ b/src/generated/Models/CallRecords/ClientPlatform.cs @@ -1,30 +1,55 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum ClientPlatform + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "windows")] + #pragma warning disable CS1591 Windows, + #pragma warning restore CS1591 [EnumMember(Value = "macOS")] + #pragma warning disable CS1591 MacOS, + #pragma warning restore CS1591 [EnumMember(Value = "iOS")] + #pragma warning disable CS1591 IOS, + #pragma warning restore CS1591 [EnumMember(Value = "android")] + #pragma warning disable CS1591 Android, + #pragma warning restore CS1591 [EnumMember(Value = "web")] + #pragma warning disable CS1591 Web, + #pragma warning restore CS1591 [EnumMember(Value = "ipPhone")] + #pragma warning disable CS1591 IpPhone, + #pragma warning restore CS1591 [EnumMember(Value = "roomSystem")] + #pragma warning disable CS1591 RoomSystem, + #pragma warning restore CS1591 [EnumMember(Value = "surfaceHub")] + #pragma warning disable CS1591 SurfaceHub, + #pragma warning restore CS1591 [EnumMember(Value = "holoLens")] + #pragma warning disable CS1591 HoloLens, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/ClientUserAgent.cs b/src/generated/Models/CallRecords/ClientUserAgent.cs index c7216c8ea9..b8894d0a36 100644 --- a/src/generated/Models/CallRecords/ClientUserAgent.cs +++ b/src/generated/Models/CallRecords/ClientUserAgent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class ClientUserAgent : UserAgent, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class ClientUserAgent : UserAgent, IParsable + #pragma warning restore CS1591 { /// The unique identifier of the Microsoft Entra application used by this endpoint. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,10 +55,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"azureADAppId", n => { AzureADAppId = n.GetStringValue(); } }, - {"communicationServiceId", n => { CommunicationServiceId = n.GetStringValue(); } }, - {"platform", n => { Platform = n.GetEnumValue(); } }, - {"productFamily", n => { ProductFamily = n.GetEnumValue(); } }, + { "azureADAppId", n => { AzureADAppId = n.GetStringValue(); } }, + { "communicationServiceId", n => { CommunicationServiceId = n.GetStringValue(); } }, + { "platform", n => { Platform = n.GetEnumValue(); } }, + { "productFamily", n => { ProductFamily = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/DeviceInfo.cs b/src/generated/Models/CallRecords/DeviceInfo.cs index 706aeb3f28..b4b1280529 100644 --- a/src/generated/Models/CallRecords/DeviceInfo.cs +++ b/src/generated/Models/CallRecords/DeviceInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class DeviceInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class DeviceInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -108,28 +111,28 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"captureDeviceDriver", n => { CaptureDeviceDriver = n.GetStringValue(); } }, - {"captureDeviceName", n => { CaptureDeviceName = n.GetStringValue(); } }, - {"captureNotFunctioningEventRatio", n => { CaptureNotFunctioningEventRatio = n.GetFloatValue(); } }, - {"cpuInsufficentEventRatio", n => { CpuInsufficentEventRatio = n.GetFloatValue(); } }, - {"deviceClippingEventRatio", n => { DeviceClippingEventRatio = n.GetFloatValue(); } }, - {"deviceGlitchEventRatio", n => { DeviceGlitchEventRatio = n.GetFloatValue(); } }, - {"howlingEventCount", n => { HowlingEventCount = n.GetIntValue(); } }, - {"initialSignalLevelRootMeanSquare", n => { InitialSignalLevelRootMeanSquare = n.GetFloatValue(); } }, - {"lowSpeechLevelEventRatio", n => { LowSpeechLevelEventRatio = n.GetFloatValue(); } }, - {"lowSpeechToNoiseEventRatio", n => { LowSpeechToNoiseEventRatio = n.GetFloatValue(); } }, - {"micGlitchRate", n => { MicGlitchRate = n.GetFloatValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"receivedNoiseLevel", n => { ReceivedNoiseLevel = n.GetIntValue(); } }, - {"receivedSignalLevel", n => { ReceivedSignalLevel = n.GetIntValue(); } }, - {"renderDeviceDriver", n => { RenderDeviceDriver = n.GetStringValue(); } }, - {"renderDeviceName", n => { RenderDeviceName = n.GetStringValue(); } }, - {"renderMuteEventRatio", n => { RenderMuteEventRatio = n.GetFloatValue(); } }, - {"renderNotFunctioningEventRatio", n => { RenderNotFunctioningEventRatio = n.GetFloatValue(); } }, - {"renderZeroVolumeEventRatio", n => { RenderZeroVolumeEventRatio = n.GetFloatValue(); } }, - {"sentNoiseLevel", n => { SentNoiseLevel = n.GetIntValue(); } }, - {"sentSignalLevel", n => { SentSignalLevel = n.GetIntValue(); } }, - {"speakerGlitchRate", n => { SpeakerGlitchRate = n.GetFloatValue(); } }, + { "captureDeviceDriver", n => { CaptureDeviceDriver = n.GetStringValue(); } }, + { "captureDeviceName", n => { CaptureDeviceName = n.GetStringValue(); } }, + { "captureNotFunctioningEventRatio", n => { CaptureNotFunctioningEventRatio = n.GetFloatValue(); } }, + { "cpuInsufficentEventRatio", n => { CpuInsufficentEventRatio = n.GetFloatValue(); } }, + { "deviceClippingEventRatio", n => { DeviceClippingEventRatio = n.GetFloatValue(); } }, + { "deviceGlitchEventRatio", n => { DeviceGlitchEventRatio = n.GetFloatValue(); } }, + { "howlingEventCount", n => { HowlingEventCount = n.GetIntValue(); } }, + { "initialSignalLevelRootMeanSquare", n => { InitialSignalLevelRootMeanSquare = n.GetFloatValue(); } }, + { "lowSpeechLevelEventRatio", n => { LowSpeechLevelEventRatio = n.GetFloatValue(); } }, + { "lowSpeechToNoiseEventRatio", n => { LowSpeechToNoiseEventRatio = n.GetFloatValue(); } }, + { "micGlitchRate", n => { MicGlitchRate = n.GetFloatValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "receivedNoiseLevel", n => { ReceivedNoiseLevel = n.GetIntValue(); } }, + { "receivedSignalLevel", n => { ReceivedSignalLevel = n.GetIntValue(); } }, + { "renderDeviceDriver", n => { RenderDeviceDriver = n.GetStringValue(); } }, + { "renderDeviceName", n => { RenderDeviceName = n.GetStringValue(); } }, + { "renderMuteEventRatio", n => { RenderMuteEventRatio = n.GetFloatValue(); } }, + { "renderNotFunctioningEventRatio", n => { RenderNotFunctioningEventRatio = n.GetFloatValue(); } }, + { "renderZeroVolumeEventRatio", n => { RenderZeroVolumeEventRatio = n.GetFloatValue(); } }, + { "sentNoiseLevel", n => { SentNoiseLevel = n.GetIntValue(); } }, + { "sentSignalLevel", n => { SentSignalLevel = n.GetIntValue(); } }, + { "speakerGlitchRate", n => { SpeakerGlitchRate = n.GetFloatValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/DirectRoutingLogRow.cs b/src/generated/Models/CallRecords/DirectRoutingLogRow.cs index 1325d77877..d16b1b6345 100644 --- a/src/generated/Models/CallRecords/DirectRoutingLogRow.cs +++ b/src/generated/Models/CallRecords/DirectRoutingLogRow.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class DirectRoutingLogRow : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class DirectRoutingLogRow : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -156,28 +159,28 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"callEndSubReason", n => { CallEndSubReason = n.GetIntValue(); } }, - {"callType", n => { CallType = n.GetStringValue(); } }, - {"calleeNumber", n => { CalleeNumber = n.GetStringValue(); } }, - {"callerNumber", n => { CallerNumber = n.GetStringValue(); } }, - {"correlationId", n => { CorrelationId = n.GetStringValue(); } }, - {"duration", n => { Duration = n.GetIntValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"failureDateTime", n => { FailureDateTime = n.GetDateTimeOffsetValue(); } }, - {"finalSipCode", n => { FinalSipCode = n.GetIntValue(); } }, - {"finalSipCodePhrase", n => { FinalSipCodePhrase = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"inviteDateTime", n => { InviteDateTime = n.GetDateTimeOffsetValue(); } }, - {"mediaBypassEnabled", n => { MediaBypassEnabled = n.GetBoolValue(); } }, - {"mediaPathLocation", n => { MediaPathLocation = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"signalingLocation", n => { SignalingLocation = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"successfulCall", n => { SuccessfulCall = n.GetBoolValue(); } }, - {"trunkFullyQualifiedDomainName", n => { TrunkFullyQualifiedDomainName = n.GetStringValue(); } }, - {"userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "callEndSubReason", n => { CallEndSubReason = n.GetIntValue(); } }, + { "callType", n => { CallType = n.GetStringValue(); } }, + { "calleeNumber", n => { CalleeNumber = n.GetStringValue(); } }, + { "callerNumber", n => { CallerNumber = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "duration", n => { Duration = n.GetIntValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "failureDateTime", n => { FailureDateTime = n.GetDateTimeOffsetValue(); } }, + { "finalSipCode", n => { FinalSipCode = n.GetIntValue(); } }, + { "finalSipCodePhrase", n => { FinalSipCodePhrase = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "inviteDateTime", n => { InviteDateTime = n.GetDateTimeOffsetValue(); } }, + { "mediaBypassEnabled", n => { MediaBypassEnabled = n.GetBoolValue(); } }, + { "mediaPathLocation", n => { MediaPathLocation = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "signalingLocation", n => { SignalingLocation = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "successfulCall", n => { SuccessfulCall = n.GetBoolValue(); } }, + { "trunkFullyQualifiedDomainName", n => { TrunkFullyQualifiedDomainName = n.GetStringValue(); } }, + { "userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/Endpoint.cs b/src/generated/Models/CallRecords/Endpoint.cs index 14c669b001..d96a83d96c 100644 --- a/src/generated/Models/CallRecords/Endpoint.cs +++ b/src/generated/Models/CallRecords/Endpoint.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class Endpoint : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class Endpoint : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -56,8 +59,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"userAgent", n => { UserAgent = n.GetObjectValue(ApiSdk.Models.CallRecords.UserAgent.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "userAgent", n => { UserAgent = n.GetObjectValue(ApiSdk.Models.CallRecords.UserAgent.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallRecords/FailureInfo.cs b/src/generated/Models/CallRecords/FailureInfo.cs index 63cdd63f51..c1c888a44d 100644 --- a/src/generated/Models/CallRecords/FailureInfo.cs +++ b/src/generated/Models/CallRecords/FailureInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class FailureInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class FailureInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"reason", n => { Reason = n.GetStringValue(); } }, - {"stage", n => { Stage = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "stage", n => { Stage = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/FailureStage.cs b/src/generated/Models/CallRecords/FailureStage.cs index da22d4e29c..9d6abeef0e 100644 --- a/src/generated/Models/CallRecords/FailureStage.cs +++ b/src/generated/Models/CallRecords/FailureStage.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum FailureStage + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "callSetup")] + #pragma warning disable CS1591 CallSetup, + #pragma warning restore CS1591 [EnumMember(Value = "midcall")] + #pragma warning disable CS1591 Midcall, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/FeedbackTokenSet.cs b/src/generated/Models/CallRecords/FeedbackTokenSet.cs index aa7f54a7de..95a721d1c7 100644 --- a/src/generated/Models/CallRecords/FeedbackTokenSet.cs +++ b/src/generated/Models/CallRecords/FeedbackTokenSet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class FeedbackTokenSet : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class FeedbackTokenSet : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/Media.cs b/src/generated/Models/CallRecords/Media.cs index fd2ddec27d..c9504ff001 100644 --- a/src/generated/Models/CallRecords/Media.cs +++ b/src/generated/Models/CallRecords/Media.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class Media : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class Media : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -90,13 +93,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"calleeDevice", n => { CalleeDevice = n.GetObjectValue(DeviceInfo.CreateFromDiscriminatorValue); } }, - {"calleeNetwork", n => { CalleeNetwork = n.GetObjectValue(NetworkInfo.CreateFromDiscriminatorValue); } }, - {"callerDevice", n => { CallerDevice = n.GetObjectValue(DeviceInfo.CreateFromDiscriminatorValue); } }, - {"callerNetwork", n => { CallerNetwork = n.GetObjectValue(NetworkInfo.CreateFromDiscriminatorValue); } }, - {"label", n => { Label = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"streams", n => { Streams = n.GetCollectionOfObjectValues(MediaStream.CreateFromDiscriminatorValue)?.ToList(); } }, + { "calleeDevice", n => { CalleeDevice = n.GetObjectValue(DeviceInfo.CreateFromDiscriminatorValue); } }, + { "calleeNetwork", n => { CalleeNetwork = n.GetObjectValue(NetworkInfo.CreateFromDiscriminatorValue); } }, + { "callerDevice", n => { CallerDevice = n.GetObjectValue(DeviceInfo.CreateFromDiscriminatorValue); } }, + { "callerNetwork", n => { CallerNetwork = n.GetObjectValue(NetworkInfo.CreateFromDiscriminatorValue); } }, + { "label", n => { Label = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "streams", n => { Streams = n.GetCollectionOfObjectValues(MediaStream.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/MediaStream.cs b/src/generated/Models/CallRecords/MediaStream.cs index 9fb4565792..5f51facc7d 100644 --- a/src/generated/Models/CallRecords/MediaStream.cs +++ b/src/generated/Models/CallRecords/MediaStream.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class MediaStream : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class MediaStream : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -13,13 +16,13 @@ public class MediaStream : IAdditionalDataHolder, IParsable public ApiSdk.Models.CallRecords.AudioCodec? AudioCodec { get; set; } /// Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. public float? AverageAudioDegradation { get; set; } - /// Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? AverageAudioNetworkJitter { get; set; } /// Average estimated bandwidth available between two endpoints in bits per second. public long? AverageBandwidthEstimate { get; set; } /// Average duration of the received freezing time in the video stream. public TimeSpan? AverageFreezeDuration { get; set; } - /// Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? AverageJitter { get; set; } /// Average packet loss rate for stream. public float? AveragePacketLossRate { get; set; } @@ -27,13 +30,13 @@ public class MediaStream : IAdditionalDataHolder, IParsable public float? AverageRatioOfConcealedSamples { get; set; } /// Average frames per second received for all video streams computed over the duration of the session. public float? AverageReceivedFrameRate { get; set; } - /// Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? AverageRoundTripTime { get; set; } /// Average percentage of video frames lost as displayed to the user. public float? AverageVideoFrameLossPercentage { get; set; } /// Average frames per second received for a video stream, computed over the duration of the session. public float? AverageVideoFrameRate { get; set; } - /// Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + /// Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. public float? AverageVideoPacketLossRate { get; set; } /// UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. public DateTimeOffset? EndDateTime { get; set; } @@ -43,15 +46,15 @@ public class MediaStream : IAdditionalDataHolder, IParsable public float? LowFrameRateRatio { get; set; } /// Fraction of the call that the client is running less than 70% expected video processing capability. public float? LowVideoProcessingCapabilityRatio { get; set; } - /// Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? MaxAudioNetworkJitter { get; set; } - /// Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? MaxJitter { get; set; } /// Maximum packet loss rate for the stream. public float? MaxPacketLossRate { get; set; } /// Maximum ratio of packets concealed by the healer. public float? MaxRatioOfConcealedSamples { get; set; } - /// Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + /// Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. public TimeSpan? MaxRoundTripTime { get; set; } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -108,37 +111,37 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"audioCodec", n => { AudioCodec = n.GetEnumValue(); } }, - {"averageAudioDegradation", n => { AverageAudioDegradation = n.GetFloatValue(); } }, - {"averageAudioNetworkJitter", n => { AverageAudioNetworkJitter = n.GetTimeSpanValue(); } }, - {"averageBandwidthEstimate", n => { AverageBandwidthEstimate = n.GetLongValue(); } }, - {"averageFreezeDuration", n => { AverageFreezeDuration = n.GetTimeSpanValue(); } }, - {"averageJitter", n => { AverageJitter = n.GetTimeSpanValue(); } }, - {"averagePacketLossRate", n => { AveragePacketLossRate = n.GetFloatValue(); } }, - {"averageRatioOfConcealedSamples", n => { AverageRatioOfConcealedSamples = n.GetFloatValue(); } }, - {"averageReceivedFrameRate", n => { AverageReceivedFrameRate = n.GetFloatValue(); } }, - {"averageRoundTripTime", n => { AverageRoundTripTime = n.GetTimeSpanValue(); } }, - {"averageVideoFrameLossPercentage", n => { AverageVideoFrameLossPercentage = n.GetFloatValue(); } }, - {"averageVideoFrameRate", n => { AverageVideoFrameRate = n.GetFloatValue(); } }, - {"averageVideoPacketLossRate", n => { AverageVideoPacketLossRate = n.GetFloatValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"isAudioForwardErrorCorrectionUsed", n => { IsAudioForwardErrorCorrectionUsed = n.GetBoolValue(); } }, - {"lowFrameRateRatio", n => { LowFrameRateRatio = n.GetFloatValue(); } }, - {"lowVideoProcessingCapabilityRatio", n => { LowVideoProcessingCapabilityRatio = n.GetFloatValue(); } }, - {"maxAudioNetworkJitter", n => { MaxAudioNetworkJitter = n.GetTimeSpanValue(); } }, - {"maxJitter", n => { MaxJitter = n.GetTimeSpanValue(); } }, - {"maxPacketLossRate", n => { MaxPacketLossRate = n.GetFloatValue(); } }, - {"maxRatioOfConcealedSamples", n => { MaxRatioOfConcealedSamples = n.GetFloatValue(); } }, - {"maxRoundTripTime", n => { MaxRoundTripTime = n.GetTimeSpanValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"packetUtilization", n => { PacketUtilization = n.GetLongValue(); } }, - {"postForwardErrorCorrectionPacketLossRate", n => { PostForwardErrorCorrectionPacketLossRate = n.GetFloatValue(); } }, - {"rmsFreezeDuration", n => { RmsFreezeDuration = n.GetTimeSpanValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"streamDirection", n => { StreamDirection = n.GetEnumValue(); } }, - {"streamId", n => { StreamId = n.GetStringValue(); } }, - {"videoCodec", n => { VideoCodec = n.GetEnumValue(); } }, - {"wasMediaBypassed", n => { WasMediaBypassed = n.GetBoolValue(); } }, + { "audioCodec", n => { AudioCodec = n.GetEnumValue(); } }, + { "averageAudioDegradation", n => { AverageAudioDegradation = n.GetFloatValue(); } }, + { "averageAudioNetworkJitter", n => { AverageAudioNetworkJitter = n.GetTimeSpanValue(); } }, + { "averageBandwidthEstimate", n => { AverageBandwidthEstimate = n.GetLongValue(); } }, + { "averageFreezeDuration", n => { AverageFreezeDuration = n.GetTimeSpanValue(); } }, + { "averageJitter", n => { AverageJitter = n.GetTimeSpanValue(); } }, + { "averagePacketLossRate", n => { AveragePacketLossRate = n.GetFloatValue(); } }, + { "averageRatioOfConcealedSamples", n => { AverageRatioOfConcealedSamples = n.GetFloatValue(); } }, + { "averageReceivedFrameRate", n => { AverageReceivedFrameRate = n.GetFloatValue(); } }, + { "averageRoundTripTime", n => { AverageRoundTripTime = n.GetTimeSpanValue(); } }, + { "averageVideoFrameLossPercentage", n => { AverageVideoFrameLossPercentage = n.GetFloatValue(); } }, + { "averageVideoFrameRate", n => { AverageVideoFrameRate = n.GetFloatValue(); } }, + { "averageVideoPacketLossRate", n => { AverageVideoPacketLossRate = n.GetFloatValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "isAudioForwardErrorCorrectionUsed", n => { IsAudioForwardErrorCorrectionUsed = n.GetBoolValue(); } }, + { "lowFrameRateRatio", n => { LowFrameRateRatio = n.GetFloatValue(); } }, + { "lowVideoProcessingCapabilityRatio", n => { LowVideoProcessingCapabilityRatio = n.GetFloatValue(); } }, + { "maxAudioNetworkJitter", n => { MaxAudioNetworkJitter = n.GetTimeSpanValue(); } }, + { "maxJitter", n => { MaxJitter = n.GetTimeSpanValue(); } }, + { "maxPacketLossRate", n => { MaxPacketLossRate = n.GetFloatValue(); } }, + { "maxRatioOfConcealedSamples", n => { MaxRatioOfConcealedSamples = n.GetFloatValue(); } }, + { "maxRoundTripTime", n => { MaxRoundTripTime = n.GetTimeSpanValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "packetUtilization", n => { PacketUtilization = n.GetLongValue(); } }, + { "postForwardErrorCorrectionPacketLossRate", n => { PostForwardErrorCorrectionPacketLossRate = n.GetFloatValue(); } }, + { "rmsFreezeDuration", n => { RmsFreezeDuration = n.GetTimeSpanValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "streamDirection", n => { StreamDirection = n.GetEnumValue(); } }, + { "streamId", n => { StreamId = n.GetStringValue(); } }, + { "videoCodec", n => { VideoCodec = n.GetEnumValue(); } }, + { "wasMediaBypassed", n => { WasMediaBypassed = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/MediaStreamDirection.cs b/src/generated/Models/CallRecords/MediaStreamDirection.cs index 329f77e8c1..48cee1455c 100644 --- a/src/generated/Models/CallRecords/MediaStreamDirection.cs +++ b/src/generated/Models/CallRecords/MediaStreamDirection.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum MediaStreamDirection + #pragma warning restore CS1591 { [EnumMember(Value = "callerToCallee")] + #pragma warning disable CS1591 CallerToCallee, + #pragma warning restore CS1591 [EnumMember(Value = "calleeToCaller")] + #pragma warning disable CS1591 CalleeToCaller, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/Modality.cs b/src/generated/Models/CallRecords/Modality.cs index 87f2112ffd..72809a4de8 100644 --- a/src/generated/Models/CallRecords/Modality.cs +++ b/src/generated/Models/CallRecords/Modality.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum Modality + #pragma warning restore CS1591 { [EnumMember(Value = "audio")] + #pragma warning disable CS1591 Audio, + #pragma warning restore CS1591 [EnumMember(Value = "video")] + #pragma warning disable CS1591 Video, + #pragma warning restore CS1591 [EnumMember(Value = "videoBasedScreenSharing")] + #pragma warning disable CS1591 VideoBasedScreenSharing, + #pragma warning restore CS1591 [EnumMember(Value = "data")] + #pragma warning disable CS1591 Data, + #pragma warning restore CS1591 [EnumMember(Value = "screenSharing")] + #pragma warning disable CS1591 ScreenSharing, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/NetworkConnectionType.cs b/src/generated/Models/CallRecords/NetworkConnectionType.cs index 6203c256cc..f741b9d49c 100644 --- a/src/generated/Models/CallRecords/NetworkConnectionType.cs +++ b/src/generated/Models/CallRecords/NetworkConnectionType.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum NetworkConnectionType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "wired")] + #pragma warning disable CS1591 Wired, + #pragma warning restore CS1591 [EnumMember(Value = "wifi")] + #pragma warning disable CS1591 Wifi, + #pragma warning restore CS1591 [EnumMember(Value = "mobile")] + #pragma warning disable CS1591 Mobile, + #pragma warning restore CS1591 [EnumMember(Value = "tunnel")] + #pragma warning disable CS1591 Tunnel, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/NetworkInfo.cs b/src/generated/Models/CallRecords/NetworkInfo.cs index 3f2e2e6b0a..71a5f1ea98 100644 --- a/src/generated/Models/CallRecords/NetworkInfo.cs +++ b/src/generated/Models/CallRecords/NetworkInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class NetworkInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class NetworkInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -166,33 +169,33 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"bandwidthLowEventRatio", n => { BandwidthLowEventRatio = n.GetFloatValue(); } }, - {"basicServiceSetIdentifier", n => { BasicServiceSetIdentifier = n.GetStringValue(); } }, - {"connectionType", n => { ConnectionType = n.GetEnumValue(); } }, - {"delayEventRatio", n => { DelayEventRatio = n.GetFloatValue(); } }, - {"dnsSuffix", n => { DnsSuffix = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"linkSpeed", n => { LinkSpeed = n.GetLongValue(); } }, - {"macAddress", n => { MacAddress = n.GetStringValue(); } }, - {"networkTransportProtocol", n => { NetworkTransportProtocol = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"port", n => { Port = n.GetIntValue(); } }, - {"receivedQualityEventRatio", n => { ReceivedQualityEventRatio = n.GetFloatValue(); } }, - {"reflexiveIPAddress", n => { ReflexiveIPAddress = n.GetStringValue(); } }, - {"relayIPAddress", n => { RelayIPAddress = n.GetStringValue(); } }, - {"relayPort", n => { RelayPort = n.GetIntValue(); } }, - {"sentQualityEventRatio", n => { SentQualityEventRatio = n.GetFloatValue(); } }, - {"subnet", n => { Subnet = n.GetStringValue(); } }, - {"traceRouteHops", n => { TraceRouteHops = n.GetCollectionOfObjectValues(TraceRouteHop.CreateFromDiscriminatorValue)?.ToList(); } }, - {"wifiBand", n => { WifiBand = n.GetEnumValue(); } }, - {"wifiBatteryCharge", n => { WifiBatteryCharge = n.GetIntValue(); } }, - {"wifiChannel", n => { WifiChannel = n.GetIntValue(); } }, - {"wifiMicrosoftDriver", n => { WifiMicrosoftDriver = n.GetStringValue(); } }, - {"wifiMicrosoftDriverVersion", n => { WifiMicrosoftDriverVersion = n.GetStringValue(); } }, - {"wifiRadioType", n => { WifiRadioType = n.GetEnumValue(); } }, - {"wifiSignalStrength", n => { WifiSignalStrength = n.GetIntValue(); } }, - {"wifiVendorDriver", n => { WifiVendorDriver = n.GetStringValue(); } }, - {"wifiVendorDriverVersion", n => { WifiVendorDriverVersion = n.GetStringValue(); } }, + { "bandwidthLowEventRatio", n => { BandwidthLowEventRatio = n.GetFloatValue(); } }, + { "basicServiceSetIdentifier", n => { BasicServiceSetIdentifier = n.GetStringValue(); } }, + { "connectionType", n => { ConnectionType = n.GetEnumValue(); } }, + { "delayEventRatio", n => { DelayEventRatio = n.GetFloatValue(); } }, + { "dnsSuffix", n => { DnsSuffix = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "linkSpeed", n => { LinkSpeed = n.GetLongValue(); } }, + { "macAddress", n => { MacAddress = n.GetStringValue(); } }, + { "networkTransportProtocol", n => { NetworkTransportProtocol = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "port", n => { Port = n.GetIntValue(); } }, + { "receivedQualityEventRatio", n => { ReceivedQualityEventRatio = n.GetFloatValue(); } }, + { "reflexiveIPAddress", n => { ReflexiveIPAddress = n.GetStringValue(); } }, + { "relayIPAddress", n => { RelayIPAddress = n.GetStringValue(); } }, + { "relayPort", n => { RelayPort = n.GetIntValue(); } }, + { "sentQualityEventRatio", n => { SentQualityEventRatio = n.GetFloatValue(); } }, + { "subnet", n => { Subnet = n.GetStringValue(); } }, + { "traceRouteHops", n => { TraceRouteHops = n.GetCollectionOfObjectValues(TraceRouteHop.CreateFromDiscriminatorValue)?.ToList(); } }, + { "wifiBand", n => { WifiBand = n.GetEnumValue(); } }, + { "wifiBatteryCharge", n => { WifiBatteryCharge = n.GetIntValue(); } }, + { "wifiChannel", n => { WifiChannel = n.GetIntValue(); } }, + { "wifiMicrosoftDriver", n => { WifiMicrosoftDriver = n.GetStringValue(); } }, + { "wifiMicrosoftDriverVersion", n => { WifiMicrosoftDriverVersion = n.GetStringValue(); } }, + { "wifiRadioType", n => { WifiRadioType = n.GetEnumValue(); } }, + { "wifiSignalStrength", n => { WifiSignalStrength = n.GetIntValue(); } }, + { "wifiVendorDriver", n => { WifiVendorDriver = n.GetStringValue(); } }, + { "wifiVendorDriverVersion", n => { WifiVendorDriverVersion = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/NetworkTransportProtocol.cs b/src/generated/Models/CallRecords/NetworkTransportProtocol.cs index 3d5080c177..e651654157 100644 --- a/src/generated/Models/CallRecords/NetworkTransportProtocol.cs +++ b/src/generated/Models/CallRecords/NetworkTransportProtocol.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum NetworkTransportProtocol + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "udp")] + #pragma warning disable CS1591 Udp, + #pragma warning restore CS1591 [EnumMember(Value = "tcp")] + #pragma warning disable CS1591 Tcp, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/ParticipantEndpoint.cs b/src/generated/Models/CallRecords/ParticipantEndpoint.cs index 94ddbe446c..ba1dd9b4c9 100644 --- a/src/generated/Models/CallRecords/ParticipantEndpoint.cs +++ b/src/generated/Models/CallRecords/ParticipantEndpoint.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class ParticipantEndpoint : Endpoint, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class ParticipantEndpoint : Endpoint, IParsable + #pragma warning restore CS1591 { /// CPU number of cores used by the media endpoint. public int? CpuCoresCount { get; set; } @@ -68,12 +71,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"cpuCoresCount", n => { CpuCoresCount = n.GetIntValue(); } }, - {"cpuName", n => { CpuName = n.GetStringValue(); } }, - {"cpuProcessorSpeedInMhz", n => { CpuProcessorSpeedInMhz = n.GetIntValue(); } }, - {"feedback", n => { Feedback = n.GetObjectValue(UserFeedback.CreateFromDiscriminatorValue); } }, - {"identity", n => { Identity = n.GetObjectValue(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "cpuCoresCount", n => { CpuCoresCount = n.GetIntValue(); } }, + { "cpuName", n => { CpuName = n.GetStringValue(); } }, + { "cpuProcessorSpeedInMhz", n => { CpuProcessorSpeedInMhz = n.GetIntValue(); } }, + { "feedback", n => { Feedback = n.GetObjectValue(UserFeedback.CreateFromDiscriminatorValue); } }, + { "identity", n => { Identity = n.GetObjectValue(ApiSdk.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/ProductFamily.cs b/src/generated/Models/CallRecords/ProductFamily.cs index c9f356aeb8..1f1e93304d 100644 --- a/src/generated/Models/CallRecords/ProductFamily.cs +++ b/src/generated/Models/CallRecords/ProductFamily.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum ProductFamily + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "teams")] + #pragma warning disable CS1591 Teams, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusiness")] + #pragma warning disable CS1591 SkypeForBusiness, + #pragma warning restore CS1591 [EnumMember(Value = "lync")] + #pragma warning disable CS1591 Lync, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "azureCommunicationServices")] + #pragma warning disable CS1591 AzureCommunicationServices, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/PstnCallDurationSource.cs b/src/generated/Models/CallRecords/PstnCallDurationSource.cs index 17c839b125..6b1b778041 100644 --- a/src/generated/Models/CallRecords/PstnCallDurationSource.cs +++ b/src/generated/Models/CallRecords/PstnCallDurationSource.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum PstnCallDurationSource + #pragma warning restore CS1591 { [EnumMember(Value = "microsoft")] + #pragma warning disable CS1591 Microsoft, + #pragma warning restore CS1591 [EnumMember(Value = "operator")] + #pragma warning disable CS1591 Operator, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/PstnCallLogRow.cs b/src/generated/Models/CallRecords/PstnCallLogRow.cs index 16f2b12507..788df9dd61 100644 --- a/src/generated/Models/CallRecords/PstnCallLogRow.cs +++ b/src/generated/Models/CallRecords/PstnCallLogRow.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class PstnCallLogRow : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class PstnCallLogRow : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -190,30 +193,30 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"callDurationSource", n => { CallDurationSource = n.GetEnumValue(); } }, - {"callId", n => { CallId = n.GetStringValue(); } }, - {"callType", n => { CallType = n.GetStringValue(); } }, - {"calleeNumber", n => { CalleeNumber = n.GetStringValue(); } }, - {"callerNumber", n => { CallerNumber = n.GetStringValue(); } }, - {"charge", n => { Charge = n.GetDecimalValue(); } }, - {"conferenceId", n => { ConferenceId = n.GetStringValue(); } }, - {"connectionCharge", n => { ConnectionCharge = n.GetDecimalValue(); } }, - {"currency", n => { Currency = n.GetStringValue(); } }, - {"destinationContext", n => { DestinationContext = n.GetStringValue(); } }, - {"destinationName", n => { DestinationName = n.GetStringValue(); } }, - {"duration", n => { Duration = n.GetIntValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"inventoryType", n => { InventoryType = n.GetStringValue(); } }, - {"licenseCapability", n => { LicenseCapability = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"operator", n => { Operator = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"tenantCountryCode", n => { TenantCountryCode = n.GetStringValue(); } }, - {"usageCountryCode", n => { UsageCountryCode = n.GetStringValue(); } }, - {"userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "callDurationSource", n => { CallDurationSource = n.GetEnumValue(); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "callType", n => { CallType = n.GetStringValue(); } }, + { "calleeNumber", n => { CalleeNumber = n.GetStringValue(); } }, + { "callerNumber", n => { CallerNumber = n.GetStringValue(); } }, + { "charge", n => { Charge = n.GetDecimalValue(); } }, + { "conferenceId", n => { ConferenceId = n.GetStringValue(); } }, + { "connectionCharge", n => { ConnectionCharge = n.GetDecimalValue(); } }, + { "currency", n => { Currency = n.GetStringValue(); } }, + { "destinationContext", n => { DestinationContext = n.GetStringValue(); } }, + { "destinationName", n => { DestinationName = n.GetStringValue(); } }, + { "duration", n => { Duration = n.GetIntValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "inventoryType", n => { InventoryType = n.GetStringValue(); } }, + { "licenseCapability", n => { LicenseCapability = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operator", n => { Operator = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "tenantCountryCode", n => { TenantCountryCode = n.GetStringValue(); } }, + { "usageCountryCode", n => { UsageCountryCode = n.GetStringValue(); } }, + { "userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/Segment.cs b/src/generated/Models/CallRecords/Segment.cs index be97116d38..7a6b6ac91d 100644 --- a/src/generated/Models/CallRecords/Segment.cs +++ b/src/generated/Models/CallRecords/Segment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class Segment : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class Segment : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Endpoint that answered this segment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -61,12 +64,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callee", n => { Callee = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, - {"caller", n => { Caller = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"failureInfo", n => { FailureInfo = n.GetObjectValue(ApiSdk.Models.CallRecords.FailureInfo.CreateFromDiscriminatorValue); } }, - {"media", n => { Media = n.GetCollectionOfObjectValues(ApiSdk.Models.CallRecords.Media.CreateFromDiscriminatorValue)?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "callee", n => { Callee = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, + { "caller", n => { Caller = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "failureInfo", n => { FailureInfo = n.GetObjectValue(ApiSdk.Models.CallRecords.FailureInfo.CreateFromDiscriminatorValue); } }, + { "media", n => { Media = n.GetCollectionOfObjectValues(ApiSdk.Models.CallRecords.Media.CreateFromDiscriminatorValue)?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/SegmentCollectionResponse.cs b/src/generated/Models/CallRecords/SegmentCollectionResponse.cs index b910b054de..3edc350bda 100644 --- a/src/generated/Models/CallRecords/SegmentCollectionResponse.cs +++ b/src/generated/Models/CallRecords/SegmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class SegmentCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class SegmentCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Segment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Segment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/ServiceEndpoint.cs b/src/generated/Models/CallRecords/ServiceEndpoint.cs index e54850ecf3..2989afa8f5 100644 --- a/src/generated/Models/CallRecords/ServiceEndpoint.cs +++ b/src/generated/Models/CallRecords/ServiceEndpoint.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class ServiceEndpoint : Endpoint, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class ServiceEndpoint : Endpoint, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/CallRecords/ServiceRole.cs b/src/generated/Models/CallRecords/ServiceRole.cs index 59f0237972..0220ae4949 100644 --- a/src/generated/Models/CallRecords/ServiceRole.cs +++ b/src/generated/Models/CallRecords/ServiceRole.cs @@ -1,52 +1,99 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum ServiceRole + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "customBot")] + #pragma warning disable CS1591 CustomBot, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessMicrosoftTeamsGateway")] + #pragma warning disable CS1591 SkypeForBusinessMicrosoftTeamsGateway, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessAudioVideoMcu")] + #pragma warning disable CS1591 SkypeForBusinessAudioVideoMcu, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessApplicationSharingMcu")] + #pragma warning disable CS1591 SkypeForBusinessApplicationSharingMcu, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessCallQueues")] + #pragma warning disable CS1591 SkypeForBusinessCallQueues, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessAutoAttendant")] + #pragma warning disable CS1591 SkypeForBusinessAutoAttendant, + #pragma warning restore CS1591 [EnumMember(Value = "mediationServer")] + #pragma warning disable CS1591 MediationServer, + #pragma warning restore CS1591 [EnumMember(Value = "mediationServerCloudConnectorEdition")] + #pragma warning disable CS1591 MediationServerCloudConnectorEdition, + #pragma warning restore CS1591 [EnumMember(Value = "exchangeUnifiedMessagingService")] + #pragma warning disable CS1591 ExchangeUnifiedMessagingService, + #pragma warning restore CS1591 [EnumMember(Value = "mediaController")] + #pragma warning disable CS1591 MediaController, + #pragma warning restore CS1591 [EnumMember(Value = "conferencingAnnouncementService")] + #pragma warning disable CS1591 ConferencingAnnouncementService, + #pragma warning restore CS1591 [EnumMember(Value = "conferencingAttendant")] + #pragma warning disable CS1591 ConferencingAttendant, + #pragma warning restore CS1591 [EnumMember(Value = "audioTeleconferencerController")] + #pragma warning disable CS1591 AudioTeleconferencerController, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessUnifiedCommunicationApplicationPlatform")] + #pragma warning disable CS1591 SkypeForBusinessUnifiedCommunicationApplicationPlatform, + #pragma warning restore CS1591 [EnumMember(Value = "responseGroupServiceAnnouncementService")] + #pragma warning disable CS1591 ResponseGroupServiceAnnouncementService, + #pragma warning restore CS1591 [EnumMember(Value = "gateway")] + #pragma warning disable CS1591 Gateway, + #pragma warning restore CS1591 [EnumMember(Value = "skypeTranslator")] + #pragma warning disable CS1591 SkypeTranslator, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessAttendant")] + #pragma warning disable CS1591 SkypeForBusinessAttendant, + #pragma warning restore CS1591 [EnumMember(Value = "responseGroupService")] + #pragma warning disable CS1591 ResponseGroupService, + #pragma warning restore CS1591 [EnumMember(Value = "voicemail")] + #pragma warning disable CS1591 Voicemail, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/ServiceUserAgent.cs b/src/generated/Models/CallRecords/ServiceUserAgent.cs index d4faecdb72..6f94ef19f2 100644 --- a/src/generated/Models/CallRecords/ServiceUserAgent.cs +++ b/src/generated/Models/CallRecords/ServiceUserAgent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class ServiceUserAgent : UserAgent, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class ServiceUserAgent : UserAgent, IParsable + #pragma warning restore CS1591 { /// The role property public ServiceRole? Role { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"role", n => { Role = n.GetEnumValue(); } }, + { "role", n => { Role = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/Session.cs b/src/generated/Models/CallRecords/Session.cs index 372f9c1707..2bc0c645ab 100644 --- a/src/generated/Models/CallRecords/Session.cs +++ b/src/generated/Models/CallRecords/Session.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class Session : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class Session : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Endpoint that answered the session. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -71,14 +74,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callee", n => { Callee = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, - {"caller", n => { Caller = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"failureInfo", n => { FailureInfo = n.GetObjectValue(ApiSdk.Models.CallRecords.FailureInfo.CreateFromDiscriminatorValue); } }, - {"isTest", n => { IsTest = n.GetBoolValue(); } }, - {"modalities", n => { Modalities = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"segments", n => { Segments = n.GetCollectionOfObjectValues(Segment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "callee", n => { Callee = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, + { "caller", n => { Caller = n.GetObjectValue(Endpoint.CreateFromDiscriminatorValue); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "failureInfo", n => { FailureInfo = n.GetObjectValue(ApiSdk.Models.CallRecords.FailureInfo.CreateFromDiscriminatorValue); } }, + { "isTest", n => { IsTest = n.GetBoolValue(); } }, + { "modalities", n => { Modalities = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "segments", n => { Segments = n.GetCollectionOfObjectValues(Segment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/SessionCollectionResponse.cs b/src/generated/Models/CallRecords/SessionCollectionResponse.cs index 8d673b97c6..d623a2cc43 100644 --- a/src/generated/Models/CallRecords/SessionCollectionResponse.cs +++ b/src/generated/Models/CallRecords/SessionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class SessionCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class SessionCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Session.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Session.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/TraceRouteHop.cs b/src/generated/Models/CallRecords/TraceRouteHop.cs index 0a7c9d4b49..469677a289 100644 --- a/src/generated/Models/CallRecords/TraceRouteHop.cs +++ b/src/generated/Models/CallRecords/TraceRouteHop.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class TraceRouteHop : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class TraceRouteHop : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -27,7 +30,7 @@ public class TraceRouteHop : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. + /// The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in ISO 8601 format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. public TimeSpan? RoundTripTime { get; set; } /// /// Instantiates a new and sets the default values. @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"hopCount", n => { HopCount = n.GetIntValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"roundTripTime", n => { RoundTripTime = n.GetTimeSpanValue(); } }, + { "hopCount", n => { HopCount = n.GetIntValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "roundTripTime", n => { RoundTripTime = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/UserAgent.cs b/src/generated/Models/CallRecords/UserAgent.cs index e89fdc48f4..ab3b59a987 100644 --- a/src/generated/Models/CallRecords/UserAgent.cs +++ b/src/generated/Models/CallRecords/UserAgent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class UserAgent : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class UserAgent : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -64,9 +67,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationVersion", n => { ApplicationVersion = n.GetStringValue(); } }, - {"headerValue", n => { HeaderValue = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "applicationVersion", n => { ApplicationVersion = n.GetStringValue(); } }, + { "headerValue", n => { HeaderValue = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallRecords/UserFeedback.cs b/src/generated/Models/CallRecords/UserFeedback.cs index 35a9a63fee..1005414d0e 100644 --- a/src/generated/Models/CallRecords/UserFeedback.cs +++ b/src/generated/Models/CallRecords/UserFeedback.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.CallRecords { - public class UserFeedback : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 + public class UserFeedback : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"rating", n => { Rating = n.GetEnumValue(); } }, - {"text", n => { Text = n.GetStringValue(); } }, - {"tokens", n => { Tokens = n.GetObjectValue(FeedbackTokenSet.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "rating", n => { Rating = n.GetEnumValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, + { "tokens", n => { Tokens = n.GetObjectValue(FeedbackTokenSet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallRecords/UserFeedbackRating.cs b/src/generated/Models/CallRecords/UserFeedbackRating.cs index 44358f2863..02b60ad0a3 100644 --- a/src/generated/Models/CallRecords/UserFeedbackRating.cs +++ b/src/generated/Models/CallRecords/UserFeedbackRating.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum UserFeedbackRating + #pragma warning restore CS1591 { [EnumMember(Value = "notRated")] + #pragma warning disable CS1591 NotRated, + #pragma warning restore CS1591 [EnumMember(Value = "bad")] + #pragma warning disable CS1591 Bad, + #pragma warning restore CS1591 [EnumMember(Value = "poor")] + #pragma warning disable CS1591 Poor, + #pragma warning restore CS1591 [EnumMember(Value = "fair")] + #pragma warning disable CS1591 Fair, + #pragma warning restore CS1591 [EnumMember(Value = "good")] + #pragma warning disable CS1591 Good, + #pragma warning restore CS1591 [EnumMember(Value = "excellent")] + #pragma warning disable CS1591 Excellent, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/VideoCodec.cs b/src/generated/Models/CallRecords/VideoCodec.cs index 85162b2307..8ebc5b510a 100644 --- a/src/generated/Models/CallRecords/VideoCodec.cs +++ b/src/generated/Models/CallRecords/VideoCodec.cs @@ -1,32 +1,59 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum VideoCodec + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "invalid")] + #pragma warning disable CS1591 Invalid, + #pragma warning restore CS1591 [EnumMember(Value = "av1")] + #pragma warning disable CS1591 Av1, + #pragma warning restore CS1591 [EnumMember(Value = "h263")] + #pragma warning disable CS1591 H263, + #pragma warning restore CS1591 [EnumMember(Value = "h264")] + #pragma warning disable CS1591 H264, + #pragma warning restore CS1591 [EnumMember(Value = "h264s")] + #pragma warning disable CS1591 H264s, + #pragma warning restore CS1591 [EnumMember(Value = "h264uc")] + #pragma warning disable CS1591 H264uc, + #pragma warning restore CS1591 [EnumMember(Value = "h265")] + #pragma warning disable CS1591 H265, + #pragma warning restore CS1591 [EnumMember(Value = "rtvc1")] + #pragma warning disable CS1591 Rtvc1, + #pragma warning restore CS1591 [EnumMember(Value = "rtVideo")] + #pragma warning disable CS1591 RtVideo, + #pragma warning restore CS1591 [EnumMember(Value = "xrtvc1")] + #pragma warning disable CS1591 Xrtvc1, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/WifiBand.cs b/src/generated/Models/CallRecords/WifiBand.cs index 27073ea0d2..1b7440f1e1 100644 --- a/src/generated/Models/CallRecords/WifiBand.cs +++ b/src/generated/Models/CallRecords/WifiBand.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum WifiBand + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "frequency24GHz")] + #pragma warning disable CS1591 Frequency24GHz, + #pragma warning restore CS1591 [EnumMember(Value = "frequency50GHz")] + #pragma warning disable CS1591 Frequency50GHz, + #pragma warning restore CS1591 [EnumMember(Value = "frequency60GHz")] + #pragma warning disable CS1591 Frequency60GHz, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRecords/WifiRadioType.cs b/src/generated/Models/CallRecords/WifiRadioType.cs index 5432058bb8..8985c03fba 100644 --- a/src/generated/Models/CallRecords/WifiRadioType.cs +++ b/src/generated/Models/CallRecords/WifiRadioType.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.CallRecords { +namespace ApiSdk.Models.CallRecords +{ + #pragma warning disable CS1591 public enum WifiRadioType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211a")] + #pragma warning disable CS1591 Wifi80211a, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211b")] + #pragma warning disable CS1591 Wifi80211b, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211g")] + #pragma warning disable CS1591 Wifi80211g, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211n")] + #pragma warning disable CS1591 Wifi80211n, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211ac")] + #pragma warning disable CS1591 Wifi80211ac, + #pragma warning restore CS1591 [EnumMember(Value = "wifi80211ax")] + #pragma warning disable CS1591 Wifi80211ax, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallRoute.cs b/src/generated/Models/CallRoute.cs index 8f6e78f54f..207b580050 100644 --- a/src/generated/Models/CallRoute.cs +++ b/src/generated/Models/CallRoute.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallRoute : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallRoute : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"final", n => { Final = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"original", n => { Original = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"routingType", n => { RoutingType = n.GetEnumValue(); } }, + { "final", n => { Final = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "original", n => { Original = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "routingType", n => { RoutingType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CallStartedEventMessageDetail.cs b/src/generated/Models/CallStartedEventMessageDetail.cs index 23dbe01675..c3aaaa3c42 100644 --- a/src/generated/Models/CallStartedEventMessageDetail.cs +++ b/src/generated/Models/CallStartedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallStartedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallStartedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. public TeamworkCallEventType? CallEventType { get; set; } @@ -50,9 +53,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callEventType", n => { CallEventType = n.GetEnumValue(); } }, - {"callId", n => { CallId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "callEventType", n => { CallEventType = n.GetEnumValue(); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallState.cs b/src/generated/Models/CallState.cs index 833d631c32..14db8d5c9c 100644 --- a/src/generated/Models/CallState.cs +++ b/src/generated/Models/CallState.cs @@ -1,28 +1,51 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CallState + #pragma warning restore CS1591 { [EnumMember(Value = "incoming")] + #pragma warning disable CS1591 Incoming, + #pragma warning restore CS1591 [EnumMember(Value = "establishing")] + #pragma warning disable CS1591 Establishing, + #pragma warning restore CS1591 [EnumMember(Value = "established")] + #pragma warning disable CS1591 Established, + #pragma warning restore CS1591 [EnumMember(Value = "hold")] + #pragma warning disable CS1591 Hold, + #pragma warning restore CS1591 [EnumMember(Value = "transferring")] + #pragma warning disable CS1591 Transferring, + #pragma warning restore CS1591 [EnumMember(Value = "transferAccepted")] + #pragma warning disable CS1591 TransferAccepted, + #pragma warning restore CS1591 [EnumMember(Value = "redirecting")] + #pragma warning disable CS1591 Redirecting, + #pragma warning restore CS1591 [EnumMember(Value = "terminating")] + #pragma warning disable CS1591 Terminating, + #pragma warning restore CS1591 [EnumMember(Value = "terminated")] + #pragma warning disable CS1591 Terminated, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CallTranscript.cs b/src/generated/Models/CallTranscript.cs index fc511b74d9..df98f57212 100644 --- a/src/generated/Models/CallTranscript.cs +++ b/src/generated/Models/CallTranscript.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallTranscript : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallTranscript : Entity, IParsable + #pragma warning restore CS1591 { /// The content of the transcript. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -67,12 +70,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"meetingId", n => { MeetingId = n.GetStringValue(); } }, - {"meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"metadataContent", n => { MetadataContent = n.GetByteArrayValue(); } }, - {"transcriptContentUrl", n => { TranscriptContentUrl = n.GetStringValue(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "meetingId", n => { MeetingId = n.GetStringValue(); } }, + { "meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "metadataContent", n => { MetadataContent = n.GetByteArrayValue(); } }, + { "transcriptContentUrl", n => { TranscriptContentUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CallTranscriptCollectionResponse.cs b/src/generated/Models/CallTranscriptCollectionResponse.cs index 672c6aa6c3..f4c867dbd8 100644 --- a/src/generated/Models/CallTranscriptCollectionResponse.cs +++ b/src/generated/Models/CallTranscriptCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallTranscriptCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallTranscriptCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CallTranscript.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CallTranscript.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CallTranscriptEventMessageDetail.cs b/src/generated/Models/CallTranscriptEventMessageDetail.cs index bcf13a4e51..c1ca62ae62 100644 --- a/src/generated/Models/CallTranscriptEventMessageDetail.cs +++ b/src/generated/Models/CallTranscriptEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallTranscriptEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallTranscriptEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Unique identifier of the call. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"callId", n => { CallId = n.GetStringValue(); } }, - {"callTranscriptICalUid", n => { CallTranscriptICalUid = n.GetStringValue(); } }, - {"meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "callId", n => { CallId = n.GetStringValue(); } }, + { "callTranscriptICalUid", n => { CallTranscriptICalUid = n.GetStringValue(); } }, + { "meetingOrganizer", n => { MeetingOrganizer = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CallTranscriptionInfo.cs b/src/generated/Models/CallTranscriptionInfo.cs index 819295cbb3..658a2985fd 100644 --- a/src/generated/Models/CallTranscriptionInfo.cs +++ b/src/generated/Models/CallTranscriptionInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CallTranscriptionInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CallTranscriptionInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -46,9 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CallTranscriptionState.cs b/src/generated/Models/CallTranscriptionState.cs index 0e312b8281..ffc9b7117e 100644 --- a/src/generated/Models/CallTranscriptionState.cs +++ b/src/generated/Models/CallTranscriptionState.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CallTranscriptionState + #pragma warning restore CS1591 { [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 NotStarted, + #pragma warning restore CS1591 [EnumMember(Value = "active")] + #pragma warning disable CS1591 Active, + #pragma warning restore CS1591 [EnumMember(Value = "inactive")] + #pragma warning disable CS1591 Inactive, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CancelMediaProcessingOperation.cs b/src/generated/Models/CancelMediaProcessingOperation.cs index d7990ed283..9995c28820 100644 --- a/src/generated/Models/CancelMediaProcessingOperation.cs +++ b/src/generated/Models/CancelMediaProcessingOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CancelMediaProcessingOperation : CommsOperation, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CancelMediaProcessingOperation : CommsOperation, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/CanvasLayout.cs b/src/generated/Models/CanvasLayout.cs index d6190ee67d..8baf6118dc 100644 --- a/src/generated/Models/CanvasLayout.cs +++ b/src/generated/Models/CanvasLayout.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CanvasLayout : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CanvasLayout : Entity, IParsable + #pragma warning restore CS1591 { /// Collection of horizontal sections on the SharePoint page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"horizontalSections", n => { HorizontalSections = n.GetCollectionOfObjectValues(HorizontalSection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"verticalSection", n => { VerticalSection = n.GetObjectValue(ApiSdk.Models.VerticalSection.CreateFromDiscriminatorValue); } }, + { "horizontalSections", n => { HorizontalSections = n.GetCollectionOfObjectValues(HorizontalSection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "verticalSection", n => { VerticalSection = n.GetObjectValue(ApiSdk.Models.VerticalSection.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CategoryColor.cs b/src/generated/Models/CategoryColor.cs index 3133313fa6..b09e1369aa 100644 --- a/src/generated/Models/CategoryColor.cs +++ b/src/generated/Models/CategoryColor.cs @@ -1,60 +1,115 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CategoryColor + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "preset0")] + #pragma warning disable CS1591 Preset0, + #pragma warning restore CS1591 [EnumMember(Value = "preset1")] + #pragma warning disable CS1591 Preset1, + #pragma warning restore CS1591 [EnumMember(Value = "preset2")] + #pragma warning disable CS1591 Preset2, + #pragma warning restore CS1591 [EnumMember(Value = "preset3")] + #pragma warning disable CS1591 Preset3, + #pragma warning restore CS1591 [EnumMember(Value = "preset4")] + #pragma warning disable CS1591 Preset4, + #pragma warning restore CS1591 [EnumMember(Value = "preset5")] + #pragma warning disable CS1591 Preset5, + #pragma warning restore CS1591 [EnumMember(Value = "preset6")] + #pragma warning disable CS1591 Preset6, + #pragma warning restore CS1591 [EnumMember(Value = "preset7")] + #pragma warning disable CS1591 Preset7, + #pragma warning restore CS1591 [EnumMember(Value = "preset8")] + #pragma warning disable CS1591 Preset8, + #pragma warning restore CS1591 [EnumMember(Value = "preset9")] + #pragma warning disable CS1591 Preset9, + #pragma warning restore CS1591 [EnumMember(Value = "preset10")] + #pragma warning disable CS1591 Preset10, + #pragma warning restore CS1591 [EnumMember(Value = "preset11")] + #pragma warning disable CS1591 Preset11, + #pragma warning restore CS1591 [EnumMember(Value = "preset12")] + #pragma warning disable CS1591 Preset12, + #pragma warning restore CS1591 [EnumMember(Value = "preset13")] + #pragma warning disable CS1591 Preset13, + #pragma warning restore CS1591 [EnumMember(Value = "preset14")] + #pragma warning disable CS1591 Preset14, + #pragma warning restore CS1591 [EnumMember(Value = "preset15")] + #pragma warning disable CS1591 Preset15, + #pragma warning restore CS1591 [EnumMember(Value = "preset16")] + #pragma warning disable CS1591 Preset16, + #pragma warning restore CS1591 [EnumMember(Value = "preset17")] + #pragma warning disable CS1591 Preset17, + #pragma warning restore CS1591 [EnumMember(Value = "preset18")] + #pragma warning disable CS1591 Preset18, + #pragma warning restore CS1591 [EnumMember(Value = "preset19")] + #pragma warning disable CS1591 Preset19, + #pragma warning restore CS1591 [EnumMember(Value = "preset20")] + #pragma warning disable CS1591 Preset20, + #pragma warning restore CS1591 [EnumMember(Value = "preset21")] + #pragma warning disable CS1591 Preset21, + #pragma warning restore CS1591 [EnumMember(Value = "preset22")] + #pragma warning disable CS1591 Preset22, + #pragma warning restore CS1591 [EnumMember(Value = "preset23")] + #pragma warning disable CS1591 Preset23, + #pragma warning restore CS1591 [EnumMember(Value = "preset24")] + #pragma warning disable CS1591 Preset24, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CertificateAuthority.cs b/src/generated/Models/CertificateAuthority.cs index 96785f5ba1..24b648cd1f 100644 --- a/src/generated/Models/CertificateAuthority.cs +++ b/src/generated/Models/CertificateAuthority.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CertificateAuthority : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CertificateAuthority : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -84,13 +87,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"certificate", n => { Certificate = n.GetByteArrayValue(); } }, - {"certificateRevocationListUrl", n => { CertificateRevocationListUrl = n.GetStringValue(); } }, - {"deltaCertificateRevocationListUrl", n => { DeltaCertificateRevocationListUrl = n.GetStringValue(); } }, - {"isRootAuthority", n => { IsRootAuthority = n.GetBoolValue(); } }, - {"issuer", n => { Issuer = n.GetStringValue(); } }, - {"issuerSki", n => { IssuerSki = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "certificate", n => { Certificate = n.GetByteArrayValue(); } }, + { "certificateRevocationListUrl", n => { CertificateRevocationListUrl = n.GetStringValue(); } }, + { "deltaCertificateRevocationListUrl", n => { DeltaCertificateRevocationListUrl = n.GetStringValue(); } }, + { "isRootAuthority", n => { IsRootAuthority = n.GetBoolValue(); } }, + { "issuer", n => { Issuer = n.GetStringValue(); } }, + { "issuerSki", n => { IssuerSki = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CertificateBasedAuthConfiguration.cs b/src/generated/Models/CertificateBasedAuthConfiguration.cs index f2b0870fef..56aeda5690 100644 --- a/src/generated/Models/CertificateBasedAuthConfiguration.cs +++ b/src/generated/Models/CertificateBasedAuthConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CertificateBasedAuthConfiguration : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CertificateBasedAuthConfiguration : Entity, IParsable + #pragma warning restore CS1591 { /// Collection of certificate authorities which creates a trusted certificate chain. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"certificateAuthorities", n => { CertificateAuthorities = n.GetCollectionOfObjectValues(CertificateAuthority.CreateFromDiscriminatorValue)?.ToList(); } }, + { "certificateAuthorities", n => { CertificateAuthorities = n.GetCollectionOfObjectValues(CertificateAuthority.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CertificateBasedAuthConfigurationCollectionResponse.cs b/src/generated/Models/CertificateBasedAuthConfigurationCollectionResponse.cs index d3395adfe5..5aea47f677 100644 --- a/src/generated/Models/CertificateBasedAuthConfigurationCollectionResponse.cs +++ b/src/generated/Models/CertificateBasedAuthConfigurationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CertificateBasedAuthConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CertificateBasedAuthConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CertificateStatus.cs b/src/generated/Models/CertificateStatus.cs index db460196a3..4d676ea31f 100644 --- a/src/generated/Models/CertificateStatus.cs +++ b/src/generated/Models/CertificateStatus.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CertificateStatus + #pragma warning restore CS1591 { [EnumMember(Value = "notProvisioned")] + #pragma warning disable CS1591 NotProvisioned, + #pragma warning restore CS1591 [EnumMember(Value = "provisioned")] + #pragma warning disable CS1591 Provisioned, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/Certification.cs b/src/generated/Models/Certification.cs index 43ee76c0ce..6d438e8605 100644 --- a/src/generated/Models/Certification.cs +++ b/src/generated/Models/Certification.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Certification : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Certification : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,12 +61,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"certificationDetailsUrl", n => { CertificationDetailsUrl = n.GetStringValue(); } }, - {"certificationExpirationDateTime", n => { CertificationExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"isCertifiedByMicrosoft", n => { IsCertifiedByMicrosoft = n.GetBoolValue(); } }, - {"isPublisherAttested", n => { IsPublisherAttested = n.GetBoolValue(); } }, - {"lastCertificationDateTime", n => { LastCertificationDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "certificationDetailsUrl", n => { CertificationDetailsUrl = n.GetStringValue(); } }, + { "certificationExpirationDateTime", n => { CertificationExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "isCertifiedByMicrosoft", n => { IsCertifiedByMicrosoft = n.GetBoolValue(); } }, + { "isPublisherAttested", n => { IsPublisherAttested = n.GetBoolValue(); } }, + { "lastCertificationDateTime", n => { LastCertificationDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CertificationControl.cs b/src/generated/Models/CertificationControl.cs index f8e27564f2..eaff29eb0c 100644 --- a/src/generated/Models/CertificationControl.cs +++ b/src/generated/Models/CertificationControl.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CertificationControl : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CertificationControl : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"url", n => { Url = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChangeTrackedEntity.cs b/src/generated/Models/ChangeTrackedEntity.cs index de34fc6def..caffcefc7e 100644 --- a/src/generated/Models/ChangeTrackedEntity.cs +++ b/src/generated/Models/ChangeTrackedEntity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChangeTrackedEntity : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChangeTrackedEntity : Entity, IParsable + #pragma warning restore CS1591 { /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z public DateTimeOffset? CreatedDateTime { get; private set; } @@ -53,9 +56,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/Channel.cs b/src/generated/Models/Channel.cs index 2595bbaa21..0f01ccf569 100644 --- a/src/generated/Models/Channel.cs +++ b/src/generated/Models/Channel.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Channel : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Channel : Entity, IParsable + #pragma warning restore CS1591 { /// Read only. Timestamp at which the channel was created. public DateTimeOffset? CreatedDateTime { get; set; } @@ -119,20 +122,20 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"filesFolder", n => { FilesFolder = n.GetObjectValue(DriveItem.CreateFromDiscriminatorValue); } }, - {"isFavoriteByDefault", n => { IsFavoriteByDefault = n.GetBoolValue(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, - {"membershipType", n => { MembershipType = n.GetEnumValue(); } }, - {"messages", n => { Messages = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sharedWithTeams", n => { SharedWithTeams = n.GetCollectionOfObjectValues(SharedWithChannelTeamInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"summary", n => { Summary = n.GetObjectValue(ChannelSummary.CreateFromDiscriminatorValue); } }, - {"tabs", n => { Tabs = n.GetCollectionOfObjectValues(TeamsTab.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "filesFolder", n => { FilesFolder = n.GetObjectValue(DriveItem.CreateFromDiscriminatorValue); } }, + { "isFavoriteByDefault", n => { IsFavoriteByDefault = n.GetBoolValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "membershipType", n => { MembershipType = n.GetEnumValue(); } }, + { "messages", n => { Messages = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sharedWithTeams", n => { SharedWithTeams = n.GetCollectionOfObjectValues(SharedWithChannelTeamInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "summary", n => { Summary = n.GetObjectValue(ChannelSummary.CreateFromDiscriminatorValue); } }, + { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(TeamsTab.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChannelAddedEventMessageDetail.cs b/src/generated/Models/ChannelAddedEventMessageDetail.cs index bb79966295..429f493864 100644 --- a/src/generated/Models/ChannelAddedEventMessageDetail.cs +++ b/src/generated/Models/ChannelAddedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelAddedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelAddedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Display name of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChannelCollectionResponse.cs b/src/generated/Models/ChannelCollectionResponse.cs index 9d5b0fb23e..9f8b096959 100644 --- a/src/generated/Models/ChannelCollectionResponse.cs +++ b/src/generated/Models/ChannelCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Channel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Channel.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ChannelDeletedEventMessageDetail.cs b/src/generated/Models/ChannelDeletedEventMessageDetail.cs index ba7d7155fb..870c26c857 100644 --- a/src/generated/Models/ChannelDeletedEventMessageDetail.cs +++ b/src/generated/Models/ChannelDeletedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelDeletedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelDeletedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Display name of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChannelDescriptionUpdatedEventMessageDetail.cs b/src/generated/Models/ChannelDescriptionUpdatedEventMessageDetail.cs index 152d1863ac..e3951426f6 100644 --- a/src/generated/Models/ChannelDescriptionUpdatedEventMessageDetail.cs +++ b/src/generated/Models/ChannelDescriptionUpdatedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelDescriptionUpdatedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelDescriptionUpdatedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// The updated description of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelDescription", n => { ChannelDescription = n.GetStringValue(); } }, - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelDescription", n => { ChannelDescription = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChannelIdentity.cs b/src/generated/Models/ChannelIdentity.cs index 7265acd516..5d44532faa 100644 --- a/src/generated/Models/ChannelIdentity.cs +++ b/src/generated/Models/ChannelIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelIdentity : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelIdentity : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"teamId", n => { TeamId = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "teamId", n => { TeamId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChannelMembersNotificationRecipient.cs b/src/generated/Models/ChannelMembersNotificationRecipient.cs index 46760c90b2..603d501da0 100644 --- a/src/generated/Models/ChannelMembersNotificationRecipient.cs +++ b/src/generated/Models/ChannelMembersNotificationRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelMembersNotificationRecipient : TeamworkNotificationRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelMembersNotificationRecipient : TeamworkNotificationRecipient, IParsable + #pragma warning restore CS1591 { /// The unique identifier for the channel whose members should receive the notification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"teamId", n => { TeamId = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "teamId", n => { TeamId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChannelMembershipType.cs b/src/generated/Models/ChannelMembershipType.cs index e7f5d91291..5cd8772fd3 100644 --- a/src/generated/Models/ChannelMembershipType.cs +++ b/src/generated/Models/ChannelMembershipType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ChannelMembershipType + #pragma warning restore CS1591 { [EnumMember(Value = "standard")] + #pragma warning disable CS1591 Standard, + #pragma warning restore CS1591 [EnumMember(Value = "private")] + #pragma warning disable CS1591 Private, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "shared")] + #pragma warning disable CS1591 Shared, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChannelRenamedEventMessageDetail.cs b/src/generated/Models/ChannelRenamedEventMessageDetail.cs index b01ff6b6e0..94b2ae465a 100644 --- a/src/generated/Models/ChannelRenamedEventMessageDetail.cs +++ b/src/generated/Models/ChannelRenamedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelRenamedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelRenamedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// The updated name of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelDisplayName", n => { ChannelDisplayName = n.GetStringValue(); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChannelSetAsFavoriteByDefaultEventMessageDetail.cs b/src/generated/Models/ChannelSetAsFavoriteByDefaultEventMessageDetail.cs index 31874c24c4..f9990477af 100644 --- a/src/generated/Models/ChannelSetAsFavoriteByDefaultEventMessageDetail.cs +++ b/src/generated/Models/ChannelSetAsFavoriteByDefaultEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelSetAsFavoriteByDefaultEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelSetAsFavoriteByDefaultEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Unique identifier of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChannelSummary.cs b/src/generated/Models/ChannelSummary.cs index 2e15612f28..81329ef61f 100644 --- a/src/generated/Models/ChannelSummary.cs +++ b/src/generated/Models/ChannelSummary.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelSummary : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelSummary : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,11 +53,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"guestsCount", n => { GuestsCount = n.GetIntValue(); } }, - {"hasMembersFromOtherTenants", n => { HasMembersFromOtherTenants = n.GetBoolValue(); } }, - {"membersCount", n => { MembersCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"ownersCount", n => { OwnersCount = n.GetIntValue(); } }, + { "guestsCount", n => { GuestsCount = n.GetIntValue(); } }, + { "hasMembersFromOtherTenants", n => { HasMembersFromOtherTenants = n.GetBoolValue(); } }, + { "membersCount", n => { MembersCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ownersCount", n => { OwnersCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.cs b/src/generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.cs index b02750c2d1..5a4182fd73 100644 --- a/src/generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.cs +++ b/src/generated/Models/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChannelUnsetAsFavoriteByDefaultEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChannelUnsetAsFavoriteByDefaultEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Unique identifier of the channel. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channelId", n => { ChannelId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/Chat.cs b/src/generated/Models/Chat.cs index 8ceedfb5ec..a0a0acd6eb 100644 --- a/src/generated/Models/Chat.cs +++ b/src/generated/Models/Chat.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Chat : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Chat : Entity, IParsable + #pragma warning restore CS1591 { /// The chatType property public ApiSdk.Models.ChatType? ChatType { get; set; } @@ -127,21 +130,21 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"chatType", n => { ChatType = n.GetEnumValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"installedApps", n => { InstalledApps = n.GetCollectionOfObjectValues(TeamsAppInstallation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"lastMessagePreview", n => { LastMessagePreview = n.GetObjectValue(ChatMessageInfo.CreateFromDiscriminatorValue); } }, - {"lastUpdatedDateTime", n => { LastUpdatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, - {"messages", n => { Messages = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"onlineMeetingInfo", n => { OnlineMeetingInfo = n.GetObjectValue(TeamworkOnlineMeetingInfo.CreateFromDiscriminatorValue); } }, - {"permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.ToList(); } }, - {"pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tabs", n => { Tabs = n.GetCollectionOfObjectValues(TeamsTab.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"topic", n => { Topic = n.GetStringValue(); } }, - {"viewpoint", n => { Viewpoint = n.GetObjectValue(ChatViewpoint.CreateFromDiscriminatorValue); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "chatType", n => { ChatType = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "installedApps", n => { InstalledApps = n.GetCollectionOfObjectValues(TeamsAppInstallation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "lastMessagePreview", n => { LastMessagePreview = n.GetObjectValue(ChatMessageInfo.CreateFromDiscriminatorValue); } }, + { "lastUpdatedDateTime", n => { LastUpdatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "messages", n => { Messages = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "onlineMeetingInfo", n => { OnlineMeetingInfo = n.GetObjectValue(TeamworkOnlineMeetingInfo.CreateFromDiscriminatorValue); } }, + { "permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.ToList(); } }, + { "pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(TeamsTab.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "topic", n => { Topic = n.GetStringValue(); } }, + { "viewpoint", n => { Viewpoint = n.GetObjectValue(ChatViewpoint.CreateFromDiscriminatorValue); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatCollectionResponse.cs b/src/generated/Models/ChatCollectionResponse.cs index 44289fc510..8ed6bcb88b 100644 --- a/src/generated/Models/ChatCollectionResponse.cs +++ b/src/generated/Models/ChatCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Chat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Chat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ChatInfo.cs b/src/generated/Models/ChatInfo.cs index 5c21690b5a..aa07d24b0f 100644 --- a/src/generated/Models/ChatInfo.cs +++ b/src/generated/Models/ChatInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"messageId", n => { MessageId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"replyChainMessageId", n => { ReplyChainMessageId = n.GetStringValue(); } }, - {"threadId", n => { ThreadId = n.GetStringValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "replyChainMessageId", n => { ReplyChainMessageId = n.GetStringValue(); } }, + { "threadId", n => { ThreadId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMembersNotificationRecipient.cs b/src/generated/Models/ChatMembersNotificationRecipient.cs index de9b735378..b0e6eb7a16 100644 --- a/src/generated/Models/ChatMembersNotificationRecipient.cs +++ b/src/generated/Models/ChatMembersNotificationRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMembersNotificationRecipient : TeamworkNotificationRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMembersNotificationRecipient : TeamworkNotificationRecipient, IParsable + #pragma warning restore CS1591 { /// The unique identifier for the chat whose members should receive the notifications. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"chatId", n => { ChatId = n.GetStringValue(); } }, + { "chatId", n => { ChatId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessage.cs b/src/generated/Models/ChatMessage.cs index ca1dff4df8..2ac298b6c4 100644 --- a/src/generated/Models/ChatMessage.cs +++ b/src/generated/Models/ChatMessage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessage : Entity, IParsable + #pragma warning restore CS1591 { /// References to attached objects like files, tabs, meetings etc. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -181,30 +184,30 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"attachments", n => { Attachments = n.GetCollectionOfObjectValues(ChatMessageAttachment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"channelIdentity", n => { ChannelIdentity = n.GetObjectValue(ApiSdk.Models.ChannelIdentity.CreateFromDiscriminatorValue); } }, - {"chatId", n => { ChatId = n.GetStringValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"etag", n => { Etag = n.GetStringValue(); } }, - {"eventDetail", n => { EventDetail = n.GetObjectValue(EventMessageDetail.CreateFromDiscriminatorValue); } }, - {"from", n => { From = n.GetObjectValue(ChatMessageFromIdentitySet.CreateFromDiscriminatorValue); } }, - {"hostedContents", n => { HostedContents = n.GetCollectionOfObjectValues(ChatMessageHostedContent.CreateFromDiscriminatorValue)?.ToList(); } }, - {"importance", n => { Importance = n.GetEnumValue(); } }, - {"lastEditedDateTime", n => { LastEditedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"locale", n => { Locale = n.GetStringValue(); } }, - {"mentions", n => { Mentions = n.GetCollectionOfObjectValues(ChatMessageMention.CreateFromDiscriminatorValue)?.ToList(); } }, - {"messageHistory", n => { MessageHistory = n.GetCollectionOfObjectValues(ChatMessageHistoryItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"messageType", n => { MessageType = n.GetEnumValue(); } }, - {"policyViolation", n => { PolicyViolation = n.GetObjectValue(ChatMessagePolicyViolation.CreateFromDiscriminatorValue); } }, - {"reactions", n => { Reactions = n.GetCollectionOfObjectValues(ChatMessageReaction.CreateFromDiscriminatorValue)?.ToList(); } }, - {"replies", n => { Replies = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"replyToId", n => { ReplyToId = n.GetStringValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, - {"summary", n => { Summary = n.GetStringValue(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(ChatMessageAttachment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "channelIdentity", n => { ChannelIdentity = n.GetObjectValue(ApiSdk.Models.ChannelIdentity.CreateFromDiscriminatorValue); } }, + { "chatId", n => { ChatId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "etag", n => { Etag = n.GetStringValue(); } }, + { "eventDetail", n => { EventDetail = n.GetObjectValue(EventMessageDetail.CreateFromDiscriminatorValue); } }, + { "from", n => { From = n.GetObjectValue(ChatMessageFromIdentitySet.CreateFromDiscriminatorValue); } }, + { "hostedContents", n => { HostedContents = n.GetCollectionOfObjectValues(ChatMessageHostedContent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "importance", n => { Importance = n.GetEnumValue(); } }, + { "lastEditedDateTime", n => { LastEditedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(ChatMessageMention.CreateFromDiscriminatorValue)?.ToList(); } }, + { "messageHistory", n => { MessageHistory = n.GetCollectionOfObjectValues(ChatMessageHistoryItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "messageType", n => { MessageType = n.GetEnumValue(); } }, + { "policyViolation", n => { PolicyViolation = n.GetObjectValue(ChatMessagePolicyViolation.CreateFromDiscriminatorValue); } }, + { "reactions", n => { Reactions = n.GetCollectionOfObjectValues(ChatMessageReaction.CreateFromDiscriminatorValue)?.ToList(); } }, + { "replies", n => { Replies = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "replyToId", n => { ReplyToId = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "summary", n => { Summary = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageActions.cs b/src/generated/Models/ChatMessageActions.cs index ec883c46f5..2a65676526 100644 --- a/src/generated/Models/ChatMessageActions.cs +++ b/src/generated/Models/ChatMessageActions.cs @@ -1,17 +1,28 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ChatMessageActions + #pragma warning restore CS1591 { [EnumMember(Value = "reactionAdded")] + #pragma warning disable CS1591 ReactionAdded = 1, + #pragma warning restore CS1591 [EnumMember(Value = "reactionRemoved")] + #pragma warning disable CS1591 ReactionRemoved = 2, + #pragma warning restore CS1591 [EnumMember(Value = "actionUndefined")] + #pragma warning disable CS1591 ActionUndefined = 4, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue = 8, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatMessageAttachment.cs b/src/generated/Models/ChatMessageAttachment.cs index b0df049b1d..3bd5e445eb 100644 --- a/src/generated/Models/ChatMessageAttachment.cs +++ b/src/generated/Models/ChatMessageAttachment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageAttachment : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageAttachment : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -98,14 +101,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"content", n => { Content = n.GetStringValue(); } }, - {"contentType", n => { ContentType = n.GetStringValue(); } }, - {"contentUrl", n => { ContentUrl = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - {"thumbnailUrl", n => { ThumbnailUrl = n.GetStringValue(); } }, + { "content", n => { Content = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "contentUrl", n => { ContentUrl = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, + { "thumbnailUrl", n => { ThumbnailUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageCollectionResponse.cs b/src/generated/Models/ChatMessageCollectionResponse.cs index 760daac4d1..4de8440b46 100644 --- a/src/generated/Models/ChatMessageCollectionResponse.cs +++ b/src/generated/Models/ChatMessageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageFromIdentitySet.cs b/src/generated/Models/ChatMessageFromIdentitySet.cs index b04d266972..daf1d52ed2 100644 --- a/src/generated/Models/ChatMessageFromIdentitySet.cs +++ b/src/generated/Models/ChatMessageFromIdentitySet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageFromIdentitySet : IdentitySet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageFromIdentitySet : IdentitySet, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ChatMessageHistoryItem.cs b/src/generated/Models/ChatMessageHistoryItem.cs index 2e2d0d8e25..19e1915658 100644 --- a/src/generated/Models/ChatMessageHistoryItem.cs +++ b/src/generated/Models/ChatMessageHistoryItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageHistoryItem : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageHistoryItem : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The actions property public ChatMessageActions? Actions { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"actions", n => { Actions = n.GetEnumValue(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"reaction", n => { Reaction = n.GetObjectValue(ChatMessageReaction.CreateFromDiscriminatorValue); } }, + { "actions", n => { Actions = n.GetEnumValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reaction", n => { Reaction = n.GetObjectValue(ChatMessageReaction.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChatMessageHostedContent.cs b/src/generated/Models/ChatMessageHostedContent.cs index f50cd2c3aa..121821bab5 100644 --- a/src/generated/Models/ChatMessageHostedContent.cs +++ b/src/generated/Models/ChatMessageHostedContent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageHostedContent : TeamworkHostedContent, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageHostedContent : TeamworkHostedContent, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/ChatMessageHostedContentCollectionResponse.cs b/src/generated/Models/ChatMessageHostedContentCollectionResponse.cs index a76563bc8b..fee29e4936 100644 --- a/src/generated/Models/ChatMessageHostedContentCollectionResponse.cs +++ b/src/generated/Models/ChatMessageHostedContentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageHostedContentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageHostedContentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChatMessageHostedContent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChatMessageHostedContent.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageImportance.cs b/src/generated/Models/ChatMessageImportance.cs index 9f5535cc42..bf69ccc6e5 100644 --- a/src/generated/Models/ChatMessageImportance.cs +++ b/src/generated/Models/ChatMessageImportance.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ChatMessageImportance + #pragma warning restore CS1591 { [EnumMember(Value = "normal")] + #pragma warning disable CS1591 Normal, + #pragma warning restore CS1591 [EnumMember(Value = "high")] + #pragma warning disable CS1591 High, + #pragma warning restore CS1591 [EnumMember(Value = "urgent")] + #pragma warning disable CS1591 Urgent, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatMessageInfo.cs b/src/generated/Models/ChatMessageInfo.cs index f57feea41d..8821d28e1d 100644 --- a/src/generated/Models/ChatMessageInfo.cs +++ b/src/generated/Models/ChatMessageInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageInfo : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageInfo : Entity, IParsable + #pragma warning restore CS1591 { /// Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -55,12 +58,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"eventDetail", n => { EventDetail = n.GetObjectValue(EventMessageDetail.CreateFromDiscriminatorValue); } }, - {"from", n => { From = n.GetObjectValue(ChatMessageFromIdentitySet.CreateFromDiscriminatorValue); } }, - {"isDeleted", n => { IsDeleted = n.GetBoolValue(); } }, - {"messageType", n => { MessageType = n.GetEnumValue(); } }, + { "body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "eventDetail", n => { EventDetail = n.GetObjectValue(EventMessageDetail.CreateFromDiscriminatorValue); } }, + { "from", n => { From = n.GetObjectValue(ChatMessageFromIdentitySet.CreateFromDiscriminatorValue); } }, + { "isDeleted", n => { IsDeleted = n.GetBoolValue(); } }, + { "messageType", n => { MessageType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageMention.cs b/src/generated/Models/ChatMessageMention.cs index 54c2a3a519..87b043c809 100644 --- a/src/generated/Models/ChatMessageMention.cs +++ b/src/generated/Models/ChatMessageMention.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageMention : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageMention : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetIntValue(); } }, - {"mentionText", n => { MentionText = n.GetStringValue(); } }, - {"mentioned", n => { Mentioned = n.GetObjectValue(ChatMessageMentionedIdentitySet.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "id", n => { Id = n.GetIntValue(); } }, + { "mentionText", n => { MentionText = n.GetStringValue(); } }, + { "mentioned", n => { Mentioned = n.GetObjectValue(ChatMessageMentionedIdentitySet.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessageMentionedIdentitySet.cs b/src/generated/Models/ChatMessageMentionedIdentitySet.cs index 217d0a6afc..0fbee80bcc 100644 --- a/src/generated/Models/ChatMessageMentionedIdentitySet.cs +++ b/src/generated/Models/ChatMessageMentionedIdentitySet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageMentionedIdentitySet : IdentitySet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageMentionedIdentitySet : IdentitySet, IParsable + #pragma warning restore CS1591 { /// If present, represents a conversation (for example, team or channel) @mentioned in a message. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"conversation", n => { Conversation = n.GetObjectValue(TeamworkConversationIdentity.CreateFromDiscriminatorValue); } }, + { "conversation", n => { Conversation = n.GetObjectValue(TeamworkConversationIdentity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChatMessagePolicyViolation.cs b/src/generated/Models/ChatMessagePolicyViolation.cs index 8430daa1b3..08f76b527b 100644 --- a/src/generated/Models/ChatMessagePolicyViolation.cs +++ b/src/generated/Models/ChatMessagePolicyViolation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessagePolicyViolation : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessagePolicyViolation : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -64,12 +67,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"dlpAction", n => { DlpAction = n.GetEnumValue(); } }, - {"justificationText", n => { JustificationText = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"policyTip", n => { PolicyTip = n.GetObjectValue(ChatMessagePolicyViolationPolicyTip.CreateFromDiscriminatorValue); } }, - {"userAction", n => { UserAction = n.GetEnumValue(); } }, - {"verdictDetails", n => { VerdictDetails = n.GetEnumValue(); } }, + { "dlpAction", n => { DlpAction = n.GetEnumValue(); } }, + { "justificationText", n => { JustificationText = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyTip", n => { PolicyTip = n.GetObjectValue(ChatMessagePolicyViolationPolicyTip.CreateFromDiscriminatorValue); } }, + { "userAction", n => { UserAction = n.GetEnumValue(); } }, + { "verdictDetails", n => { VerdictDetails = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessagePolicyViolationDlpActionTypes.cs b/src/generated/Models/ChatMessagePolicyViolationDlpActionTypes.cs index 7e763ad0b2..418bea2308 100644 --- a/src/generated/Models/ChatMessagePolicyViolationDlpActionTypes.cs +++ b/src/generated/Models/ChatMessagePolicyViolationDlpActionTypes.cs @@ -1,17 +1,28 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ChatMessagePolicyViolationDlpActionTypes + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "notifySender")] + #pragma warning disable CS1591 NotifySender = 2, + #pragma warning restore CS1591 [EnumMember(Value = "blockAccess")] + #pragma warning disable CS1591 BlockAccess = 4, + #pragma warning restore CS1591 [EnumMember(Value = "blockAccessExternal")] + #pragma warning disable CS1591 BlockAccessExternal = 8, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatMessagePolicyViolationPolicyTip.cs b/src/generated/Models/ChatMessagePolicyViolationPolicyTip.cs index 9366ef9fcf..6336b24b4e 100644 --- a/src/generated/Models/ChatMessagePolicyViolationPolicyTip.cs +++ b/src/generated/Models/ChatMessagePolicyViolationPolicyTip.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessagePolicyViolationPolicyTip : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessagePolicyViolationPolicyTip : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"complianceUrl", n => { ComplianceUrl = n.GetStringValue(); } }, - {"generalText", n => { GeneralText = n.GetStringValue(); } }, - {"matchedConditionDescriptions", n => { MatchedConditionDescriptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "complianceUrl", n => { ComplianceUrl = n.GetStringValue(); } }, + { "generalText", n => { GeneralText = n.GetStringValue(); } }, + { "matchedConditionDescriptions", n => { MatchedConditionDescriptions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChatMessagePolicyViolationUserActionTypes.cs b/src/generated/Models/ChatMessagePolicyViolationUserActionTypes.cs index ac305d6617..6a3848c429 100644 --- a/src/generated/Models/ChatMessagePolicyViolationUserActionTypes.cs +++ b/src/generated/Models/ChatMessagePolicyViolationUserActionTypes.cs @@ -1,15 +1,24 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ChatMessagePolicyViolationUserActionTypes + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "override")] + #pragma warning disable CS1591 Override = 2, + #pragma warning restore CS1591 [EnumMember(Value = "reportFalsePositive")] + #pragma warning disable CS1591 ReportFalsePositive = 4, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatMessagePolicyViolationVerdictDetailsTypes.cs b/src/generated/Models/ChatMessagePolicyViolationVerdictDetailsTypes.cs index 6fc2a6a9a3..2338d7757c 100644 --- a/src/generated/Models/ChatMessagePolicyViolationVerdictDetailsTypes.cs +++ b/src/generated/Models/ChatMessagePolicyViolationVerdictDetailsTypes.cs @@ -1,17 +1,28 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ChatMessagePolicyViolationVerdictDetailsTypes + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "allowFalsePositiveOverride")] + #pragma warning disable CS1591 AllowFalsePositiveOverride = 2, + #pragma warning restore CS1591 [EnumMember(Value = "allowOverrideWithoutJustification")] + #pragma warning disable CS1591 AllowOverrideWithoutJustification = 4, + #pragma warning restore CS1591 [EnumMember(Value = "allowOverrideWithJustification")] + #pragma warning disable CS1591 AllowOverrideWithJustification = 8, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatMessageReaction.cs b/src/generated/Models/ChatMessageReaction.cs index 0eeeb92895..9f04b86b21 100644 --- a/src/generated/Models/ChatMessageReaction.cs +++ b/src/generated/Models/ChatMessageReaction.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageReaction : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageReaction : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"reactionType", n => { ReactionType = n.GetStringValue(); } }, - {"user", n => { User = n.GetObjectValue(ChatMessageReactionIdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + { "user", n => { User = n.GetObjectValue(ChatMessageReactionIdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChatMessageReactionIdentitySet.cs b/src/generated/Models/ChatMessageReactionIdentitySet.cs index ec9f42894c..9e9766f065 100644 --- a/src/generated/Models/ChatMessageReactionIdentitySet.cs +++ b/src/generated/Models/ChatMessageReactionIdentitySet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatMessageReactionIdentitySet : IdentitySet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatMessageReactionIdentitySet : IdentitySet, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ChatMessageType.cs b/src/generated/Models/ChatMessageType.cs index 25aec1b3e1..e9db8c972d 100644 --- a/src/generated/Models/ChatMessageType.cs +++ b/src/generated/Models/ChatMessageType.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ChatMessageType + #pragma warning restore CS1591 { [EnumMember(Value = "message")] + #pragma warning disable CS1591 Message, + #pragma warning restore CS1591 [EnumMember(Value = "chatEvent")] + #pragma warning disable CS1591 ChatEvent, + #pragma warning restore CS1591 [EnumMember(Value = "typing")] + #pragma warning disable CS1591 Typing, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "systemEventMessage")] + #pragma warning disable CS1591 SystemEventMessage, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatRenamedEventMessageDetail.cs b/src/generated/Models/ChatRenamedEventMessageDetail.cs index e926ee6f00..74eaa5c5ce 100644 --- a/src/generated/Models/ChatRenamedEventMessageDetail.cs +++ b/src/generated/Models/ChatRenamedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatRenamedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatRenamedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// The updated name of the chat. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"chatDisplayName", n => { ChatDisplayName = n.GetStringValue(); } }, - {"chatId", n => { ChatId = n.GetStringValue(); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "chatDisplayName", n => { ChatDisplayName = n.GetStringValue(); } }, + { "chatId", n => { ChatId = n.GetStringValue(); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ChatType.cs b/src/generated/Models/ChatType.cs index 5eba9dc621..0443216e6a 100644 --- a/src/generated/Models/ChatType.cs +++ b/src/generated/Models/ChatType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ChatType + #pragma warning restore CS1591 { [EnumMember(Value = "oneOnOne")] + #pragma warning disable CS1591 OneOnOne, + #pragma warning restore CS1591 [EnumMember(Value = "group")] + #pragma warning disable CS1591 Group, + #pragma warning restore CS1591 [EnumMember(Value = "meeting")] + #pragma warning disable CS1591 Meeting, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ChatViewpoint.cs b/src/generated/Models/ChatViewpoint.cs index ab529c9531..d5c5c91bfa 100644 --- a/src/generated/Models/ChatViewpoint.cs +++ b/src/generated/Models/ChatViewpoint.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChatViewpoint : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChatViewpoint : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -46,9 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isHidden", n => { IsHidden = n.GetBoolValue(); } }, - {"lastMessageReadDateTime", n => { LastMessageReadDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isHidden", n => { IsHidden = n.GetBoolValue(); } }, + { "lastMessageReadDateTime", n => { LastMessageReadDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ChecklistItem.cs b/src/generated/Models/ChecklistItem.cs index fe7e066e36..bce0f9e239 100644 --- a/src/generated/Models/ChecklistItem.cs +++ b/src/generated/Models/ChecklistItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChecklistItem : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChecklistItem : Entity, IParsable + #pragma warning restore CS1591 { /// The date and time when the checklistItem was finished. public DateTimeOffset? CheckedDateTime { get; set; } @@ -39,10 +42,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"checkedDateTime", n => { CheckedDateTime = n.GetDateTimeOffsetValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isChecked", n => { IsChecked = n.GetBoolValue(); } }, + { "checkedDateTime", n => { CheckedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isChecked", n => { IsChecked = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/ChecklistItemCollectionResponse.cs b/src/generated/Models/ChecklistItemCollectionResponse.cs index 3a506afcd0..04e0888ea8 100644 --- a/src/generated/Models/ChecklistItemCollectionResponse.cs +++ b/src/generated/Models/ChecklistItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChecklistItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChecklistItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ChecklistItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ChecklistItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ChoiceColumn.cs b/src/generated/Models/ChoiceColumn.cs index 3f23958f94..085e575c18 100644 --- a/src/generated/Models/ChoiceColumn.cs +++ b/src/generated/Models/ChoiceColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ChoiceColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ChoiceColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowTextEntry", n => { AllowTextEntry = n.GetBoolValue(); } }, - {"choices", n => { Choices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"displayAs", n => { DisplayAs = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "allowTextEntry", n => { AllowTextEntry = n.GetBoolValue(); } }, + { "choices", n => { Choices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "displayAs", n => { DisplayAs = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ClaimsMappingPolicy.cs b/src/generated/Models/ClaimsMappingPolicy.cs index 076058c31a..97b7f3474d 100644 --- a/src/generated/Models/ClaimsMappingPolicy.cs +++ b/src/generated/Models/ClaimsMappingPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ClaimsMappingPolicy : StsPolicy, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ClaimsMappingPolicy : StsPolicy, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ClaimsMappingPolicyCollectionResponse.cs b/src/generated/Models/ClaimsMappingPolicyCollectionResponse.cs index 58978e9b7a..521fbcca78 100644 --- a/src/generated/Models/ClaimsMappingPolicyCollectionResponse.cs +++ b/src/generated/Models/ClaimsMappingPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ClaimsMappingPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ClaimsMappingPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ClaimsMappingPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ClaimsMappingPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ClientCertificateAuthentication.cs b/src/generated/Models/ClientCertificateAuthentication.cs index b28ff6706e..cf4179e201 100644 --- a/src/generated/Models/ClientCertificateAuthentication.cs +++ b/src/generated/Models/ClientCertificateAuthentication.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ClientCertificateAuthentication : ApiAuthenticationConfigurationBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ClientCertificateAuthentication : ApiAuthenticationConfigurationBase, IParsable + #pragma warning restore CS1591 { /// The list of certificates uploaded for this API connector. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"certificateList", n => { CertificateList = n.GetCollectionOfObjectValues(Pkcs12CertificateInformation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "certificateList", n => { CertificateList = n.GetCollectionOfObjectValues(Pkcs12CertificateInformation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ClonableTeamParts.cs b/src/generated/Models/ClonableTeamParts.cs index 9d9b88a961..1dd8116562 100644 --- a/src/generated/Models/ClonableTeamParts.cs +++ b/src/generated/Models/ClonableTeamParts.cs @@ -1,19 +1,32 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ClonableTeamParts + #pragma warning restore CS1591 { [EnumMember(Value = "apps")] + #pragma warning disable CS1591 Apps = 1, + #pragma warning restore CS1591 [EnumMember(Value = "tabs")] + #pragma warning disable CS1591 Tabs = 2, + #pragma warning restore CS1591 [EnumMember(Value = "settings")] + #pragma warning disable CS1591 Settings = 4, + #pragma warning restore CS1591 [EnumMember(Value = "channels")] + #pragma warning disable CS1591 Channels = 8, + #pragma warning restore CS1591 [EnumMember(Value = "members")] + #pragma warning disable CS1591 Members = 16, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudAppSecuritySessionControl.cs b/src/generated/Models/CloudAppSecuritySessionControl.cs index 47fa8387c8..5dd17c7a1b 100644 --- a/src/generated/Models/CloudAppSecuritySessionControl.cs +++ b/src/generated/Models/CloudAppSecuritySessionControl.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudAppSecuritySessionControl : ConditionalAccessSessionControl, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudAppSecuritySessionControl : ConditionalAccessSessionControl, IParsable + #pragma warning restore CS1591 { /// Possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps. public CloudAppSecuritySessionControlType? CloudAppSecurityType { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"cloudAppSecurityType", n => { CloudAppSecurityType = n.GetEnumValue(); } }, + { "cloudAppSecurityType", n => { CloudAppSecurityType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CloudAppSecuritySessionControlType.cs b/src/generated/Models/CloudAppSecuritySessionControlType.cs index d9fac4f9cc..0b5c252ce1 100644 --- a/src/generated/Models/CloudAppSecuritySessionControlType.cs +++ b/src/generated/Models/CloudAppSecuritySessionControlType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudAppSecuritySessionControlType + #pragma warning restore CS1591 { [EnumMember(Value = "mcasConfigured")] + #pragma warning disable CS1591 McasConfigured, + #pragma warning restore CS1591 [EnumMember(Value = "monitorOnly")] + #pragma warning disable CS1591 MonitorOnly, + #pragma warning restore CS1591 [EnumMember(Value = "blockDownloads")] + #pragma warning disable CS1591 BlockDownloads, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudAppSecurityState.cs b/src/generated/Models/CloudAppSecurityState.cs index dea2d9cccc..46ae511320 100644 --- a/src/generated/Models/CloudAppSecurityState.cs +++ b/src/generated/Models/CloudAppSecurityState.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudAppSecurityState : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudAppSecurityState : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"destinationServiceIp", n => { DestinationServiceIp = n.GetStringValue(); } }, - {"destinationServiceName", n => { DestinationServiceName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"riskScore", n => { RiskScore = n.GetStringValue(); } }, + { "destinationServiceIp", n => { DestinationServiceIp = n.GetStringValue(); } }, + { "destinationServiceName", n => { DestinationServiceName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "riskScore", n => { RiskScore = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudClipboardItem.cs b/src/generated/Models/CloudClipboardItem.cs index 65d3ad7b43..0f46811915 100644 --- a/src/generated/Models/CloudClipboardItem.cs +++ b/src/generated/Models/CloudClipboardItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudClipboardItem : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudClipboardItem : Entity, IParsable + #pragma warning restore CS1591 { /// Set by the server. DateTime in UTC when the object was created on the server. public DateTimeOffset? CreatedDateTime { get; set; } @@ -39,10 +42,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"payloads", n => { Payloads = n.GetCollectionOfObjectValues(CloudClipboardItemPayload.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "payloads", n => { Payloads = n.GetCollectionOfObjectValues(CloudClipboardItemPayload.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudClipboardItemCollectionResponse.cs b/src/generated/Models/CloudClipboardItemCollectionResponse.cs index 0189817d99..dbd5201ce2 100644 --- a/src/generated/Models/CloudClipboardItemCollectionResponse.cs +++ b/src/generated/Models/CloudClipboardItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudClipboardItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudClipboardItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudClipboardItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudClipboardItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudClipboardItemPayload.cs b/src/generated/Models/CloudClipboardItemPayload.cs index ca31ce9697..7434ffdc66 100644 --- a/src/generated/Models/CloudClipboardItemPayload.cs +++ b/src/generated/Models/CloudClipboardItemPayload.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudClipboardItemPayload : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudClipboardItemPayload : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"content", n => { Content = n.GetStringValue(); } }, - {"formatName", n => { FormatName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "content", n => { Content = n.GetStringValue(); } }, + { "formatName", n => { FormatName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudClipboardRoot.cs b/src/generated/Models/CloudClipboardRoot.cs index 1996dd8395..c897073869 100644 --- a/src/generated/Models/CloudClipboardRoot.cs +++ b/src/generated/Models/CloudClipboardRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudClipboardRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudClipboardRoot : Entity, IParsable + #pragma warning restore CS1591 { /// Represents a collection of Cloud Clipboard items. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"items", n => { Items = n.GetCollectionOfObjectValues(CloudClipboardItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "items", n => { Items = n.GetCollectionOfObjectValues(CloudClipboardItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudCommunications.cs b/src/generated/Models/CloudCommunications.cs index 18f7c22b84..42af6004d9 100644 --- a/src/generated/Models/CloudCommunications.cs +++ b/src/generated/Models/CloudCommunications.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudCommunications : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudCommunications : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -75,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"callRecords", n => { CallRecords = n.GetCollectionOfObjectValues(CallRecord.CreateFromDiscriminatorValue)?.ToList(); } }, - {"calls", n => { Calls = n.GetCollectionOfObjectValues(Call.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"onlineMeetings", n => { OnlineMeetings = n.GetCollectionOfObjectValues(OnlineMeeting.CreateFromDiscriminatorValue)?.ToList(); } }, - {"presences", n => { Presences = n.GetCollectionOfObjectValues(Presence.CreateFromDiscriminatorValue)?.ToList(); } }, + { "callRecords", n => { CallRecords = n.GetCollectionOfObjectValues(CallRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "calls", n => { Calls = n.GetCollectionOfObjectValues(Call.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "onlineMeetings", n => { OnlineMeetings = n.GetCollectionOfObjectValues(OnlineMeeting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "presences", n => { Presences = n.GetCollectionOfObjectValues(Presence.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPC.cs b/src/generated/Models/CloudPC.cs index 2104f2bd13..e53c44c7fc 100644 --- a/src/generated/Models/CloudPC.cs +++ b/src/generated/Models/CloudPC.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPC : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPC : Entity, IParsable + #pragma warning restore CS1591 { /// The Microsoft Entra device ID for the Cloud PC, also known as the Azure Active Directory (Azure AD) device ID, that consists of 32 characters in a GUID format. Generated on a VM joined to Microsoft Entra ID. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -119,20 +122,20 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"aadDeviceId", n => { AadDeviceId = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"gracePeriodEndDateTime", n => { GracePeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, - {"imageDisplayName", n => { ImageDisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"managedDeviceId", n => { ManagedDeviceId = n.GetStringValue(); } }, - {"managedDeviceName", n => { ManagedDeviceName = n.GetStringValue(); } }, - {"onPremisesConnectionName", n => { OnPremisesConnectionName = n.GetStringValue(); } }, - {"provisioningPolicyId", n => { ProvisioningPolicyId = n.GetStringValue(); } }, - {"provisioningPolicyName", n => { ProvisioningPolicyName = n.GetStringValue(); } }, - {"provisioningType", n => { ProvisioningType = n.GetEnumValue(); } }, - {"servicePlanId", n => { ServicePlanId = n.GetStringValue(); } }, - {"servicePlanName", n => { ServicePlanName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "aadDeviceId", n => { AadDeviceId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "gracePeriodEndDateTime", n => { GracePeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, + { "imageDisplayName", n => { ImageDisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "managedDeviceId", n => { ManagedDeviceId = n.GetStringValue(); } }, + { "managedDeviceName", n => { ManagedDeviceName = n.GetStringValue(); } }, + { "onPremisesConnectionName", n => { OnPremisesConnectionName = n.GetStringValue(); } }, + { "provisioningPolicyId", n => { ProvisioningPolicyId = n.GetStringValue(); } }, + { "provisioningPolicyName", n => { ProvisioningPolicyName = n.GetStringValue(); } }, + { "provisioningType", n => { ProvisioningType = n.GetEnumValue(); } }, + { "servicePlanId", n => { ServicePlanId = n.GetStringValue(); } }, + { "servicePlanName", n => { ServicePlanName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPCCollectionResponse.cs b/src/generated/Models/CloudPCCollectionResponse.cs index cfb8cd215b..31d00abb42 100644 --- a/src/generated/Models/CloudPCCollectionResponse.cs +++ b/src/generated/Models/CloudPCCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPCCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPCCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPC.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPC.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcAuditActivityOperationType.cs b/src/generated/Models/CloudPcAuditActivityOperationType.cs index 823be630d2..44ebbe3a26 100644 --- a/src/generated/Models/CloudPcAuditActivityOperationType.cs +++ b/src/generated/Models/CloudPcAuditActivityOperationType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcAuditActivityOperationType + #pragma warning restore CS1591 { [EnumMember(Value = "create")] + #pragma warning disable CS1591 Create, + #pragma warning restore CS1591 [EnumMember(Value = "delete")] + #pragma warning disable CS1591 Delete, + #pragma warning restore CS1591 [EnumMember(Value = "patch")] + #pragma warning disable CS1591 Patch, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcAuditActivityResult.cs b/src/generated/Models/CloudPcAuditActivityResult.cs index 7ff77ca94f..0f2d15aba4 100644 --- a/src/generated/Models/CloudPcAuditActivityResult.cs +++ b/src/generated/Models/CloudPcAuditActivityResult.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcAuditActivityResult + #pragma warning restore CS1591 { [EnumMember(Value = "success")] + #pragma warning disable CS1591 Success, + #pragma warning restore CS1591 [EnumMember(Value = "clientError")] + #pragma warning disable CS1591 ClientError, + #pragma warning restore CS1591 [EnumMember(Value = "failure")] + #pragma warning disable CS1591 Failure, + #pragma warning restore CS1591 [EnumMember(Value = "timeout")] + #pragma warning disable CS1591 Timeout, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcAuditActor.cs b/src/generated/Models/CloudPcAuditActor.cs index b474ceff1d..83f7436d7d 100644 --- a/src/generated/Models/CloudPcAuditActor.cs +++ b/src/generated/Models/CloudPcAuditActor.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcAuditActor : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcAuditActor : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -122,17 +125,17 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationDisplayName", n => { ApplicationDisplayName = n.GetStringValue(); } }, - {"applicationId", n => { ApplicationId = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"remoteTenantId", n => { RemoteTenantId = n.GetStringValue(); } }, - {"remoteUserId", n => { RemoteUserId = n.GetStringValue(); } }, - {"servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userPermissions", n => { UserPermissions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - {"userRoleScopeTags", n => { UserRoleScopeTags = n.GetCollectionOfObjectValues(CloudPcUserRoleScopeTagInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "applicationDisplayName", n => { ApplicationDisplayName = n.GetStringValue(); } }, + { "applicationId", n => { ApplicationId = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "remoteTenantId", n => { RemoteTenantId = n.GetStringValue(); } }, + { "remoteUserId", n => { RemoteUserId = n.GetStringValue(); } }, + { "servicePrincipalName", n => { ServicePrincipalName = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userPermissions", n => { UserPermissions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "userRoleScopeTags", n => { UserRoleScopeTags = n.GetCollectionOfObjectValues(CloudPcUserRoleScopeTagInfo.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcAuditCategory.cs b/src/generated/Models/CloudPcAuditCategory.cs index 079a528157..8364be1bbe 100644 --- a/src/generated/Models/CloudPcAuditCategory.cs +++ b/src/generated/Models/CloudPcAuditCategory.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcAuditCategory + #pragma warning restore CS1591 { [EnumMember(Value = "cloudPC")] + #pragma warning disable CS1591 CloudPC, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcAuditEvent.cs b/src/generated/Models/CloudPcAuditEvent.cs index 4ff0f0792c..ed605a92c9 100644 --- a/src/generated/Models/CloudPcAuditEvent.cs +++ b/src/generated/Models/CloudPcAuditEvent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcAuditEvent : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcAuditEvent : Entity, IParsable + #pragma warning restore CS1591 { /// The friendly name of the audit activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -89,17 +92,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activity", n => { Activity = n.GetStringValue(); } }, - {"activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, - {"activityOperationType", n => { ActivityOperationType = n.GetEnumValue(); } }, - {"activityResult", n => { ActivityResult = n.GetEnumValue(); } }, - {"activityType", n => { ActivityType = n.GetStringValue(); } }, - {"actor", n => { Actor = n.GetObjectValue(CloudPcAuditActor.CreateFromDiscriminatorValue); } }, - {"category", n => { Category = n.GetEnumValue(); } }, - {"componentName", n => { ComponentName = n.GetStringValue(); } }, - {"correlationId", n => { CorrelationId = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(CloudPcAuditResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activity", n => { Activity = n.GetStringValue(); } }, + { "activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, + { "activityOperationType", n => { ActivityOperationType = n.GetEnumValue(); } }, + { "activityResult", n => { ActivityResult = n.GetEnumValue(); } }, + { "activityType", n => { ActivityType = n.GetStringValue(); } }, + { "actor", n => { Actor = n.GetObjectValue(CloudPcAuditActor.CreateFromDiscriminatorValue); } }, + { "category", n => { Category = n.GetEnumValue(); } }, + { "componentName", n => { ComponentName = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(CloudPcAuditResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcAuditEventCollectionResponse.cs b/src/generated/Models/CloudPcAuditEventCollectionResponse.cs index abc71a7739..caa9454e03 100644 --- a/src/generated/Models/CloudPcAuditEventCollectionResponse.cs +++ b/src/generated/Models/CloudPcAuditEventCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcAuditEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcAuditEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcAuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcAuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcAuditProperty.cs b/src/generated/Models/CloudPcAuditProperty.cs index 07e13df357..1e6f6db5c2 100644 --- a/src/generated/Models/CloudPcAuditProperty.cs +++ b/src/generated/Models/CloudPcAuditProperty.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcAuditProperty : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcAuditProperty : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"newValue", n => { NewValue = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"oldValue", n => { OldValue = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "newValue", n => { NewValue = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "oldValue", n => { OldValue = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcAuditResource.cs b/src/generated/Models/CloudPcAuditResource.cs index c0da0b8cb7..0df82fa8aa 100644 --- a/src/generated/Models/CloudPcAuditResource.cs +++ b/src/generated/Models/CloudPcAuditResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcAuditResource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcAuditResource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"modifiedProperties", n => { ModifiedProperties = n.GetCollectionOfObjectValues(CloudPcAuditProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "modifiedProperties", n => { ModifiedProperties = n.GetCollectionOfObjectValues(CloudPcAuditProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcDeviceImage.cs b/src/generated/Models/CloudPcDeviceImage.cs index 38138e6286..db2ad73ced 100644 --- a/src/generated/Models/CloudPcDeviceImage.cs +++ b/src/generated/Models/CloudPcDeviceImage.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcDeviceImage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcDeviceImage : Entity, IParsable + #pragma warning restore CS1591 { /// The display name of the associated device image. The device image display name and the version are used to uniquely identify the Cloud PC device image. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -76,16 +79,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"errorCode", n => { ErrorCode = n.GetEnumValue(); } }, - {"expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, - {"osBuildNumber", n => { OsBuildNumber = n.GetStringValue(); } }, - {"osStatus", n => { OsStatus = n.GetEnumValue(); } }, - {"sourceImageResourceId", n => { SourceImageResourceId = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"version", n => { Version = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "errorCode", n => { ErrorCode = n.GetEnumValue(); } }, + { "expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "osBuildNumber", n => { OsBuildNumber = n.GetStringValue(); } }, + { "osStatus", n => { OsStatus = n.GetEnumValue(); } }, + { "sourceImageResourceId", n => { SourceImageResourceId = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcDeviceImageCollectionResponse.cs b/src/generated/Models/CloudPcDeviceImageCollectionResponse.cs index 063d681d96..118a68b180 100644 --- a/src/generated/Models/CloudPcDeviceImageCollectionResponse.cs +++ b/src/generated/Models/CloudPcDeviceImageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcDeviceImageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcDeviceImageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcDeviceImage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcDeviceImage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcDeviceImageErrorCode.cs b/src/generated/Models/CloudPcDeviceImageErrorCode.cs index 1e407b5845..62e6774722 100644 --- a/src/generated/Models/CloudPcDeviceImageErrorCode.cs +++ b/src/generated/Models/CloudPcDeviceImageErrorCode.cs @@ -1,28 +1,51 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcDeviceImageErrorCode + #pragma warning restore CS1591 { [EnumMember(Value = "internalServerError")] + #pragma warning disable CS1591 InternalServerError, + #pragma warning restore CS1591 [EnumMember(Value = "sourceImageNotFound")] + #pragma warning disable CS1591 SourceImageNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "osVersionNotSupported")] + #pragma warning disable CS1591 OsVersionNotSupported, + #pragma warning restore CS1591 [EnumMember(Value = "sourceImageInvalid")] + #pragma warning disable CS1591 SourceImageInvalid, + #pragma warning restore CS1591 [EnumMember(Value = "sourceImageNotGeneralized")] + #pragma warning disable CS1591 SourceImageNotGeneralized, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "vmAlreadyAzureAdjoined")] + #pragma warning disable CS1591 VmAlreadyAzureAdjoined, + #pragma warning restore CS1591 [EnumMember(Value = "paidSourceImageNotSupport")] + #pragma warning disable CS1591 PaidSourceImageNotSupport, + #pragma warning restore CS1591 [EnumMember(Value = "sourceImageNotSupportCustomizeVMName")] + #pragma warning disable CS1591 SourceImageNotSupportCustomizeVMName, + #pragma warning restore CS1591 [EnumMember(Value = "sourceImageSizeExceedsLimitation")] + #pragma warning disable CS1591 SourceImageSizeExceedsLimitation, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcDeviceImageOsStatus.cs b/src/generated/Models/CloudPcDeviceImageOsStatus.cs index 6f1c6a449e..2049158cc2 100644 --- a/src/generated/Models/CloudPcDeviceImageOsStatus.cs +++ b/src/generated/Models/CloudPcDeviceImageOsStatus.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcDeviceImageOsStatus + #pragma warning restore CS1591 { [EnumMember(Value = "supported")] + #pragma warning disable CS1591 Supported, + #pragma warning restore CS1591 [EnumMember(Value = "supportedWithWarning")] + #pragma warning disable CS1591 SupportedWithWarning, + #pragma warning restore CS1591 [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcDeviceImageStatus.cs b/src/generated/Models/CloudPcDeviceImageStatus.cs index 4fceb2ff1f..924d4ce5c2 100644 --- a/src/generated/Models/CloudPcDeviceImageStatus.cs +++ b/src/generated/Models/CloudPcDeviceImageStatus.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcDeviceImageStatus + #pragma warning restore CS1591 { [EnumMember(Value = "pending")] + #pragma warning disable CS1591 Pending, + #pragma warning restore CS1591 [EnumMember(Value = "ready")] + #pragma warning disable CS1591 Ready, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcDomainJoinConfiguration.cs b/src/generated/Models/CloudPcDomainJoinConfiguration.cs index d3b556de8e..7b39ca5653 100644 --- a/src/generated/Models/CloudPcDomainJoinConfiguration.cs +++ b/src/generated/Models/CloudPcDomainJoinConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcDomainJoinConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcDomainJoinConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -62,11 +65,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"domainJoinType", n => { DomainJoinType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"onPremisesConnectionId", n => { OnPremisesConnectionId = n.GetStringValue(); } }, - {"regionGroup", n => { RegionGroup = n.GetEnumValue(); } }, - {"regionName", n => { RegionName = n.GetStringValue(); } }, + { "domainJoinType", n => { DomainJoinType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "onPremisesConnectionId", n => { OnPremisesConnectionId = n.GetStringValue(); } }, + { "regionGroup", n => { RegionGroup = n.GetEnumValue(); } }, + { "regionName", n => { RegionName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcDomainJoinType.cs b/src/generated/Models/CloudPcDomainJoinType.cs index 8e8cba56dc..8358f949d2 100644 --- a/src/generated/Models/CloudPcDomainJoinType.cs +++ b/src/generated/Models/CloudPcDomainJoinType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcDomainJoinType + #pragma warning restore CS1591 { [EnumMember(Value = "azureADJoin")] + #pragma warning disable CS1591 AzureADJoin, + #pragma warning restore CS1591 [EnumMember(Value = "hybridAzureADJoin")] + #pragma warning disable CS1591 HybridAzureADJoin, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcGalleryImage.cs b/src/generated/Models/CloudPcGalleryImage.cs index afe1e64a0b..00f74c0c5e 100644 --- a/src/generated/Models/CloudPcGalleryImage.cs +++ b/src/generated/Models/CloudPcGalleryImage.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcGalleryImage : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcGalleryImage : Entity, IParsable + #pragma warning restore CS1591 { /// The display name of this gallery image. For example, Windows 11 Enterprise + Microsoft 365 Apps 22H2. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -68,15 +71,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"endDate", n => { EndDate = n.GetDateValue(); } }, - {"expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, - {"offerName", n => { OfferName = n.GetStringValue(); } }, - {"publisherName", n => { PublisherName = n.GetStringValue(); } }, - {"sizeInGB", n => { SizeInGB = n.GetIntValue(); } }, - {"skuName", n => { SkuName = n.GetStringValue(); } }, - {"startDate", n => { StartDate = n.GetDateValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endDate", n => { EndDate = n.GetDateValue(); } }, + { "expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, + { "offerName", n => { OfferName = n.GetStringValue(); } }, + { "publisherName", n => { PublisherName = n.GetStringValue(); } }, + { "sizeInGB", n => { SizeInGB = n.GetIntValue(); } }, + { "skuName", n => { SkuName = n.GetStringValue(); } }, + { "startDate", n => { StartDate = n.GetDateValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcGalleryImageCollectionResponse.cs b/src/generated/Models/CloudPcGalleryImageCollectionResponse.cs index d70ef8ac56..9d9330ee54 100644 --- a/src/generated/Models/CloudPcGalleryImageCollectionResponse.cs +++ b/src/generated/Models/CloudPcGalleryImageCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcGalleryImageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcGalleryImageCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcGalleryImage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcGalleryImage.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcGalleryImageStatus.cs b/src/generated/Models/CloudPcGalleryImageStatus.cs index f9a3aadca1..4252efe6a7 100644 --- a/src/generated/Models/CloudPcGalleryImageStatus.cs +++ b/src/generated/Models/CloudPcGalleryImageStatus.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcGalleryImageStatus + #pragma warning restore CS1591 { [EnumMember(Value = "supported")] + #pragma warning disable CS1591 Supported, + #pragma warning restore CS1591 [EnumMember(Value = "supportedWithWarning")] + #pragma warning disable CS1591 SupportedWithWarning, + #pragma warning restore CS1591 [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 NotSupported, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcManagementAssignmentTarget.cs b/src/generated/Models/CloudPcManagementAssignmentTarget.cs index 8c6abb6bc5..7df0eebf3b 100644 --- a/src/generated/Models/CloudPcManagementAssignmentTarget.cs +++ b/src/generated/Models/CloudPcManagementAssignmentTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcManagementAssignmentTarget : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcManagementAssignmentTarget : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcManagementGroupAssignmentTarget.cs b/src/generated/Models/CloudPcManagementGroupAssignmentTarget.cs index dbf6be0a92..27c1224eb5 100644 --- a/src/generated/Models/CloudPcManagementGroupAssignmentTarget.cs +++ b/src/generated/Models/CloudPcManagementGroupAssignmentTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcManagementGroupAssignmentTarget : CloudPcManagementAssignmentTarget, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcManagementGroupAssignmentTarget : CloudPcManagementAssignmentTarget, IParsable + #pragma warning restore CS1591 { /// The ID of the target group for the assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"groupId", n => { GroupId = n.GetStringValue(); } }, - {"servicePlanId", n => { ServicePlanId = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "servicePlanId", n => { ServicePlanId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcOnPremisesConnection.cs b/src/generated/Models/CloudPcOnPremisesConnection.cs index 4b9ab28a5f..a60ecb4f1b 100644 --- a/src/generated/Models/CloudPcOnPremisesConnection.cs +++ b/src/generated/Models/CloudPcOnPremisesConnection.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcOnPremisesConnection : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcOnPremisesConnection : Entity, IParsable + #pragma warning restore CS1591 { /// The fully qualified domain name (FQDN) of the Active Directory domain you want to join. Maximum length is 255. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -135,22 +138,22 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"adDomainName", n => { AdDomainName = n.GetStringValue(); } }, - {"adDomainPassword", n => { AdDomainPassword = n.GetStringValue(); } }, - {"adDomainUsername", n => { AdDomainUsername = n.GetStringValue(); } }, - {"alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, - {"connectionType", n => { ConnectionType = n.GetEnumValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"healthCheckStatus", n => { HealthCheckStatus = n.GetEnumValue(); } }, - {"healthCheckStatusDetail", n => { HealthCheckStatusDetail = n.GetObjectValue(CloudPcOnPremisesConnectionStatusDetail.CreateFromDiscriminatorValue); } }, - {"inUse", n => { InUse = n.GetBoolValue(); } }, - {"organizationalUnit", n => { OrganizationalUnit = n.GetStringValue(); } }, - {"resourceGroupId", n => { ResourceGroupId = n.GetStringValue(); } }, - {"subnetId", n => { SubnetId = n.GetStringValue(); } }, - {"subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, - {"subscriptionName", n => { SubscriptionName = n.GetStringValue(); } }, - {"virtualNetworkId", n => { VirtualNetworkId = n.GetStringValue(); } }, - {"virtualNetworkLocation", n => { VirtualNetworkLocation = n.GetStringValue(); } }, + { "adDomainName", n => { AdDomainName = n.GetStringValue(); } }, + { "adDomainPassword", n => { AdDomainPassword = n.GetStringValue(); } }, + { "adDomainUsername", n => { AdDomainUsername = n.GetStringValue(); } }, + { "alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, + { "connectionType", n => { ConnectionType = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "healthCheckStatus", n => { HealthCheckStatus = n.GetEnumValue(); } }, + { "healthCheckStatusDetail", n => { HealthCheckStatusDetail = n.GetObjectValue(CloudPcOnPremisesConnectionStatusDetail.CreateFromDiscriminatorValue); } }, + { "inUse", n => { InUse = n.GetBoolValue(); } }, + { "organizationalUnit", n => { OrganizationalUnit = n.GetStringValue(); } }, + { "resourceGroupId", n => { ResourceGroupId = n.GetStringValue(); } }, + { "subnetId", n => { SubnetId = n.GetStringValue(); } }, + { "subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, + { "subscriptionName", n => { SubscriptionName = n.GetStringValue(); } }, + { "virtualNetworkId", n => { VirtualNetworkId = n.GetStringValue(); } }, + { "virtualNetworkLocation", n => { VirtualNetworkLocation = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcOnPremisesConnectionCollectionResponse.cs b/src/generated/Models/CloudPcOnPremisesConnectionCollectionResponse.cs index 451dbbcdff..2a42ee47cc 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionCollectionResponse.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcOnPremisesConnectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcOnPremisesConnectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcOnPremisesConnection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcOnPremisesConnection.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs b/src/generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs index 0481b0a873..46125a4631 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcOnPremisesConnectionHealthCheck : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcOnPremisesConnectionHealthCheck : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,15 +85,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"additionalDetail", n => { AdditionalDetail = n.GetStringValue(); } }, - {"correlationId", n => { CorrelationId = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"errorType", n => { ErrorType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"recommendedAction", n => { RecommendedAction = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "additionalDetail", n => { AdditionalDetail = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "errorType", n => { ErrorType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recommendedAction", n => { RecommendedAction = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs b/src/generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs index 8535e8096d..5189c00fb9 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.cs @@ -1,144 +1,283 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcOnPremisesConnectionHealthCheckErrorType + #pragma warning restore CS1591 { [EnumMember(Value = "dnsCheckFqdnNotFound")] + #pragma warning disable CS1591 DnsCheckFqdnNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "dnsCheckNameWithInvalidCharacter")] + #pragma warning disable CS1591 DnsCheckNameWithInvalidCharacter, + #pragma warning restore CS1591 [EnumMember(Value = "dnsCheckUnknownError")] + #pragma warning disable CS1591 DnsCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckFqdnNotFound")] + #pragma warning disable CS1591 AdJoinCheckFqdnNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckIncorrectCredentials")] + #pragma warning disable CS1591 AdJoinCheckIncorrectCredentials, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckOrganizationalUnitNotFound")] + #pragma warning disable CS1591 AdJoinCheckOrganizationalUnitNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckOrganizationalUnitIncorrectFormat")] + #pragma warning disable CS1591 AdJoinCheckOrganizationalUnitIncorrectFormat, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckComputerObjectAlreadyExists")] + #pragma warning disable CS1591 AdJoinCheckComputerObjectAlreadyExists, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckAccessDenied")] + #pragma warning disable CS1591 AdJoinCheckAccessDenied, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckCredentialsExpired")] + #pragma warning disable CS1591 AdJoinCheckCredentialsExpired, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckAccountLockedOrDisabled")] + #pragma warning disable CS1591 AdJoinCheckAccountLockedOrDisabled, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckAccountQuotaExceeded")] + #pragma warning disable CS1591 AdJoinCheckAccountQuotaExceeded, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckServerNotOperational")] + #pragma warning disable CS1591 AdJoinCheckServerNotOperational, + #pragma warning restore CS1591 [EnumMember(Value = "adJoinCheckUnknownError")] + #pragma warning disable CS1591 AdJoinCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckCloudPcUrlNotAllowListed")] + #pragma warning disable CS1591 EndpointConnectivityCheckCloudPcUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckWVDUrlNotAllowListed")] + #pragma warning disable CS1591 EndpointConnectivityCheckWVDUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckIntuneUrlNotAllowListed")] + #pragma warning disable CS1591 EndpointConnectivityCheckIntuneUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckAzureADUrlNotAllowListed")] + #pragma warning disable CS1591 EndpointConnectivityCheckAzureADUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckLocaleUrlNotAllowListed")] + #pragma warning disable CS1591 EndpointConnectivityCheckLocaleUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "endpointConnectivityCheckUnknownError")] + #pragma warning disable CS1591 EndpointConnectivityCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckDeviceNotFound")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckDeviceNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckLongSyncCircle")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckLongSyncCircle, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckConnectDisabled")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckConnectDisabled, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckDurationExceeded")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckDurationExceeded, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckScpNotConfigured")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckScpNotConfigured, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckTransientServiceError")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckTransientServiceError, + #pragma warning restore CS1591 [EnumMember(Value = "azureAdDeviceSyncCheckUnknownError")] + #pragma warning disable CS1591 AzureAdDeviceSyncCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckNoSubnetIP")] + #pragma warning disable CS1591 ResourceAvailabilityCheckNoSubnetIP, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubscriptionDisabled")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubscriptionDisabled, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckAzurePolicyViolation")] + #pragma warning disable CS1591 ResourceAvailabilityCheckAzurePolicyViolation, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubscriptionNotFound")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubscriptionNotFound, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubscriptionTransferred")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubscriptionTransferred, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckGeneralSubscriptionError")] + #pragma warning disable CS1591 ResourceAvailabilityCheckGeneralSubscriptionError, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckUnsupportedVNetRegion")] + #pragma warning disable CS1591 ResourceAvailabilityCheckUnsupportedVNetRegion, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckResourceGroupInvalid")] + #pragma warning disable CS1591 ResourceAvailabilityCheckResourceGroupInvalid, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckVNetInvalid")] + #pragma warning disable CS1591 ResourceAvailabilityCheckVNetInvalid, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubnetInvalid")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubnetInvalid, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckResourceGroupBeingDeleted")] + #pragma warning disable CS1591 ResourceAvailabilityCheckResourceGroupBeingDeleted, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckVNetBeingMoved")] + #pragma warning disable CS1591 ResourceAvailabilityCheckVNetBeingMoved, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubnetDelegationFailed")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubnetDelegationFailed, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckSubnetWithExternalResources")] + #pragma warning disable CS1591 ResourceAvailabilityCheckSubnetWithExternalResources, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckResourceGroupLockedForReadonly")] + #pragma warning disable CS1591 ResourceAvailabilityCheckResourceGroupLockedForReadonly, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckResourceGroupLockedForDelete")] + #pragma warning disable CS1591 ResourceAvailabilityCheckResourceGroupLockedForDelete, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckNoIntuneReaderRoleError")] + #pragma warning disable CS1591 ResourceAvailabilityCheckNoIntuneReaderRoleError, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation")] + #pragma warning disable CS1591 ResourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation")] + #pragma warning disable CS1591 ResourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckDeploymentQuotaLimitReached")] + #pragma warning disable CS1591 ResourceAvailabilityCheckDeploymentQuotaLimitReached, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckTransientServiceError")] + #pragma warning disable CS1591 ResourceAvailabilityCheckTransientServiceError, + #pragma warning restore CS1591 [EnumMember(Value = "resourceAvailabilityCheckUnknownError")] + #pragma warning disable CS1591 ResourceAvailabilityCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoSubscriptionReaderRole")] + #pragma warning disable CS1591 PermissionCheckNoSubscriptionReaderRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoResourceGroupOwnerRole")] + #pragma warning disable CS1591 PermissionCheckNoResourceGroupOwnerRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoVNetContributorRole")] + #pragma warning disable CS1591 PermissionCheckNoVNetContributorRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoResourceGroupNetworkContributorRole")] + #pragma warning disable CS1591 PermissionCheckNoResourceGroupNetworkContributorRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoWindows365NetworkUserRole")] + #pragma warning disable CS1591 PermissionCheckNoWindows365NetworkUserRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckNoWindows365NetworkInterfaceContributorRole")] + #pragma warning disable CS1591 PermissionCheckNoWindows365NetworkInterfaceContributorRole, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckTransientServiceError")] + #pragma warning disable CS1591 PermissionCheckTransientServiceError, + #pragma warning restore CS1591 [EnumMember(Value = "permissionCheckUnknownError")] + #pragma warning disable CS1591 PermissionCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "udpConnectivityCheckStunUrlNotAllowListed")] + #pragma warning disable CS1591 UdpConnectivityCheckStunUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "udpConnectivityCheckTurnUrlNotAllowListed")] + #pragma warning disable CS1591 UdpConnectivityCheckTurnUrlNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "udpConnectivityCheckUrlsNotAllowListed")] + #pragma warning disable CS1591 UdpConnectivityCheckUrlsNotAllowListed, + #pragma warning restore CS1591 [EnumMember(Value = "udpConnectivityCheckUnknownError")] + #pragma warning disable CS1591 UdpConnectivityCheckUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "internalServerErrorDeploymentCanceled")] + #pragma warning disable CS1591 InternalServerErrorDeploymentCanceled, + #pragma warning restore CS1591 [EnumMember(Value = "internalServerErrorAllocateResourceFailed")] + #pragma warning disable CS1591 InternalServerErrorAllocateResourceFailed, + #pragma warning restore CS1591 [EnumMember(Value = "internalServerErrorVMDeploymentTimeout")] + #pragma warning disable CS1591 InternalServerErrorVMDeploymentTimeout, + #pragma warning restore CS1591 [EnumMember(Value = "internalServerErrorUnableToRunDscScript")] + #pragma warning disable CS1591 InternalServerErrorUnableToRunDscScript, + #pragma warning restore CS1591 [EnumMember(Value = "ssoCheckKerberosConfigurationError")] + #pragma warning disable CS1591 SsoCheckKerberosConfigurationError, + #pragma warning restore CS1591 [EnumMember(Value = "internalServerUnknownError")] + #pragma warning disable CS1591 InternalServerUnknownError, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcOnPremisesConnectionStatus.cs b/src/generated/Models/CloudPcOnPremisesConnectionStatus.cs index c990a8cc17..d1ada8fbe9 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionStatus.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionStatus.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcOnPremisesConnectionStatus + #pragma warning restore CS1591 { [EnumMember(Value = "pending")] + #pragma warning disable CS1591 Pending, + #pragma warning restore CS1591 [EnumMember(Value = "running")] + #pragma warning disable CS1591 Running, + #pragma warning restore CS1591 [EnumMember(Value = "passed")] + #pragma warning disable CS1591 Passed, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "warning")] + #pragma warning disable CS1591 Warning, + #pragma warning restore CS1591 [EnumMember(Value = "informational")] + #pragma warning disable CS1591 Informational, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcOnPremisesConnectionStatusDetail.cs b/src/generated/Models/CloudPcOnPremisesConnectionStatusDetail.cs index 9181c54b81..88d6bd05a5 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionStatusDetail.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionStatusDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcOnPremisesConnectionStatusDetail : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcOnPremisesConnectionStatusDetail : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"healthChecks", n => { HealthChecks = n.GetCollectionOfObjectValues(CloudPcOnPremisesConnectionHealthCheck.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "healthChecks", n => { HealthChecks = n.GetCollectionOfObjectValues(CloudPcOnPremisesConnectionHealthCheck.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcOnPremisesConnectionType.cs b/src/generated/Models/CloudPcOnPremisesConnectionType.cs index 31c6d06dbb..e978c6c3e3 100644 --- a/src/generated/Models/CloudPcOnPremisesConnectionType.cs +++ b/src/generated/Models/CloudPcOnPremisesConnectionType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcOnPremisesConnectionType + #pragma warning restore CS1591 { [EnumMember(Value = "hybridAzureADJoin")] + #pragma warning disable CS1591 HybridAzureADJoin, + #pragma warning restore CS1591 [EnumMember(Value = "azureADJoin")] + #pragma warning disable CS1591 AzureADJoin, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcProvisioningPolicy.cs b/src/generated/Models/CloudPcProvisioningPolicy.cs index 8ed37dc221..168621b04a 100644 --- a/src/generated/Models/CloudPcProvisioningPolicy.cs +++ b/src/generated/Models/CloudPcProvisioningPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcProvisioningPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcProvisioningPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// The URL of the alternate resource that links to this provisioning policy. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -123,22 +126,22 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"cloudPcGroupDisplayName", n => { CloudPcGroupDisplayName = n.GetStringValue(); } }, - {"cloudPcNamingTemplate", n => { CloudPcNamingTemplate = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"enableSingleSignOn", n => { EnableSingleSignOn = n.GetBoolValue(); } }, - {"gracePeriodInHours", n => { GracePeriodInHours = n.GetIntValue(); } }, - {"imageDisplayName", n => { ImageDisplayName = n.GetStringValue(); } }, - {"imageId", n => { ImageId = n.GetStringValue(); } }, - {"imageType", n => { ImageType = n.GetEnumValue(); } }, - {"localAdminEnabled", n => { LocalAdminEnabled = n.GetBoolValue(); } }, - {"microsoftManagedDesktop", n => { MicrosoftManagedDesktop = n.GetObjectValue(ApiSdk.Models.MicrosoftManagedDesktop.CreateFromDiscriminatorValue); } }, - {"provisioningType", n => { ProvisioningType = n.GetEnumValue(); } }, - {"windowsSetting", n => { WindowsSetting = n.GetObjectValue(CloudPcWindowsSetting.CreateFromDiscriminatorValue); } }, + { "alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "cloudPcGroupDisplayName", n => { CloudPcGroupDisplayName = n.GetStringValue(); } }, + { "cloudPcNamingTemplate", n => { CloudPcNamingTemplate = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domainJoinConfigurations", n => { DomainJoinConfigurations = n.GetCollectionOfObjectValues(CloudPcDomainJoinConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "enableSingleSignOn", n => { EnableSingleSignOn = n.GetBoolValue(); } }, + { "gracePeriodInHours", n => { GracePeriodInHours = n.GetIntValue(); } }, + { "imageDisplayName", n => { ImageDisplayName = n.GetStringValue(); } }, + { "imageId", n => { ImageId = n.GetStringValue(); } }, + { "imageType", n => { ImageType = n.GetEnumValue(); } }, + { "localAdminEnabled", n => { LocalAdminEnabled = n.GetBoolValue(); } }, + { "microsoftManagedDesktop", n => { MicrosoftManagedDesktop = n.GetObjectValue(ApiSdk.Models.MicrosoftManagedDesktop.CreateFromDiscriminatorValue); } }, + { "provisioningType", n => { ProvisioningType = n.GetEnumValue(); } }, + { "windowsSetting", n => { WindowsSetting = n.GetObjectValue(CloudPcWindowsSetting.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CloudPcProvisioningPolicyAssignment.cs b/src/generated/Models/CloudPcProvisioningPolicyAssignment.cs index 0652019894..08b39ae844 100644 --- a/src/generated/Models/CloudPcProvisioningPolicyAssignment.cs +++ b/src/generated/Models/CloudPcProvisioningPolicyAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcProvisioningPolicyAssignment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcProvisioningPolicyAssignment : Entity, IParsable + #pragma warning restore CS1591 { /// The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. Read-only. Supports$expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignedUsers", n => { AssignedUsers = n.GetCollectionOfObjectValues(User.CreateFromDiscriminatorValue)?.ToList(); } }, - {"target", n => { Target = n.GetObjectValue(CloudPcManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "assignedUsers", n => { AssignedUsers = n.GetCollectionOfObjectValues(User.CreateFromDiscriminatorValue)?.ToList(); } }, + { "target", n => { Target = n.GetObjectValue(CloudPcManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CloudPcProvisioningPolicyAssignmentCollectionResponse.cs b/src/generated/Models/CloudPcProvisioningPolicyAssignmentCollectionResponse.cs index 2b23081185..8368023cef 100644 --- a/src/generated/Models/CloudPcProvisioningPolicyAssignmentCollectionResponse.cs +++ b/src/generated/Models/CloudPcProvisioningPolicyAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcProvisioningPolicyAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcProvisioningPolicyAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcProvisioningPolicyCollectionResponse.cs b/src/generated/Models/CloudPcProvisioningPolicyCollectionResponse.cs index b802ab89ae..ecd8a2b1bc 100644 --- a/src/generated/Models/CloudPcProvisioningPolicyCollectionResponse.cs +++ b/src/generated/Models/CloudPcProvisioningPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcProvisioningPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcProvisioningPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcProvisioningPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcProvisioningPolicyImageType.cs b/src/generated/Models/CloudPcProvisioningPolicyImageType.cs index 1b6baa2ccf..dca690c541 100644 --- a/src/generated/Models/CloudPcProvisioningPolicyImageType.cs +++ b/src/generated/Models/CloudPcProvisioningPolicyImageType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcProvisioningPolicyImageType + #pragma warning restore CS1591 { [EnumMember(Value = "gallery")] + #pragma warning disable CS1591 Gallery, + #pragma warning restore CS1591 [EnumMember(Value = "custom")] + #pragma warning disable CS1591 Custom, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcProvisioningType.cs b/src/generated/Models/CloudPcProvisioningType.cs index 3d0d7f56e3..4935c8427a 100644 --- a/src/generated/Models/CloudPcProvisioningType.cs +++ b/src/generated/Models/CloudPcProvisioningType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcProvisioningType + #pragma warning restore CS1591 { [EnumMember(Value = "dedicated")] + #pragma warning disable CS1591 Dedicated, + #pragma warning restore CS1591 [EnumMember(Value = "shared")] + #pragma warning disable CS1591 Shared, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcRegionGroup.cs b/src/generated/Models/CloudPcRegionGroup.cs index 5fcb20f8f0..06cfaa3488 100644 --- a/src/generated/Models/CloudPcRegionGroup.cs +++ b/src/generated/Models/CloudPcRegionGroup.cs @@ -1,50 +1,95 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcRegionGroup + #pragma warning restore CS1591 { [EnumMember(Value = "default")] + #pragma warning disable CS1591 Default, + #pragma warning restore CS1591 [EnumMember(Value = "australia")] + #pragma warning disable CS1591 Australia, + #pragma warning restore CS1591 [EnumMember(Value = "canada")] + #pragma warning disable CS1591 Canada, + #pragma warning restore CS1591 [EnumMember(Value = "usCentral")] + #pragma warning disable CS1591 UsCentral, + #pragma warning restore CS1591 [EnumMember(Value = "usEast")] + #pragma warning disable CS1591 UsEast, + #pragma warning restore CS1591 [EnumMember(Value = "usWest")] + #pragma warning disable CS1591 UsWest, + #pragma warning restore CS1591 [EnumMember(Value = "france")] + #pragma warning disable CS1591 France, + #pragma warning restore CS1591 [EnumMember(Value = "germany")] + #pragma warning disable CS1591 Germany, + #pragma warning restore CS1591 [EnumMember(Value = "europeUnion")] + #pragma warning disable CS1591 EuropeUnion, + #pragma warning restore CS1591 [EnumMember(Value = "unitedKingdom")] + #pragma warning disable CS1591 UnitedKingdom, + #pragma warning restore CS1591 [EnumMember(Value = "japan")] + #pragma warning disable CS1591 Japan, + #pragma warning restore CS1591 [EnumMember(Value = "asia")] + #pragma warning disable CS1591 Asia, + #pragma warning restore CS1591 [EnumMember(Value = "india")] + #pragma warning disable CS1591 India, + #pragma warning restore CS1591 [EnumMember(Value = "southAmerica")] + #pragma warning disable CS1591 SouthAmerica, + #pragma warning restore CS1591 [EnumMember(Value = "euap")] + #pragma warning disable CS1591 Euap, + #pragma warning restore CS1591 [EnumMember(Value = "usGovernment")] + #pragma warning disable CS1591 UsGovernment, + #pragma warning restore CS1591 [EnumMember(Value = "usGovernmentDOD")] + #pragma warning disable CS1591 UsGovernmentDOD, + #pragma warning restore CS1591 [EnumMember(Value = "norway")] + #pragma warning disable CS1591 Norway, + #pragma warning restore CS1591 [EnumMember(Value = "switzerland")] + #pragma warning disable CS1591 Switzerland, + #pragma warning restore CS1591 [EnumMember(Value = "southKorea")] + #pragma warning disable CS1591 SouthKorea, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcRestorePointFrequencyType.cs b/src/generated/Models/CloudPcRestorePointFrequencyType.cs index 87af520532..cb6d3ab7dd 100644 --- a/src/generated/Models/CloudPcRestorePointFrequencyType.cs +++ b/src/generated/Models/CloudPcRestorePointFrequencyType.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CloudPcRestorePointFrequencyType + #pragma warning restore CS1591 { [EnumMember(Value = "default")] + #pragma warning disable CS1591 Default, + #pragma warning restore CS1591 [EnumMember(Value = "fourHours")] + #pragma warning disable CS1591 FourHours, + #pragma warning restore CS1591 [EnumMember(Value = "sixHours")] + #pragma warning disable CS1591 SixHours, + #pragma warning restore CS1591 [EnumMember(Value = "twelveHours")] + #pragma warning disable CS1591 TwelveHours, + #pragma warning restore CS1591 [EnumMember(Value = "sixteenHours")] + #pragma warning disable CS1591 SixteenHours, + #pragma warning restore CS1591 [EnumMember(Value = "twentyFourHours")] + #pragma warning disable CS1591 TwentyFourHours, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CloudPcRestorePointSetting.cs b/src/generated/Models/CloudPcRestorePointSetting.cs index 18542734c4..46e8e4a8f5 100644 --- a/src/generated/Models/CloudPcRestorePointSetting.cs +++ b/src/generated/Models/CloudPcRestorePointSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcRestorePointSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcRestorePointSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -46,9 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"frequencyType", n => { FrequencyType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"userRestoreEnabled", n => { UserRestoreEnabled = n.GetBoolValue(); } }, + { "frequencyType", n => { FrequencyType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "userRestoreEnabled", n => { UserRestoreEnabled = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcSourceDeviceImage.cs b/src/generated/Models/CloudPcSourceDeviceImage.cs index 2cfc853cff..c47743ada1 100644 --- a/src/generated/Models/CloudPcSourceDeviceImage.cs +++ b/src/generated/Models/CloudPcSourceDeviceImage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcSourceDeviceImage : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcSourceDeviceImage : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"resourceId", n => { ResourceId = n.GetStringValue(); } }, - {"subscriptionDisplayName", n => { SubscriptionDisplayName = n.GetStringValue(); } }, - {"subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "subscriptionDisplayName", n => { SubscriptionDisplayName = n.GetStringValue(); } }, + { "subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcUserRoleScopeTagInfo.cs b/src/generated/Models/CloudPcUserRoleScopeTagInfo.cs index 5433604827..9bf531c41f 100644 --- a/src/generated/Models/CloudPcUserRoleScopeTagInfo.cs +++ b/src/generated/Models/CloudPcUserRoleScopeTagInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcUserRoleScopeTagInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcUserRoleScopeTagInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"roleScopeTagId", n => { RoleScopeTagId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "roleScopeTagId", n => { RoleScopeTagId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CloudPcUserSetting.cs b/src/generated/Models/CloudPcUserSetting.cs index 37bf871de5..0de4a1d7a2 100644 --- a/src/generated/Models/CloudPcUserSetting.cs +++ b/src/generated/Models/CloudPcUserSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcUserSetting : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcUserSetting : Entity, IParsable + #pragma warning restore CS1591 { /// Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSetting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -57,13 +60,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"localAdminEnabled", n => { LocalAdminEnabled = n.GetBoolValue(); } }, - {"resetEnabled", n => { ResetEnabled = n.GetBoolValue(); } }, - {"restorePointSetting", n => { RestorePointSetting = n.GetObjectValue(CloudPcRestorePointSetting.CreateFromDiscriminatorValue); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "localAdminEnabled", n => { LocalAdminEnabled = n.GetBoolValue(); } }, + { "resetEnabled", n => { ResetEnabled = n.GetBoolValue(); } }, + { "restorePointSetting", n => { RestorePointSetting = n.GetObjectValue(CloudPcRestorePointSetting.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CloudPcUserSettingAssignment.cs b/src/generated/Models/CloudPcUserSettingAssignment.cs index fa716452ee..9eb53807bc 100644 --- a/src/generated/Models/CloudPcUserSettingAssignment.cs +++ b/src/generated/Models/CloudPcUserSettingAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcUserSettingAssignment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcUserSettingAssignment : Entity, IParsable + #pragma warning restore CS1591 { /// The date and time when this assignment was created. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get; set; } @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"target", n => { Target = n.GetObjectValue(CloudPcManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "target", n => { Target = n.GetObjectValue(CloudPcManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CloudPcUserSettingAssignmentCollectionResponse.cs b/src/generated/Models/CloudPcUserSettingAssignmentCollectionResponse.cs index 5e07984689..affa13493f 100644 --- a/src/generated/Models/CloudPcUserSettingAssignmentCollectionResponse.cs +++ b/src/generated/Models/CloudPcUserSettingAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcUserSettingAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcUserSettingAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcUserSettingAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcUserSettingCollectionResponse.cs b/src/generated/Models/CloudPcUserSettingCollectionResponse.cs index aed1e9c6c3..bbdb94c84e 100644 --- a/src/generated/Models/CloudPcUserSettingCollectionResponse.cs +++ b/src/generated/Models/CloudPcUserSettingCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcUserSettingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcUserSettingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CloudPcUserSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CloudPcUserSetting.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CloudPcWindowsSetting.cs b/src/generated/Models/CloudPcWindowsSetting.cs index 8fa8ebf788..e5fcaedccd 100644 --- a/src/generated/Models/CloudPcWindowsSetting.cs +++ b/src/generated/Models/CloudPcWindowsSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CloudPcWindowsSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CloudPcWindowsSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"locale", n => { Locale = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CoachmarkLocation.cs b/src/generated/Models/CoachmarkLocation.cs index 692b0e99a5..c6e66fe016 100644 --- a/src/generated/Models/CoachmarkLocation.cs +++ b/src/generated/Models/CoachmarkLocation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CoachmarkLocation : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CoachmarkLocation : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"length", n => { Length = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"offset", n => { Offset = n.GetIntValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "length", n => { Length = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offset", n => { Offset = n.GetIntValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CoachmarkLocationType.cs b/src/generated/Models/CoachmarkLocationType.cs index 17a9abcadd..2f332f746f 100644 --- a/src/generated/Models/CoachmarkLocationType.cs +++ b/src/generated/Models/CoachmarkLocationType.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CoachmarkLocationType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "fromEmail")] + #pragma warning disable CS1591 FromEmail, + #pragma warning restore CS1591 [EnumMember(Value = "subject")] + #pragma warning disable CS1591 Subject, + #pragma warning restore CS1591 [EnumMember(Value = "externalTag")] + #pragma warning disable CS1591 ExternalTag, + #pragma warning restore CS1591 [EnumMember(Value = "displayName")] + #pragma warning disable CS1591 DisplayName, + #pragma warning restore CS1591 [EnumMember(Value = "messageBody")] + #pragma warning disable CS1591 MessageBody, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CollapseProperty.cs b/src/generated/Models/CollapseProperty.cs index 852286edc8..d93319acaf 100644 --- a/src/generated/Models/CollapseProperty.cs +++ b/src/generated/Models/CollapseProperty.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CollapseProperty : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CollapseProperty : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"fields", n => { Fields = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"limit", n => { Limit = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "fields", n => { Fields = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "limit", n => { Limit = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ColumnDefinition.cs b/src/generated/Models/ColumnDefinition.cs index da741f1744..fd28e1c0e7 100644 --- a/src/generated/Models/ColumnDefinition.cs +++ b/src/generated/Models/ColumnDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ColumnDefinition : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ColumnDefinition : Entity, IParsable + #pragma warning restore CS1591 { /// This column stores boolean values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -123,7 +126,7 @@ public class ColumnDefinition : Entity, IParsable #else public LookupColumn Lookup { get; set; } #endif - /// The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + /// The API-facing name of the column as it appears in the fields on a listItem. For the user-facing name, see displayName. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name { get; set; } @@ -221,38 +224,38 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"boolean", n => { Boolean = n.GetObjectValue(BooleanColumn.CreateFromDiscriminatorValue); } }, - {"calculated", n => { Calculated = n.GetObjectValue(CalculatedColumn.CreateFromDiscriminatorValue); } }, - {"choice", n => { Choice = n.GetObjectValue(ChoiceColumn.CreateFromDiscriminatorValue); } }, - {"columnGroup", n => { ColumnGroup = n.GetStringValue(); } }, - {"contentApprovalStatus", n => { ContentApprovalStatus = n.GetObjectValue(ContentApprovalStatusColumn.CreateFromDiscriminatorValue); } }, - {"currency", n => { Currency = n.GetObjectValue(CurrencyColumn.CreateFromDiscriminatorValue); } }, - {"dateTime", n => { DateTime = n.GetObjectValue(DateTimeColumn.CreateFromDiscriminatorValue); } }, - {"defaultValue", n => { DefaultValue = n.GetObjectValue(DefaultColumnValue.CreateFromDiscriminatorValue); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"enforceUniqueValues", n => { EnforceUniqueValues = n.GetBoolValue(); } }, - {"geolocation", n => { Geolocation = n.GetObjectValue(GeolocationColumn.CreateFromDiscriminatorValue); } }, - {"hidden", n => { Hidden = n.GetBoolValue(); } }, - {"hyperlinkOrPicture", n => { HyperlinkOrPicture = n.GetObjectValue(HyperlinkOrPictureColumn.CreateFromDiscriminatorValue); } }, - {"indexed", n => { Indexed = n.GetBoolValue(); } }, - {"isDeletable", n => { IsDeletable = n.GetBoolValue(); } }, - {"isReorderable", n => { IsReorderable = n.GetBoolValue(); } }, - {"isSealed", n => { IsSealed = n.GetBoolValue(); } }, - {"lookup", n => { Lookup = n.GetObjectValue(LookupColumn.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"number", n => { Number = n.GetObjectValue(NumberColumn.CreateFromDiscriminatorValue); } }, - {"personOrGroup", n => { PersonOrGroup = n.GetObjectValue(PersonOrGroupColumn.CreateFromDiscriminatorValue); } }, - {"propagateChanges", n => { PropagateChanges = n.GetBoolValue(); } }, - {"readOnly", n => { ReadOnly = n.GetBoolValue(); } }, - {"required", n => { Required = n.GetBoolValue(); } }, - {"sourceColumn", n => { SourceColumn = n.GetObjectValue(ColumnDefinition.CreateFromDiscriminatorValue); } }, - {"sourceContentType", n => { SourceContentType = n.GetObjectValue(ContentTypeInfo.CreateFromDiscriminatorValue); } }, - {"term", n => { Term = n.GetObjectValue(TermColumn.CreateFromDiscriminatorValue); } }, - {"text", n => { Text = n.GetObjectValue(TextColumn.CreateFromDiscriminatorValue); } }, - {"thumbnail", n => { Thumbnail = n.GetObjectValue(ThumbnailColumn.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetEnumValue(); } }, - {"validation", n => { Validation = n.GetObjectValue(ColumnValidation.CreateFromDiscriminatorValue); } }, + { "boolean", n => { Boolean = n.GetObjectValue(BooleanColumn.CreateFromDiscriminatorValue); } }, + { "calculated", n => { Calculated = n.GetObjectValue(CalculatedColumn.CreateFromDiscriminatorValue); } }, + { "choice", n => { Choice = n.GetObjectValue(ChoiceColumn.CreateFromDiscriminatorValue); } }, + { "columnGroup", n => { ColumnGroup = n.GetStringValue(); } }, + { "contentApprovalStatus", n => { ContentApprovalStatus = n.GetObjectValue(ContentApprovalStatusColumn.CreateFromDiscriminatorValue); } }, + { "currency", n => { Currency = n.GetObjectValue(CurrencyColumn.CreateFromDiscriminatorValue); } }, + { "dateTime", n => { DateTime = n.GetObjectValue(DateTimeColumn.CreateFromDiscriminatorValue); } }, + { "defaultValue", n => { DefaultValue = n.GetObjectValue(DefaultColumnValue.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enforceUniqueValues", n => { EnforceUniqueValues = n.GetBoolValue(); } }, + { "geolocation", n => { Geolocation = n.GetObjectValue(GeolocationColumn.CreateFromDiscriminatorValue); } }, + { "hidden", n => { Hidden = n.GetBoolValue(); } }, + { "hyperlinkOrPicture", n => { HyperlinkOrPicture = n.GetObjectValue(HyperlinkOrPictureColumn.CreateFromDiscriminatorValue); } }, + { "indexed", n => { Indexed = n.GetBoolValue(); } }, + { "isDeletable", n => { IsDeletable = n.GetBoolValue(); } }, + { "isReorderable", n => { IsReorderable = n.GetBoolValue(); } }, + { "isSealed", n => { IsSealed = n.GetBoolValue(); } }, + { "lookup", n => { Lookup = n.GetObjectValue(LookupColumn.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "number", n => { Number = n.GetObjectValue(NumberColumn.CreateFromDiscriminatorValue); } }, + { "personOrGroup", n => { PersonOrGroup = n.GetObjectValue(PersonOrGroupColumn.CreateFromDiscriminatorValue); } }, + { "propagateChanges", n => { PropagateChanges = n.GetBoolValue(); } }, + { "readOnly", n => { ReadOnly = n.GetBoolValue(); } }, + { "required", n => { Required = n.GetBoolValue(); } }, + { "sourceColumn", n => { SourceColumn = n.GetObjectValue(ColumnDefinition.CreateFromDiscriminatorValue); } }, + { "sourceContentType", n => { SourceContentType = n.GetObjectValue(ContentTypeInfo.CreateFromDiscriminatorValue); } }, + { "term", n => { Term = n.GetObjectValue(TermColumn.CreateFromDiscriminatorValue); } }, + { "text", n => { Text = n.GetObjectValue(TextColumn.CreateFromDiscriminatorValue); } }, + { "thumbnail", n => { Thumbnail = n.GetObjectValue(ThumbnailColumn.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "validation", n => { Validation = n.GetObjectValue(ColumnValidation.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ColumnDefinitionCollectionResponse.cs b/src/generated/Models/ColumnDefinitionCollectionResponse.cs index 0de0f725ff..67e4ada997 100644 --- a/src/generated/Models/ColumnDefinitionCollectionResponse.cs +++ b/src/generated/Models/ColumnDefinitionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ColumnDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ColumnDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ColumnLink.cs b/src/generated/Models/ColumnLink.cs index e18bb8ff28..66e5994447 100644 --- a/src/generated/Models/ColumnLink.cs +++ b/src/generated/Models/ColumnLink.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ColumnLink : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ColumnLink : Entity, IParsable + #pragma warning restore CS1591 { /// The name of the column in this content type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"name", n => { Name = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ColumnLinkCollectionResponse.cs b/src/generated/Models/ColumnLinkCollectionResponse.cs index 8f39dc73bf..dbb53ff69c 100644 --- a/src/generated/Models/ColumnLinkCollectionResponse.cs +++ b/src/generated/Models/ColumnLinkCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ColumnLinkCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ColumnLinkCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ColumnLink.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ColumnLink.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ColumnTypes.cs b/src/generated/Models/ColumnTypes.cs index af100993ff..4facb575df 100644 --- a/src/generated/Models/ColumnTypes.cs +++ b/src/generated/Models/ColumnTypes.cs @@ -1,46 +1,87 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ColumnTypes + #pragma warning restore CS1591 { [EnumMember(Value = "note")] + #pragma warning disable CS1591 Note, + #pragma warning restore CS1591 [EnumMember(Value = "text")] + #pragma warning disable CS1591 Text, + #pragma warning restore CS1591 [EnumMember(Value = "choice")] + #pragma warning disable CS1591 Choice, + #pragma warning restore CS1591 [EnumMember(Value = "multichoice")] + #pragma warning disable CS1591 Multichoice, + #pragma warning restore CS1591 [EnumMember(Value = "number")] + #pragma warning disable CS1591 Number, + #pragma warning restore CS1591 [EnumMember(Value = "currency")] + #pragma warning disable CS1591 Currency, + #pragma warning restore CS1591 [EnumMember(Value = "dateTime")] + #pragma warning disable CS1591 DateTime, + #pragma warning restore CS1591 [EnumMember(Value = "lookup")] + #pragma warning disable CS1591 Lookup, + #pragma warning restore CS1591 [EnumMember(Value = "boolean")] + #pragma warning disable CS1591 Boolean, + #pragma warning restore CS1591 [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "url")] + #pragma warning disable CS1591 Url, + #pragma warning restore CS1591 [EnumMember(Value = "calculated")] + #pragma warning disable CS1591 Calculated, + #pragma warning restore CS1591 [EnumMember(Value = "location")] + #pragma warning disable CS1591 Location, + #pragma warning restore CS1591 [EnumMember(Value = "geolocation")] + #pragma warning disable CS1591 Geolocation, + #pragma warning restore CS1591 [EnumMember(Value = "term")] + #pragma warning disable CS1591 Term, + #pragma warning restore CS1591 [EnumMember(Value = "multiterm")] + #pragma warning disable CS1591 Multiterm, + #pragma warning restore CS1591 [EnumMember(Value = "thumbnail")] + #pragma warning disable CS1591 Thumbnail, + #pragma warning restore CS1591 [EnumMember(Value = "approvalStatus")] + #pragma warning disable CS1591 ApprovalStatus, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ColumnValidation.cs b/src/generated/Models/ColumnValidation.cs index 67c30892b8..eaa8ad33be 100644 --- a/src/generated/Models/ColumnValidation.cs +++ b/src/generated/Models/ColumnValidation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ColumnValidation : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ColumnValidation : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"defaultLanguage", n => { DefaultLanguage = n.GetStringValue(); } }, - {"descriptions", n => { Descriptions = n.GetCollectionOfObjectValues(DisplayNameLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, - {"formula", n => { Formula = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "defaultLanguage", n => { DefaultLanguage = n.GetStringValue(); } }, + { "descriptions", n => { Descriptions = n.GetCollectionOfObjectValues(DisplayNameLocalization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "formula", n => { Formula = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CommsOperation.cs b/src/generated/Models/CommsOperation.cs index f52d85082d..8460a00660 100644 --- a/src/generated/Models/CommsOperation.cs +++ b/src/generated/Models/CommsOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommsOperation : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommsOperation : Entity, IParsable + #pragma warning restore CS1591 { /// Unique Client Context string. Max limit is 256 chars. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -59,9 +62,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"clientContext", n => { ClientContext = n.GetStringValue(); } }, - {"resultInfo", n => { ResultInfo = n.GetObjectValue(ApiSdk.Models.ResultInfo.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "clientContext", n => { ClientContext = n.GetStringValue(); } }, + { "resultInfo", n => { ResultInfo = n.GetObjectValue(ApiSdk.Models.ResultInfo.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CommsOperationCollectionResponse.cs b/src/generated/Models/CommsOperationCollectionResponse.cs index 3a92352733..2728a6cd9f 100644 --- a/src/generated/Models/CommsOperationCollectionResponse.cs +++ b/src/generated/Models/CommsOperationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommsOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommsOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CommsOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CommsOperation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CommunicationsApplicationIdentity.cs b/src/generated/Models/CommunicationsApplicationIdentity.cs index b56340f241..d07ad5a125 100644 --- a/src/generated/Models/CommunicationsApplicationIdentity.cs +++ b/src/generated/Models/CommunicationsApplicationIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsApplicationIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsApplicationIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// First-party Microsoft application that presents this identity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"applicationType", n => { ApplicationType = n.GetStringValue(); } }, - {"hidden", n => { Hidden = n.GetBoolValue(); } }, + { "applicationType", n => { ApplicationType = n.GetStringValue(); } }, + { "hidden", n => { Hidden = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CommunicationsApplicationInstanceIdentity.cs b/src/generated/Models/CommunicationsApplicationInstanceIdentity.cs index 594bf5080a..1c9406ee00 100644 --- a/src/generated/Models/CommunicationsApplicationInstanceIdentity.cs +++ b/src/generated/Models/CommunicationsApplicationInstanceIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsApplicationInstanceIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsApplicationInstanceIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// True if the participant shouldn't be shown in other participants' rosters. public bool? Hidden { get; set; } @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"hidden", n => { Hidden = n.GetBoolValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "hidden", n => { Hidden = n.GetBoolValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CommunicationsEncryptedIdentity.cs b/src/generated/Models/CommunicationsEncryptedIdentity.cs index 9764ef7b85..d7444c7b32 100644 --- a/src/generated/Models/CommunicationsEncryptedIdentity.cs +++ b/src/generated/Models/CommunicationsEncryptedIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsEncryptedIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsEncryptedIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/CommunicationsGuestIdentity.cs b/src/generated/Models/CommunicationsGuestIdentity.cs index eb87f18b36..2aad48cd8c 100644 --- a/src/generated/Models/CommunicationsGuestIdentity.cs +++ b/src/generated/Models/CommunicationsGuestIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsGuestIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsGuestIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/CommunicationsIdentitySet.cs b/src/generated/Models/CommunicationsIdentitySet.cs index 45519100ad..53dfa9926c 100644 --- a/src/generated/Models/CommunicationsIdentitySet.cs +++ b/src/generated/Models/CommunicationsIdentitySet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsIdentitySet : IdentitySet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsIdentitySet : IdentitySet, IParsable + #pragma warning restore CS1591 { /// The application instance associated with this action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -90,14 +93,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"applicationInstance", n => { ApplicationInstance = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"assertedIdentity", n => { AssertedIdentity = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"azureCommunicationServicesUser", n => { AzureCommunicationServicesUser = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"encrypted", n => { Encrypted = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"endpointType", n => { EndpointType = n.GetEnumValue(); } }, - {"guest", n => { Guest = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"onPremises", n => { OnPremises = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"phone", n => { Phone = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "applicationInstance", n => { ApplicationInstance = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "assertedIdentity", n => { AssertedIdentity = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "azureCommunicationServicesUser", n => { AzureCommunicationServicesUser = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "encrypted", n => { Encrypted = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "endpointType", n => { EndpointType = n.GetEnumValue(); } }, + { "guest", n => { Guest = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "onPremises", n => { OnPremises = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "phone", n => { Phone = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CommunicationsPhoneIdentity.cs b/src/generated/Models/CommunicationsPhoneIdentity.cs index b5069c3b31..fa1c6f0251 100644 --- a/src/generated/Models/CommunicationsPhoneIdentity.cs +++ b/src/generated/Models/CommunicationsPhoneIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsPhoneIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsPhoneIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/CommunicationsUserIdentity.cs b/src/generated/Models/CommunicationsUserIdentity.cs index fa27798399..13f3e6b22d 100644 --- a/src/generated/Models/CommunicationsUserIdentity.cs +++ b/src/generated/Models/CommunicationsUserIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CommunicationsUserIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CommunicationsUserIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// The user's tenant ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CompanySubscription.cs b/src/generated/Models/CompanySubscription.cs new file mode 100644 index 0000000000..8dc164430d --- /dev/null +++ b/src/generated/Models/CompanySubscription.cs @@ -0,0 +1,139 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CompanySubscription : Entity, IParsable + #pragma warning restore CS1591 + { + /// The commerceSubscriptionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CommerceSubscriptionId { get; set; } +#nullable restore +#else + public string CommerceSubscriptionId { get; set; } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime { get; set; } + /// The isTrial property + public bool? IsTrial { get; set; } + /// The nextLifecycleDateTime property + public DateTimeOffset? NextLifecycleDateTime { get; set; } + /// The ownerId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerId { get; set; } +#nullable restore +#else + public string OwnerId { get; set; } +#endif + /// The ownerTenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerTenantId { get; set; } +#nullable restore +#else + public string OwnerTenantId { get; set; } +#endif + /// The ownerType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerType { get; set; } +#nullable restore +#else + public string OwnerType { get; set; } +#endif + /// The serviceStatus property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServiceStatus { get; set; } +#nullable restore +#else + public List ServiceStatus { get; set; } +#endif + /// The skuId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SkuId { get; set; } +#nullable restore +#else + public string SkuId { get; set; } +#endif + /// The skuPartNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SkuPartNumber { get; set; } +#nullable restore +#else + public string SkuPartNumber { get; set; } +#endif + /// The status property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Status { get; set; } +#nullable restore +#else + public string Status { get; set; } +#endif + /// The totalLicenses property + public int? TotalLicenses { get; set; } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new CompanySubscription CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CompanySubscription(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "commerceSubscriptionId", n => { CommerceSubscriptionId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "isTrial", n => { IsTrial = n.GetBoolValue(); } }, + { "nextLifecycleDateTime", n => { NextLifecycleDateTime = n.GetDateTimeOffsetValue(); } }, + { "ownerId", n => { OwnerId = n.GetStringValue(); } }, + { "ownerTenantId", n => { OwnerTenantId = n.GetStringValue(); } }, + { "ownerType", n => { OwnerType = n.GetStringValue(); } }, + { "serviceStatus", n => { ServiceStatus = n.GetCollectionOfObjectValues(ServicePlanInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "skuId", n => { SkuId = n.GetStringValue(); } }, + { "skuPartNumber", n => { SkuPartNumber = n.GetStringValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, + { "totalLicenses", n => { TotalLicenses = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("commerceSubscriptionId", CommerceSubscriptionId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("isTrial", IsTrial); + writer.WriteDateTimeOffsetValue("nextLifecycleDateTime", NextLifecycleDateTime); + writer.WriteStringValue("ownerId", OwnerId); + writer.WriteStringValue("ownerTenantId", OwnerTenantId); + writer.WriteStringValue("ownerType", OwnerType); + writer.WriteCollectionOfObjectValues("serviceStatus", ServiceStatus); + writer.WriteStringValue("skuId", SkuId); + writer.WriteStringValue("skuPartNumber", SkuPartNumber); + writer.WriteStringValue("status", Status); + writer.WriteIntValue("totalLicenses", TotalLicenses); + } + } +} diff --git a/src/generated/Models/CompanySubscriptionCollectionResponse.cs b/src/generated/Models/CompanySubscriptionCollectionResponse.cs new file mode 100644 index 0000000000..99414f01f4 --- /dev/null +++ b/src/generated/Models/CompanySubscriptionCollectionResponse.cs @@ -0,0 +1,53 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CompanySubscriptionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value { get; set; } +#nullable restore +#else + public List Value { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new CompanySubscriptionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CompanySubscriptionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(CompanySubscription.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/generated/Models/Compliance.cs b/src/generated/Models/Compliance.cs index da6430c7f5..de095298db 100644 --- a/src/generated/Models/Compliance.cs +++ b/src/generated/Models/Compliance.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Compliance : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Compliance : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ComplianceInformation.cs b/src/generated/Models/ComplianceInformation.cs index f93e48a799..6138d6708b 100644 --- a/src/generated/Models/ComplianceInformation.cs +++ b/src/generated/Models/ComplianceInformation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ComplianceInformation : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ComplianceInformation : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"certificationControls", n => { CertificationControls = n.GetCollectionOfObjectValues(CertificationControl.CreateFromDiscriminatorValue)?.ToList(); } }, - {"certificationName", n => { CertificationName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "certificationControls", n => { CertificationControls = n.GetCollectionOfObjectValues(CertificationControl.CreateFromDiscriminatorValue)?.ToList(); } }, + { "certificationName", n => { CertificationName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ComplianceManagementPartner.cs b/src/generated/Models/ComplianceManagementPartner.cs index 0b14191889..e71519fc66 100644 --- a/src/generated/Models/ComplianceManagementPartner.cs +++ b/src/generated/Models/ComplianceManagementPartner.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Compliance management partner for all platforms /// - public class ComplianceManagementPartner : Entity, IParsable + public class ComplianceManagementPartner : Entity, IParsable { /// User groups which enroll Android devices through partner. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -70,15 +71,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"androidEnrollmentAssignments", n => { AndroidEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"androidOnboarded", n => { AndroidOnboarded = n.GetBoolValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"iosEnrollmentAssignments", n => { IosEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"iosOnboarded", n => { IosOnboarded = n.GetBoolValue(); } }, - {"lastHeartbeatDateTime", n => { LastHeartbeatDateTime = n.GetDateTimeOffsetValue(); } }, - {"macOsEnrollmentAssignments", n => { MacOsEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"macOsOnboarded", n => { MacOsOnboarded = n.GetBoolValue(); } }, - {"partnerState", n => { PartnerState = n.GetEnumValue(); } }, + { "androidEnrollmentAssignments", n => { AndroidEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "androidOnboarded", n => { AndroidOnboarded = n.GetBoolValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "iosEnrollmentAssignments", n => { IosEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "iosOnboarded", n => { IosOnboarded = n.GetBoolValue(); } }, + { "lastHeartbeatDateTime", n => { LastHeartbeatDateTime = n.GetDateTimeOffsetValue(); } }, + { "macOsEnrollmentAssignments", n => { MacOsEnrollmentAssignments = n.GetCollectionOfObjectValues(ComplianceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "macOsOnboarded", n => { MacOsOnboarded = n.GetBoolValue(); } }, + { "partnerState", n => { PartnerState = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ComplianceManagementPartnerAssignment.cs b/src/generated/Models/ComplianceManagementPartnerAssignment.cs index fd8a0e2ed4..932db8b700 100644 --- a/src/generated/Models/ComplianceManagementPartnerAssignment.cs +++ b/src/generated/Models/ComplianceManagementPartnerAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// User group targeting for Compliance Management Partner /// - public class ComplianceManagementPartnerAssignment : IAdditionalDataHolder, IParsable + public class ComplianceManagementPartnerAssignment : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ComplianceManagementPartnerCollectionResponse.cs b/src/generated/Models/ComplianceManagementPartnerCollectionResponse.cs index 26b1ead8b6..c6e7b3b520 100644 --- a/src/generated/Models/ComplianceManagementPartnerCollectionResponse.cs +++ b/src/generated/Models/ComplianceManagementPartnerCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ComplianceManagementPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ComplianceManagementPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ComplianceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ComplianceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ComplianceState.cs b/src/generated/Models/ComplianceState.cs index 816a49e0e4..f694d11845 100644 --- a/src/generated/Models/ComplianceState.cs +++ b/src/generated/Models/ComplianceState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Compliance state. public enum ComplianceState { diff --git a/src/generated/Models/ComplianceStatus.cs b/src/generated/Models/ComplianceStatus.cs index c335b68a18..6135800f1e 100644 --- a/src/generated/Models/ComplianceStatus.cs +++ b/src/generated/Models/ComplianceStatus.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ComplianceStatus + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "notApplicable")] + #pragma warning disable CS1591 NotApplicable, + #pragma warning restore CS1591 [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 Compliant, + #pragma warning restore CS1591 [EnumMember(Value = "remediated")] + #pragma warning disable CS1591 Remediated, + #pragma warning restore CS1591 [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 NonCompliant, + #pragma warning restore CS1591 [EnumMember(Value = "error")] + #pragma warning disable CS1591 Error, + #pragma warning restore CS1591 [EnumMember(Value = "conflict")] + #pragma warning disable CS1591 Conflict, + #pragma warning restore CS1591 [EnumMember(Value = "notAssigned")] + #pragma warning disable CS1591 NotAssigned, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessAllExternalTenants.cs b/src/generated/Models/ConditionalAccessAllExternalTenants.cs index f62836c7b9..c4df791f6d 100644 --- a/src/generated/Models/ConditionalAccessAllExternalTenants.cs +++ b/src/generated/Models/ConditionalAccessAllExternalTenants.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessAllExternalTenants : ConditionalAccessExternalTenants, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessAllExternalTenants : ConditionalAccessExternalTenants, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ConditionalAccessApplications.cs b/src/generated/Models/ConditionalAccessApplications.cs index c1d29920b4..e5c5a2a143 100644 --- a/src/generated/Models/ConditionalAccessApplications.cs +++ b/src/generated/Models/ConditionalAccessApplications.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessApplications : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessApplications : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationFilter", n => { ApplicationFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, - {"excludeApplications", n => { ExcludeApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeApplications", n => { IncludeApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeAuthenticationContextClassReferences", n => { IncludeAuthenticationContextClassReferences = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeUserActions", n => { IncludeUserActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "applicationFilter", n => { ApplicationFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, + { "excludeApplications", n => { ExcludeApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeApplications", n => { IncludeApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeAuthenticationContextClassReferences", n => { IncludeAuthenticationContextClassReferences = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeUserActions", n => { IncludeUserActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessClientApp.cs b/src/generated/Models/ConditionalAccessClientApp.cs index 4c3b788982..1c76188d9a 100644 --- a/src/generated/Models/ConditionalAccessClientApp.cs +++ b/src/generated/Models/ConditionalAccessClientApp.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessClientApp + #pragma warning restore CS1591 { [EnumMember(Value = "all")] + #pragma warning disable CS1591 All, + #pragma warning restore CS1591 [EnumMember(Value = "browser")] + #pragma warning disable CS1591 Browser, + #pragma warning restore CS1591 [EnumMember(Value = "mobileAppsAndDesktopClients")] + #pragma warning disable CS1591 MobileAppsAndDesktopClients, + #pragma warning restore CS1591 [EnumMember(Value = "exchangeActiveSync")] + #pragma warning disable CS1591 ExchangeActiveSync, + #pragma warning restore CS1591 [EnumMember(Value = "easSupported")] + #pragma warning disable CS1591 EasSupported, + #pragma warning restore CS1591 [EnumMember(Value = "other")] + #pragma warning disable CS1591 Other, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessClientApplications.cs b/src/generated/Models/ConditionalAccessClientApplications.cs index 637ffa77e4..0d42e2dfb6 100644 --- a/src/generated/Models/ConditionalAccessClientApplications.cs +++ b/src/generated/Models/ConditionalAccessClientApplications.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessClientApplications : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessClientApplications : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludeServicePrincipals", n => { ExcludeServicePrincipals = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeServicePrincipals", n => { IncludeServicePrincipals = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"servicePrincipalFilter", n => { ServicePrincipalFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, + { "excludeServicePrincipals", n => { ExcludeServicePrincipals = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeServicePrincipals", n => { IncludeServicePrincipals = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "servicePrincipalFilter", n => { ServicePrincipalFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessConditionSet.cs b/src/generated/Models/ConditionalAccessConditionSet.cs index b93be433f7..9113722e36 100644 --- a/src/generated/Models/ConditionalAccessConditionSet.cs +++ b/src/generated/Models/ConditionalAccessConditionSet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessConditionSet : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessConditionSet : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -122,17 +125,17 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applications", n => { Applications = n.GetObjectValue(ConditionalAccessApplications.CreateFromDiscriminatorValue); } }, - {"clientAppTypes", n => { ClientAppTypes = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"clientApplications", n => { ClientApplications = n.GetObjectValue(ConditionalAccessClientApplications.CreateFromDiscriminatorValue); } }, - {"devices", n => { Devices = n.GetObjectValue(ConditionalAccessDevices.CreateFromDiscriminatorValue); } }, - {"locations", n => { Locations = n.GetObjectValue(ConditionalAccessLocations.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"platforms", n => { Platforms = n.GetObjectValue(ConditionalAccessPlatforms.CreateFromDiscriminatorValue); } }, - {"servicePrincipalRiskLevels", n => { ServicePrincipalRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"signInRiskLevels", n => { SignInRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"userRiskLevels", n => { UserRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"users", n => { Users = n.GetObjectValue(ConditionalAccessUsers.CreateFromDiscriminatorValue); } }, + { "applications", n => { Applications = n.GetObjectValue(ConditionalAccessApplications.CreateFromDiscriminatorValue); } }, + { "clientAppTypes", n => { ClientAppTypes = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "clientApplications", n => { ClientApplications = n.GetObjectValue(ConditionalAccessClientApplications.CreateFromDiscriminatorValue); } }, + { "devices", n => { Devices = n.GetObjectValue(ConditionalAccessDevices.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetObjectValue(ConditionalAccessLocations.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "platforms", n => { Platforms = n.GetObjectValue(ConditionalAccessPlatforms.CreateFromDiscriminatorValue); } }, + { "servicePrincipalRiskLevels", n => { ServicePrincipalRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "signInRiskLevels", n => { SignInRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "userRiskLevels", n => { UserRiskLevels = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "users", n => { Users = n.GetObjectValue(ConditionalAccessUsers.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessDevicePlatform.cs b/src/generated/Models/ConditionalAccessDevicePlatform.cs index 2e1af4690f..d6a429cce0 100644 --- a/src/generated/Models/ConditionalAccessDevicePlatform.cs +++ b/src/generated/Models/ConditionalAccessDevicePlatform.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessDevicePlatform + #pragma warning restore CS1591 { [EnumMember(Value = "android")] + #pragma warning disable CS1591 Android, + #pragma warning restore CS1591 [EnumMember(Value = "iOS")] + #pragma warning disable CS1591 IOS, + #pragma warning restore CS1591 [EnumMember(Value = "windows")] + #pragma warning disable CS1591 Windows, + #pragma warning restore CS1591 [EnumMember(Value = "windowsPhone")] + #pragma warning disable CS1591 WindowsPhone, + #pragma warning restore CS1591 [EnumMember(Value = "macOS")] + #pragma warning disable CS1591 MacOS, + #pragma warning restore CS1591 [EnumMember(Value = "all")] + #pragma warning disable CS1591 All, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "linux")] + #pragma warning disable CS1591 Linux, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessDevices.cs b/src/generated/Models/ConditionalAccessDevices.cs index ed99cb10a7..6c0ca10e82 100644 --- a/src/generated/Models/ConditionalAccessDevices.cs +++ b/src/generated/Models/ConditionalAccessDevices.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessDevices : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessDevices : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"deviceFilter", n => { DeviceFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "deviceFilter", n => { DeviceFilter = n.GetObjectValue(ConditionalAccessFilter.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessEnumeratedExternalTenants.cs b/src/generated/Models/ConditionalAccessEnumeratedExternalTenants.cs index d8a2174da6..ef78dbc283 100644 --- a/src/generated/Models/ConditionalAccessEnumeratedExternalTenants.cs +++ b/src/generated/Models/ConditionalAccessEnumeratedExternalTenants.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessEnumeratedExternalTenants : ConditionalAccessExternalTenants, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessEnumeratedExternalTenants : ConditionalAccessExternalTenants, IParsable + #pragma warning restore CS1591 { /// A collection of tenant IDs that define the scope of a policy targeting conditional access for guests and external users. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"members", n => { Members = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "members", n => { Members = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessExternalTenants.cs b/src/generated/Models/ConditionalAccessExternalTenants.cs index 0039f6bb64..31b0099579 100644 --- a/src/generated/Models/ConditionalAccessExternalTenants.cs +++ b/src/generated/Models/ConditionalAccessExternalTenants.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessExternalTenants : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessExternalTenants : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"membershipKind", n => { MembershipKind = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "membershipKind", n => { MembershipKind = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessExternalTenantsMembershipKind.cs b/src/generated/Models/ConditionalAccessExternalTenantsMembershipKind.cs index 68a07b29aa..e85112baa2 100644 --- a/src/generated/Models/ConditionalAccessExternalTenantsMembershipKind.cs +++ b/src/generated/Models/ConditionalAccessExternalTenantsMembershipKind.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessExternalTenantsMembershipKind + #pragma warning restore CS1591 { [EnumMember(Value = "all")] + #pragma warning disable CS1591 All, + #pragma warning restore CS1591 [EnumMember(Value = "enumerated")] + #pragma warning disable CS1591 Enumerated, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessFilter.cs b/src/generated/Models/ConditionalAccessFilter.cs index 68725e8aec..0d8b354d44 100644 --- a/src/generated/Models/ConditionalAccessFilter.cs +++ b/src/generated/Models/ConditionalAccessFilter.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessFilter : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessFilter : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"mode", n => { Mode = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"rule", n => { Rule = n.GetStringValue(); } }, + { "mode", n => { Mode = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "rule", n => { Rule = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessGrantControl.cs b/src/generated/Models/ConditionalAccessGrantControl.cs index 7429590df6..2136bb1ede 100644 --- a/src/generated/Models/ConditionalAccessGrantControl.cs +++ b/src/generated/Models/ConditionalAccessGrantControl.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessGrantControl + #pragma warning restore CS1591 { [EnumMember(Value = "block")] + #pragma warning disable CS1591 Block, + #pragma warning restore CS1591 [EnumMember(Value = "mfa")] + #pragma warning disable CS1591 Mfa, + #pragma warning restore CS1591 [EnumMember(Value = "compliantDevice")] + #pragma warning disable CS1591 CompliantDevice, + #pragma warning restore CS1591 [EnumMember(Value = "domainJoinedDevice")] + #pragma warning disable CS1591 DomainJoinedDevice, + #pragma warning restore CS1591 [EnumMember(Value = "approvedApplication")] + #pragma warning disable CS1591 ApprovedApplication, + #pragma warning restore CS1591 [EnumMember(Value = "compliantApplication")] + #pragma warning disable CS1591 CompliantApplication, + #pragma warning restore CS1591 [EnumMember(Value = "passwordChange")] + #pragma warning disable CS1591 PasswordChange, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessGrantControls.cs b/src/generated/Models/ConditionalAccessGrantControls.cs index bba8eb0d45..d214196a41 100644 --- a/src/generated/Models/ConditionalAccessGrantControls.cs +++ b/src/generated/Models/ConditionalAccessGrantControls.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessGrantControls : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessGrantControls : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"authenticationStrength", n => { AuthenticationStrength = n.GetObjectValue(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue); } }, - {"builtInControls", n => { BuiltInControls = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"customAuthenticationFactors", n => { CustomAuthenticationFactors = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"operator", n => { Operator = n.GetStringValue(); } }, - {"termsOfUse", n => { TermsOfUse = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "authenticationStrength", n => { AuthenticationStrength = n.GetObjectValue(AuthenticationStrengthPolicy.CreateFromDiscriminatorValue); } }, + { "builtInControls", n => { BuiltInControls = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "customAuthenticationFactors", n => { CustomAuthenticationFactors = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operator", n => { Operator = n.GetStringValue(); } }, + { "termsOfUse", n => { TermsOfUse = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessGuestOrExternalUserTypes.cs b/src/generated/Models/ConditionalAccessGuestOrExternalUserTypes.cs index 96a692c190..12663b7b08 100644 --- a/src/generated/Models/ConditionalAccessGuestOrExternalUserTypes.cs +++ b/src/generated/Models/ConditionalAccessGuestOrExternalUserTypes.cs @@ -1,25 +1,44 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum ConditionalAccessGuestOrExternalUserTypes + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "internalGuest")] + #pragma warning disable CS1591 InternalGuest = 2, + #pragma warning restore CS1591 [EnumMember(Value = "b2bCollaborationGuest")] + #pragma warning disable CS1591 B2bCollaborationGuest = 4, + #pragma warning restore CS1591 [EnumMember(Value = "b2bCollaborationMember")] + #pragma warning disable CS1591 B2bCollaborationMember = 8, + #pragma warning restore CS1591 [EnumMember(Value = "b2bDirectConnectUser")] + #pragma warning disable CS1591 B2bDirectConnectUser = 16, + #pragma warning restore CS1591 [EnumMember(Value = "otherExternalUser")] + #pragma warning disable CS1591 OtherExternalUser = 32, + #pragma warning restore CS1591 [EnumMember(Value = "serviceProvider")] + #pragma warning disable CS1591 ServiceProvider = 64, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue = 128, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessGuestsOrExternalUsers.cs b/src/generated/Models/ConditionalAccessGuestsOrExternalUsers.cs index 594e0f8cc4..0b955cdee6 100644 --- a/src/generated/Models/ConditionalAccessGuestsOrExternalUsers.cs +++ b/src/generated/Models/ConditionalAccessGuestsOrExternalUsers.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessGuestsOrExternalUsers : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessGuestsOrExternalUsers : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"externalTenants", n => { ExternalTenants = n.GetObjectValue(ConditionalAccessExternalTenants.CreateFromDiscriminatorValue); } }, - {"guestOrExternalUserTypes", n => { GuestOrExternalUserTypes = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "externalTenants", n => { ExternalTenants = n.GetObjectValue(ConditionalAccessExternalTenants.CreateFromDiscriminatorValue); } }, + { "guestOrExternalUserTypes", n => { GuestOrExternalUserTypes = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessLocations.cs b/src/generated/Models/ConditionalAccessLocations.cs index af126b584b..9959f059b1 100644 --- a/src/generated/Models/ConditionalAccessLocations.cs +++ b/src/generated/Models/ConditionalAccessLocations.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessLocations : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessLocations : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludeLocations", n => { ExcludeLocations = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeLocations", n => { IncludeLocations = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "excludeLocations", n => { ExcludeLocations = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeLocations", n => { IncludeLocations = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessPlatforms.cs b/src/generated/Models/ConditionalAccessPlatforms.cs index 2e02ce4b28..35d9cf28e8 100644 --- a/src/generated/Models/ConditionalAccessPlatforms.cs +++ b/src/generated/Models/ConditionalAccessPlatforms.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessPlatforms : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessPlatforms : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludePlatforms", n => { ExcludePlatforms = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"includePlatforms", n => { IncludePlatforms = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "excludePlatforms", n => { ExcludePlatforms = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "includePlatforms", n => { IncludePlatforms = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessPolicy.cs b/src/generated/Models/ConditionalAccessPolicy.cs index 183ce059e3..aec2938c8b 100644 --- a/src/generated/Models/ConditionalAccessPolicy.cs +++ b/src/generated/Models/ConditionalAccessPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// The conditions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -79,15 +82,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"conditions", n => { Conditions = n.GetObjectValue(ConditionalAccessConditionSet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"grantControls", n => { GrantControls = n.GetObjectValue(ConditionalAccessGrantControls.CreateFromDiscriminatorValue); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"sessionControls", n => { SessionControls = n.GetObjectValue(ConditionalAccessSessionControls.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"templateId", n => { TemplateId = n.GetStringValue(); } }, + { "conditions", n => { Conditions = n.GetObjectValue(ConditionalAccessConditionSet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "grantControls", n => { GrantControls = n.GetObjectValue(ConditionalAccessGrantControls.CreateFromDiscriminatorValue); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sessionControls", n => { SessionControls = n.GetObjectValue(ConditionalAccessSessionControls.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "templateId", n => { TemplateId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessPolicyCollectionResponse.cs b/src/generated/Models/ConditionalAccessPolicyCollectionResponse.cs index aae8d4ba35..7495a8beaa 100644 --- a/src/generated/Models/ConditionalAccessPolicyCollectionResponse.cs +++ b/src/generated/Models/ConditionalAccessPolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessPolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessPolicyDetail.cs b/src/generated/Models/ConditionalAccessPolicyDetail.cs index 4daf76824f..4d193dce72 100644 --- a/src/generated/Models/ConditionalAccessPolicyDetail.cs +++ b/src/generated/Models/ConditionalAccessPolicyDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessPolicyDetail : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessPolicyDetail : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"conditions", n => { Conditions = n.GetObjectValue(ConditionalAccessConditionSet.CreateFromDiscriminatorValue); } }, - {"grantControls", n => { GrantControls = n.GetObjectValue(ConditionalAccessGrantControls.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"sessionControls", n => { SessionControls = n.GetObjectValue(ConditionalAccessSessionControls.CreateFromDiscriminatorValue); } }, + { "conditions", n => { Conditions = n.GetObjectValue(ConditionalAccessConditionSet.CreateFromDiscriminatorValue); } }, + { "grantControls", n => { GrantControls = n.GetObjectValue(ConditionalAccessGrantControls.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sessionControls", n => { SessionControls = n.GetObjectValue(ConditionalAccessSessionControls.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessPolicyState.cs b/src/generated/Models/ConditionalAccessPolicyState.cs index d796318acc..efe1f23c52 100644 --- a/src/generated/Models/ConditionalAccessPolicyState.cs +++ b/src/generated/Models/ConditionalAccessPolicyState.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessPolicyState + #pragma warning restore CS1591 { [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 Enabled, + #pragma warning restore CS1591 [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 Disabled, + #pragma warning restore CS1591 [EnumMember(Value = "enabledForReportingButNotEnforced")] + #pragma warning disable CS1591 EnabledForReportingButNotEnforced, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessRoot.cs b/src/generated/Models/ConditionalAccessRoot.cs index d01b8cd090..48e61e4094 100644 --- a/src/generated/Models/ConditionalAccessRoot.cs +++ b/src/generated/Models/ConditionalAccessRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessRoot : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessRoot : Entity, IParsable + #pragma warning restore CS1591 { /// Read-only. Nullable. Returns a collection of the specified authentication context class references. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -65,11 +68,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationContextClassReferences", n => { AuthenticationContextClassReferences = n.GetCollectionOfObjectValues(AuthenticationContextClassReference.CreateFromDiscriminatorValue)?.ToList(); } }, - {"authenticationStrength", n => { AuthenticationStrength = n.GetObjectValue(AuthenticationStrengthRoot.CreateFromDiscriminatorValue); } }, - {"namedLocations", n => { NamedLocations = n.GetCollectionOfObjectValues(NamedLocation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"policies", n => { Policies = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"templates", n => { Templates = n.GetCollectionOfObjectValues(ConditionalAccessTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, + { "authenticationContextClassReferences", n => { AuthenticationContextClassReferences = n.GetCollectionOfObjectValues(AuthenticationContextClassReference.CreateFromDiscriminatorValue)?.ToList(); } }, + { "authenticationStrength", n => { AuthenticationStrength = n.GetObjectValue(AuthenticationStrengthRoot.CreateFromDiscriminatorValue); } }, + { "namedLocations", n => { NamedLocations = n.GetCollectionOfObjectValues(NamedLocation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "templates", n => { Templates = n.GetCollectionOfObjectValues(ConditionalAccessTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessSessionControl.cs b/src/generated/Models/ConditionalAccessSessionControl.cs index 8f7f540a3e..ff594b8161 100644 --- a/src/generated/Models/ConditionalAccessSessionControl.cs +++ b/src/generated/Models/ConditionalAccessSessionControl.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessSessionControl : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessSessionControl : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,8 +55,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessSessionControls.cs b/src/generated/Models/ConditionalAccessSessionControls.cs index 9cd78f2f18..2dbc930783 100644 --- a/src/generated/Models/ConditionalAccessSessionControls.cs +++ b/src/generated/Models/ConditionalAccessSessionControls.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessSessionControls : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessSessionControls : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,12 +79,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applicationEnforcedRestrictions", n => { ApplicationEnforcedRestrictions = n.GetObjectValue(ApplicationEnforcedRestrictionsSessionControl.CreateFromDiscriminatorValue); } }, - {"cloudAppSecurity", n => { CloudAppSecurity = n.GetObjectValue(CloudAppSecuritySessionControl.CreateFromDiscriminatorValue); } }, - {"disableResilienceDefaults", n => { DisableResilienceDefaults = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"persistentBrowser", n => { PersistentBrowser = n.GetObjectValue(PersistentBrowserSessionControl.CreateFromDiscriminatorValue); } }, - {"signInFrequency", n => { SignInFrequency = n.GetObjectValue(SignInFrequencySessionControl.CreateFromDiscriminatorValue); } }, + { "applicationEnforcedRestrictions", n => { ApplicationEnforcedRestrictions = n.GetObjectValue(ApplicationEnforcedRestrictionsSessionControl.CreateFromDiscriminatorValue); } }, + { "cloudAppSecurity", n => { CloudAppSecurity = n.GetObjectValue(CloudAppSecuritySessionControl.CreateFromDiscriminatorValue); } }, + { "disableResilienceDefaults", n => { DisableResilienceDefaults = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "persistentBrowser", n => { PersistentBrowser = n.GetObjectValue(PersistentBrowserSessionControl.CreateFromDiscriminatorValue); } }, + { "signInFrequency", n => { SignInFrequency = n.GetObjectValue(SignInFrequencySessionControl.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessStatus.cs b/src/generated/Models/ConditionalAccessStatus.cs index ef17c27675..7f3ce24684 100644 --- a/src/generated/Models/ConditionalAccessStatus.cs +++ b/src/generated/Models/ConditionalAccessStatus.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConditionalAccessStatus + #pragma warning restore CS1591 { [EnumMember(Value = "success")] + #pragma warning disable CS1591 Success, + #pragma warning restore CS1591 [EnumMember(Value = "failure")] + #pragma warning disable CS1591 Failure, + #pragma warning restore CS1591 [EnumMember(Value = "notApplied")] + #pragma warning disable CS1591 NotApplied, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConditionalAccessTemplate.cs b/src/generated/Models/ConditionalAccessTemplate.cs index 623dd12ffb..ced506505d 100644 --- a/src/generated/Models/ConditionalAccessTemplate.cs +++ b/src/generated/Models/ConditionalAccessTemplate.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessTemplate : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessTemplate : Entity, IParsable + #pragma warning restore CS1591 { /// The user-friendly name of the template. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -51,10 +54,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"details", n => { Details = n.GetObjectValue(ConditionalAccessPolicyDetail.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"scenarios", n => { Scenarios = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "details", n => { Details = n.GetObjectValue(ConditionalAccessPolicyDetail.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "scenarios", n => { Scenarios = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessTemplateCollectionResponse.cs b/src/generated/Models/ConditionalAccessTemplateCollectionResponse.cs index 426b47f3d5..8c9c8cc6eb 100644 --- a/src/generated/Models/ConditionalAccessTemplateCollectionResponse.cs +++ b/src/generated/Models/ConditionalAccessTemplateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConditionalAccessTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConditionalAccessTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConditionalAccessUsers.cs b/src/generated/Models/ConditionalAccessUsers.cs index 8ec5e35f5f..f3dc77427e 100644 --- a/src/generated/Models/ConditionalAccessUsers.cs +++ b/src/generated/Models/ConditionalAccessUsers.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConditionalAccessUsers : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConditionalAccessUsers : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -106,15 +109,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"excludeGroups", n => { ExcludeGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"excludeGuestsOrExternalUsers", n => { ExcludeGuestsOrExternalUsers = n.GetObjectValue(ConditionalAccessGuestsOrExternalUsers.CreateFromDiscriminatorValue); } }, - {"excludeRoles", n => { ExcludeRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"excludeUsers", n => { ExcludeUsers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeGroups", n => { IncludeGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeGuestsOrExternalUsers", n => { IncludeGuestsOrExternalUsers = n.GetObjectValue(ConditionalAccessGuestsOrExternalUsers.CreateFromDiscriminatorValue); } }, - {"includeRoles", n => { IncludeRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"includeUsers", n => { IncludeUsers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "excludeGroups", n => { ExcludeGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "excludeGuestsOrExternalUsers", n => { ExcludeGuestsOrExternalUsers = n.GetObjectValue(ConditionalAccessGuestsOrExternalUsers.CreateFromDiscriminatorValue); } }, + { "excludeRoles", n => { ExcludeRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "excludeUsers", n => { ExcludeUsers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeGroups", n => { IncludeGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeGuestsOrExternalUsers", n => { IncludeGuestsOrExternalUsers = n.GetObjectValue(ConditionalAccessGuestsOrExternalUsers.CreateFromDiscriminatorValue); } }, + { "includeRoles", n => { IncludeRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "includeUsers", n => { IncludeUsers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConfigurationManagerClientEnabledFeatures.cs b/src/generated/Models/ConfigurationManagerClientEnabledFeatures.cs index 3c2ecd9e49..9d98ece891 100644 --- a/src/generated/Models/ConfigurationManagerClientEnabledFeatures.cs +++ b/src/generated/Models/ConfigurationManagerClientEnabledFeatures.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// configuration Manager client enabled features /// - public class ConfigurationManagerClientEnabledFeatures : IAdditionalDataHolder, IParsable + public class ConfigurationManagerClientEnabledFeatures : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -57,13 +58,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"compliancePolicy", n => { CompliancePolicy = n.GetBoolValue(); } }, - {"deviceConfiguration", n => { DeviceConfiguration = n.GetBoolValue(); } }, - {"inventory", n => { Inventory = n.GetBoolValue(); } }, - {"modernApps", n => { ModernApps = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"resourceAccess", n => { ResourceAccess = n.GetBoolValue(); } }, - {"windowsUpdateForBusiness", n => { WindowsUpdateForBusiness = n.GetBoolValue(); } }, + { "compliancePolicy", n => { CompliancePolicy = n.GetBoolValue(); } }, + { "deviceConfiguration", n => { DeviceConfiguration = n.GetBoolValue(); } }, + { "inventory", n => { Inventory = n.GetBoolValue(); } }, + { "modernApps", n => { ModernApps = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceAccess", n => { ResourceAccess = n.GetBoolValue(); } }, + { "windowsUpdateForBusiness", n => { WindowsUpdateForBusiness = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/ConfigurationManagerCollectionAssignmentTarget.cs b/src/generated/Models/ConfigurationManagerCollectionAssignmentTarget.cs index 8c5bdef3f9..3dd697ba30 100644 --- a/src/generated/Models/ConfigurationManagerCollectionAssignmentTarget.cs +++ b/src/generated/Models/ConfigurationManagerCollectionAssignmentTarget.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents an assignment to a Configuration Manager Collection. /// - public class ConfigurationManagerCollectionAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable + public class ConfigurationManagerCollectionAssignmentTarget : DeviceAndAppManagementAssignmentTarget, IParsable { /// The collection Id that is the target of the assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +44,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"collectionId", n => { CollectionId = n.GetStringValue(); } }, + { "collectionId", n => { CollectionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConnectedOrganization.cs b/src/generated/Models/ConnectedOrganization.cs index 0d5e57b9da..3673ead8ef 100644 --- a/src/generated/Models/ConnectedOrganization.cs +++ b/src/generated/Models/ConnectedOrganization.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConnectedOrganization : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConnectedOrganization : Entity, IParsable + #pragma warning restore CS1591 { /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. public DateTimeOffset? CreatedDateTime { get; set; } @@ -71,14 +74,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalSponsors", n => { ExternalSponsors = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"identitySources", n => { IdentitySources = n.GetCollectionOfObjectValues(IdentitySource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"internalSponsors", n => { InternalSponsors = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalSponsors", n => { ExternalSponsors = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "identitySources", n => { IdentitySources = n.GetCollectionOfObjectValues(IdentitySource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "internalSponsors", n => { InternalSponsors = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ConnectedOrganizationCollectionResponse.cs b/src/generated/Models/ConnectedOrganizationCollectionResponse.cs index c4be1389e0..666bd4bcee 100644 --- a/src/generated/Models/ConnectedOrganizationCollectionResponse.cs +++ b/src/generated/Models/ConnectedOrganizationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConnectedOrganizationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConnectedOrganizationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConnectedOrganization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConnectedOrganization.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConnectedOrganizationMembers.cs b/src/generated/Models/ConnectedOrganizationMembers.cs index 8f978c466e..66efc4cc46 100644 --- a/src/generated/Models/ConnectedOrganizationMembers.cs +++ b/src/generated/Models/ConnectedOrganizationMembers.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConnectedOrganizationMembers : SubjectSet, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConnectedOrganizationMembers : SubjectSet, IParsable + #pragma warning restore CS1591 { /// The ID of the connected organization in entitlement management. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"connectedOrganizationId", n => { ConnectedOrganizationId = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, + { "connectedOrganizationId", n => { ConnectedOrganizationId = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConnectedOrganizationState.cs b/src/generated/Models/ConnectedOrganizationState.cs index 625931f9c5..249d4201be 100644 --- a/src/generated/Models/ConnectedOrganizationState.cs +++ b/src/generated/Models/ConnectedOrganizationState.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConnectedOrganizationState + #pragma warning restore CS1591 { [EnumMember(Value = "configured")] + #pragma warning disable CS1591 Configured, + #pragma warning restore CS1591 [EnumMember(Value = "proposed")] + #pragma warning disable CS1591 Proposed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConnectionDirection.cs b/src/generated/Models/ConnectionDirection.cs index ebbb2667e8..e1060d540c 100644 --- a/src/generated/Models/ConnectionDirection.cs +++ b/src/generated/Models/ConnectionDirection.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConnectionDirection + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "inbound")] + #pragma warning disable CS1591 Inbound, + #pragma warning restore CS1591 [EnumMember(Value = "outbound")] + #pragma warning disable CS1591 Outbound, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ConnectionInfo.cs b/src/generated/Models/ConnectionInfo.cs index a6daeb33c0..a779f368b5 100644 --- a/src/generated/Models/ConnectionInfo.cs +++ b/src/generated/Models/ConnectionInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConnectionInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConnectionInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"url", n => { Url = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ConnectionStatus.cs b/src/generated/Models/ConnectionStatus.cs index 4766810f36..120ffe3155 100644 --- a/src/generated/Models/ConnectionStatus.cs +++ b/src/generated/Models/ConnectionStatus.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ConnectionStatus + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "attempted")] + #pragma warning disable CS1591 Attempted, + #pragma warning restore CS1591 [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 Succeeded, + #pragma warning restore CS1591 [EnumMember(Value = "blocked")] + #pragma warning disable CS1591 Blocked, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/Contact.cs b/src/generated/Models/Contact.cs index 00a41fe934..0641d9323b 100644 --- a/src/generated/Models/Contact.cs +++ b/src/generated/Models/Contact.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Contact : OutlookItem, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Contact : OutlookItem, IParsable + #pragma warning restore CS1591 { /// The name of the contact's assistant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -322,43 +325,43 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assistantName", n => { AssistantName = n.GetStringValue(); } }, - {"birthday", n => { Birthday = n.GetDateTimeOffsetValue(); } }, - {"businessAddress", n => { BusinessAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"businessHomePage", n => { BusinessHomePage = n.GetStringValue(); } }, - {"businessPhones", n => { BusinessPhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"children", n => { Children = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"companyName", n => { CompanyName = n.GetStringValue(); } }, - {"department", n => { Department = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"emailAddresses", n => { EmailAddresses = n.GetCollectionOfObjectValues(EmailAddress.CreateFromDiscriminatorValue)?.ToList(); } }, - {"extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, - {"fileAs", n => { FileAs = n.GetStringValue(); } }, - {"generation", n => { Generation = n.GetStringValue(); } }, - {"givenName", n => { GivenName = n.GetStringValue(); } }, - {"homeAddress", n => { HomeAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"homePhones", n => { HomePhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"imAddresses", n => { ImAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"initials", n => { Initials = n.GetStringValue(); } }, - {"jobTitle", n => { JobTitle = n.GetStringValue(); } }, - {"manager", n => { Manager = n.GetStringValue(); } }, - {"middleName", n => { MiddleName = n.GetStringValue(); } }, - {"mobilePhone", n => { MobilePhone = n.GetStringValue(); } }, - {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"nickName", n => { NickName = n.GetStringValue(); } }, - {"officeLocation", n => { OfficeLocation = n.GetStringValue(); } }, - {"otherAddress", n => { OtherAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, - {"personalNotes", n => { PersonalNotes = n.GetStringValue(); } }, - {"photo", n => { Photo = n.GetObjectValue(ProfilePhoto.CreateFromDiscriminatorValue); } }, - {"profession", n => { Profession = n.GetStringValue(); } }, - {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"spouseName", n => { SpouseName = n.GetStringValue(); } }, - {"surname", n => { Surname = n.GetStringValue(); } }, - {"title", n => { Title = n.GetStringValue(); } }, - {"yomiCompanyName", n => { YomiCompanyName = n.GetStringValue(); } }, - {"yomiGivenName", n => { YomiGivenName = n.GetStringValue(); } }, - {"yomiSurname", n => { YomiSurname = n.GetStringValue(); } }, + { "assistantName", n => { AssistantName = n.GetStringValue(); } }, + { "birthday", n => { Birthday = n.GetDateTimeOffsetValue(); } }, + { "businessAddress", n => { BusinessAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "businessHomePage", n => { BusinessHomePage = n.GetStringValue(); } }, + { "businessPhones", n => { BusinessPhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "children", n => { Children = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "companyName", n => { CompanyName = n.GetStringValue(); } }, + { "department", n => { Department = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "emailAddresses", n => { EmailAddresses = n.GetCollectionOfObjectValues(EmailAddress.CreateFromDiscriminatorValue)?.ToList(); } }, + { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "fileAs", n => { FileAs = n.GetStringValue(); } }, + { "generation", n => { Generation = n.GetStringValue(); } }, + { "givenName", n => { GivenName = n.GetStringValue(); } }, + { "homeAddress", n => { HomeAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "homePhones", n => { HomePhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "imAddresses", n => { ImAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "initials", n => { Initials = n.GetStringValue(); } }, + { "jobTitle", n => { JobTitle = n.GetStringValue(); } }, + { "manager", n => { Manager = n.GetStringValue(); } }, + { "middleName", n => { MiddleName = n.GetStringValue(); } }, + { "mobilePhone", n => { MobilePhone = n.GetStringValue(); } }, + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "nickName", n => { NickName = n.GetStringValue(); } }, + { "officeLocation", n => { OfficeLocation = n.GetStringValue(); } }, + { "otherAddress", n => { OtherAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, + { "personalNotes", n => { PersonalNotes = n.GetStringValue(); } }, + { "photo", n => { Photo = n.GetObjectValue(ProfilePhoto.CreateFromDiscriminatorValue); } }, + { "profession", n => { Profession = n.GetStringValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "spouseName", n => { SpouseName = n.GetStringValue(); } }, + { "surname", n => { Surname = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + { "yomiCompanyName", n => { YomiCompanyName = n.GetStringValue(); } }, + { "yomiGivenName", n => { YomiGivenName = n.GetStringValue(); } }, + { "yomiSurname", n => { YomiSurname = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ContactCollectionResponse.cs b/src/generated/Models/ContactCollectionResponse.cs index 3c59b4b683..148aac6f2b 100644 --- a/src/generated/Models/ContactCollectionResponse.cs +++ b/src/generated/Models/ContactCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContactCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContactCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Contact.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Contact.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ContactFolder.cs b/src/generated/Models/ContactFolder.cs index ec1d0d27d8..44e2f005f7 100644 --- a/src/generated/Models/ContactFolder.cs +++ b/src/generated/Models/ContactFolder.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContactFolder : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContactFolder : Entity, IParsable + #pragma warning restore CS1591 { /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -73,12 +76,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(ContactFolder.CreateFromDiscriminatorValue)?.ToList(); } }, - {"contacts", n => { Contacts = n.GetCollectionOfObjectValues(Contact.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, - {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(ContactFolder.CreateFromDiscriminatorValue)?.ToList(); } }, + { "contacts", n => { Contacts = n.GetCollectionOfObjectValues(Contact.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ContactFolderCollectionResponse.cs b/src/generated/Models/ContactFolderCollectionResponse.cs index bdbefbe836..0ceb36be4c 100644 --- a/src/generated/Models/ContactFolderCollectionResponse.cs +++ b/src/generated/Models/ContactFolderCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContactFolderCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContactFolderCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContactFolder.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContactFolder.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ContactRelationship.cs b/src/generated/Models/ContactRelationship.cs index 22c7ac389d..b6a5501e1d 100644 --- a/src/generated/Models/ContactRelationship.cs +++ b/src/generated/Models/ContactRelationship.cs @@ -1,24 +1,43 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ContactRelationship + #pragma warning restore CS1591 { [EnumMember(Value = "parent")] + #pragma warning disable CS1591 Parent, + #pragma warning restore CS1591 [EnumMember(Value = "relative")] + #pragma warning disable CS1591 Relative, + #pragma warning restore CS1591 [EnumMember(Value = "aide")] + #pragma warning disable CS1591 Aide, + #pragma warning restore CS1591 [EnumMember(Value = "doctor")] + #pragma warning disable CS1591 Doctor, + #pragma warning restore CS1591 [EnumMember(Value = "guardian")] + #pragma warning disable CS1591 Guardian, + #pragma warning restore CS1591 [EnumMember(Value = "child")] + #pragma warning disable CS1591 Child, + #pragma warning restore CS1591 [EnumMember(Value = "other")] + #pragma warning disable CS1591 Other, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ContainerFilter.cs b/src/generated/Models/ContainerFilter.cs index 4c0e7f1c56..c3f134e258 100644 --- a/src/generated/Models/ContainerFilter.cs +++ b/src/generated/Models/ContainerFilter.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContainerFilter : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContainerFilter : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"includedContainers", n => { IncludedContainers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "includedContainers", n => { IncludedContainers = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ContentApprovalStatusColumn.cs b/src/generated/Models/ContentApprovalStatusColumn.cs index ae01823d4f..dc1b706e8f 100644 --- a/src/generated/Models/ContentApprovalStatusColumn.cs +++ b/src/generated/Models/ContentApprovalStatusColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentApprovalStatusColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentApprovalStatusColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ContentCustomization.cs b/src/generated/Models/ContentCustomization.cs new file mode 100644 index 0000000000..4e434705b7 --- /dev/null +++ b/src/generated/Models/ContentCustomization.cs @@ -0,0 +1,102 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentCustomization : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Represents the content options of External Identities to be customized throughout the authentication flow for a tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AttributeCollection { get; set; } +#nullable restore +#else + public List AttributeCollection { get; set; } +#endif + /// A relative URL for the content options of External Identities to be customized throughout the authentication flow for a tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AttributeCollectionRelativeUrl { get; set; } +#nullable restore +#else + public string AttributeCollectionRelativeUrl { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The registrationCampaign property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RegistrationCampaign { get; set; } +#nullable restore +#else + public List RegistrationCampaign { get; set; } +#endif + /// The registrationCampaignRelativeUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RegistrationCampaignRelativeUrl { get; set; } +#nullable restore +#else + public string RegistrationCampaignRelativeUrl { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ContentCustomization() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static ContentCustomization CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new ContentCustomization(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attributeCollection", n => { AttributeCollection = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributeCollectionRelativeUrl", n => { AttributeCollectionRelativeUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "registrationCampaign", n => { RegistrationCampaign = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "registrationCampaignRelativeUrl", n => { RegistrationCampaignRelativeUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("attributeCollection", AttributeCollection); + writer.WriteStringValue("attributeCollectionRelativeUrl", AttributeCollectionRelativeUrl); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("registrationCampaign", RegistrationCampaign); + writer.WriteStringValue("registrationCampaignRelativeUrl", RegistrationCampaignRelativeUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/ContentSharingSession.cs b/src/generated/Models/ContentSharingSession.cs index 2e9845660a..7d98674c22 100644 --- a/src/generated/Models/ContentSharingSession.cs +++ b/src/generated/Models/ContentSharingSession.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentSharingSession : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentSharingSession : Entity, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/ContentSharingSessionCollectionResponse.cs b/src/generated/Models/ContentSharingSessionCollectionResponse.cs index 730a860734..b266c029b0 100644 --- a/src/generated/Models/ContentSharingSessionCollectionResponse.cs +++ b/src/generated/Models/ContentSharingSessionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentSharingSessionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentSharingSessionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentSharingSession.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentSharingSession.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ContentType.cs b/src/generated/Models/ContentType.cs index 21a181b3ca..a82d3d6d20 100644 --- a/src/generated/Models/ContentType.cs +++ b/src/generated/Models/ContentType.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentType : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentType : Entity, IParsable + #pragma warning restore CS1591 { /// List of canonical URLs for hub sites with which this content type is associated to. This will contain all hub sites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type is applied to the lists in the enforced sites. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -147,25 +150,25 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"associatedHubsUrls", n => { AssociatedHubsUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"base", n => { Base = n.GetObjectValue(ContentType.CreateFromDiscriminatorValue); } }, - {"baseTypes", n => { BaseTypes = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, - {"columnLinks", n => { ColumnLinks = n.GetCollectionOfObjectValues(ColumnLink.CreateFromDiscriminatorValue)?.ToList(); } }, - {"columnPositions", n => { ColumnPositions = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"columns", n => { Columns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"documentSet", n => { DocumentSet = n.GetObjectValue(ApiSdk.Models.DocumentSet.CreateFromDiscriminatorValue); } }, - {"documentTemplate", n => { DocumentTemplate = n.GetObjectValue(DocumentSetContent.CreateFromDiscriminatorValue); } }, - {"group", n => { Group = n.GetStringValue(); } }, - {"hidden", n => { Hidden = n.GetBoolValue(); } }, - {"inheritedFrom", n => { InheritedFrom = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, - {"isBuiltIn", n => { IsBuiltIn = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"order", n => { Order = n.GetObjectValue(ContentTypeOrder.CreateFromDiscriminatorValue); } }, - {"parentId", n => { ParentId = n.GetStringValue(); } }, - {"propagateChanges", n => { PropagateChanges = n.GetBoolValue(); } }, - {"readOnly", n => { ReadOnly = n.GetBoolValue(); } }, - {"sealed", n => { Sealed = n.GetBoolValue(); } }, + { "associatedHubsUrls", n => { AssociatedHubsUrls = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "base", n => { Base = n.GetObjectValue(ContentType.CreateFromDiscriminatorValue); } }, + { "baseTypes", n => { BaseTypes = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "columnLinks", n => { ColumnLinks = n.GetCollectionOfObjectValues(ColumnLink.CreateFromDiscriminatorValue)?.ToList(); } }, + { "columnPositions", n => { ColumnPositions = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "columns", n => { Columns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "documentSet", n => { DocumentSet = n.GetObjectValue(ApiSdk.Models.DocumentSet.CreateFromDiscriminatorValue); } }, + { "documentTemplate", n => { DocumentTemplate = n.GetObjectValue(DocumentSetContent.CreateFromDiscriminatorValue); } }, + { "group", n => { Group = n.GetStringValue(); } }, + { "hidden", n => { Hidden = n.GetBoolValue(); } }, + { "inheritedFrom", n => { InheritedFrom = n.GetObjectValue(ItemReference.CreateFromDiscriminatorValue); } }, + { "isBuiltIn", n => { IsBuiltIn = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "order", n => { Order = n.GetObjectValue(ContentTypeOrder.CreateFromDiscriminatorValue); } }, + { "parentId", n => { ParentId = n.GetStringValue(); } }, + { "propagateChanges", n => { PropagateChanges = n.GetBoolValue(); } }, + { "readOnly", n => { ReadOnly = n.GetBoolValue(); } }, + { "sealed", n => { Sealed = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/ContentTypeCollectionResponse.cs b/src/generated/Models/ContentTypeCollectionResponse.cs index 97b33f5715..3f9e7b9fd9 100644 --- a/src/generated/Models/ContentTypeCollectionResponse.cs +++ b/src/generated/Models/ContentTypeCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentTypeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentTypeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ContentType.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ContentTypeInfo.cs b/src/generated/Models/ContentTypeInfo.cs index 2539ad43f0..5a4bd867cb 100644 --- a/src/generated/Models/ContentTypeInfo.cs +++ b/src/generated/Models/ContentTypeInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentTypeInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentTypeInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ContentTypeOrder.cs b/src/generated/Models/ContentTypeOrder.cs index 4883736fdf..14bfc48969 100644 --- a/src/generated/Models/ContentTypeOrder.cs +++ b/src/generated/Models/ContentTypeOrder.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContentTypeOrder : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContentTypeOrder : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -46,9 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"default", n => { Default = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"position", n => { Position = n.GetIntValue(); } }, + { "default", n => { Default = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "position", n => { Position = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/Contract.cs b/src/generated/Models/Contract.cs index b390b948cd..8c7afe366a 100644 --- a/src/generated/Models/Contract.cs +++ b/src/generated/Models/Contract.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Contract : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Contract : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -58,10 +61,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"contractType", n => { ContractType = n.GetStringValue(); } }, - {"customerId", n => { CustomerId = n.GetGuidValue(); } }, - {"defaultDomainName", n => { DefaultDomainName = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "contractType", n => { ContractType = n.GetStringValue(); } }, + { "customerId", n => { CustomerId = n.GetGuidValue(); } }, + { "defaultDomainName", n => { DefaultDomainName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ContractCollectionResponse.cs b/src/generated/Models/ContractCollectionResponse.cs index 1c11e70437..71ceea29f9 100644 --- a/src/generated/Models/ContractCollectionResponse.cs +++ b/src/generated/Models/ContractCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ContractCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ContractCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Contract.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Contract.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ControlScore.cs b/src/generated/Models/ControlScore.cs index 9528787022..71737791fe 100644 --- a/src/generated/Models/ControlScore.cs +++ b/src/generated/Models/ControlScore.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ControlScore : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ControlScore : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -68,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"controlCategory", n => { ControlCategory = n.GetStringValue(); } }, - {"controlName", n => { ControlName = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"score", n => { Score = n.GetDoubleValue(); } }, + { "controlCategory", n => { ControlCategory = n.GetStringValue(); } }, + { "controlName", n => { ControlName = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "score", n => { Score = n.GetDoubleValue(); } }, }; } /// diff --git a/src/generated/Models/Conversation.cs b/src/generated/Models/Conversation.cs index 34a218c6fc..6af6de739c 100644 --- a/src/generated/Models/Conversation.cs +++ b/src/generated/Models/Conversation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Conversation : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Conversation : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates whether any of the posts within this Conversation has at least one attachment. Supports $filter (eq, ne) and $search. public bool? HasAttachments { get; set; } @@ -61,12 +64,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, - {"lastDeliveredDateTime", n => { LastDeliveredDateTime = n.GetDateTimeOffsetValue(); } }, - {"preview", n => { Preview = n.GetStringValue(); } }, - {"threads", n => { Threads = n.GetCollectionOfObjectValues(ConversationThread.CreateFromDiscriminatorValue)?.ToList(); } }, - {"topic", n => { Topic = n.GetStringValue(); } }, - {"uniqueSenders", n => { UniqueSenders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, + { "lastDeliveredDateTime", n => { LastDeliveredDateTime = n.GetDateTimeOffsetValue(); } }, + { "preview", n => { Preview = n.GetStringValue(); } }, + { "threads", n => { Threads = n.GetCollectionOfObjectValues(ConversationThread.CreateFromDiscriminatorValue)?.ToList(); } }, + { "topic", n => { Topic = n.GetStringValue(); } }, + { "uniqueSenders", n => { UniqueSenders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConversationCollectionResponse.cs b/src/generated/Models/ConversationCollectionResponse.cs index f495d41377..4bcec50b89 100644 --- a/src/generated/Models/ConversationCollectionResponse.cs +++ b/src/generated/Models/ConversationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Conversation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Conversation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConversationMember.cs b/src/generated/Models/ConversationMember.cs index 12f5ef3ba4..2edfd23efb 100644 --- a/src/generated/Models/ConversationMember.cs +++ b/src/generated/Models/ConversationMember.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationMember : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationMember : Entity, IParsable + #pragma warning restore CS1591 { /// The display name of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -53,9 +56,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"visibleHistoryStartDateTime", n => { VisibleHistoryStartDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "visibleHistoryStartDateTime", n => { VisibleHistoryStartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/ConversationMemberCollectionResponse.cs b/src/generated/Models/ConversationMemberCollectionResponse.cs index e403858231..5711a2d774 100644 --- a/src/generated/Models/ConversationMemberCollectionResponse.cs +++ b/src/generated/Models/ConversationMemberCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationMemberCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationMemberCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConversationMember.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConversationMemberRoleUpdatedEventMessageDetail.cs b/src/generated/Models/ConversationMemberRoleUpdatedEventMessageDetail.cs index 6e4683fbcb..f2696f0df4 100644 --- a/src/generated/Models/ConversationMemberRoleUpdatedEventMessageDetail.cs +++ b/src/generated/Models/ConversationMemberRoleUpdatedEventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationMemberRoleUpdatedEventMessageDetail : EventMessageDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationMemberRoleUpdatedEventMessageDetail : EventMessageDetail, IParsable + #pragma warning restore CS1591 { /// Roles for the coversation member user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"conversationMemberRoles", n => { ConversationMemberRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"conversationMemberUser", n => { ConversationMemberUser = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, - {"initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "conversationMemberRoles", n => { ConversationMemberRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "conversationMemberUser", n => { ConversationMemberUser = n.GetObjectValue(TeamworkUserIdentity.CreateFromDiscriminatorValue); } }, + { "initiator", n => { Initiator = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ConversationThread.cs b/src/generated/Models/ConversationThread.cs index 2538a2d706..e14bd0ab8f 100644 --- a/src/generated/Models/ConversationThread.cs +++ b/src/generated/Models/ConversationThread.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationThread : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationThread : Entity, IParsable + #pragma warning restore CS1591 { /// The Cc: recipients for the thread. Returned only on $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -79,15 +82,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"ccRecipients", n => { CcRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, - {"isLocked", n => { IsLocked = n.GetBoolValue(); } }, - {"lastDeliveredDateTime", n => { LastDeliveredDateTime = n.GetDateTimeOffsetValue(); } }, - {"posts", n => { Posts = n.GetCollectionOfObjectValues(Post.CreateFromDiscriminatorValue)?.ToList(); } }, - {"preview", n => { Preview = n.GetStringValue(); } }, - {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, - {"topic", n => { Topic = n.GetStringValue(); } }, - {"uniqueSenders", n => { UniqueSenders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "ccRecipients", n => { CcRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, + { "isLocked", n => { IsLocked = n.GetBoolValue(); } }, + { "lastDeliveredDateTime", n => { LastDeliveredDateTime = n.GetDateTimeOffsetValue(); } }, + { "posts", n => { Posts = n.GetCollectionOfObjectValues(Post.CreateFromDiscriminatorValue)?.ToList(); } }, + { "preview", n => { Preview = n.GetStringValue(); } }, + { "toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + { "topic", n => { Topic = n.GetStringValue(); } }, + { "uniqueSenders", n => { UniqueSenders = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConversationThreadCollectionResponse.cs b/src/generated/Models/ConversationThreadCollectionResponse.cs index 0a5265d15c..0cfce57e5a 100644 --- a/src/generated/Models/ConversationThreadCollectionResponse.cs +++ b/src/generated/Models/ConversationThreadCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConversationThreadCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConversationThreadCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConversationThread.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConversationThread.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ConvertIdResult.cs b/src/generated/Models/ConvertIdResult.cs index 4ca84bcb31..bd02ed1be5 100644 --- a/src/generated/Models/ConvertIdResult.cs +++ b/src/generated/Models/ConvertIdResult.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ConvertIdResult : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ConvertIdResult : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"errorDetails", n => { ErrorDetails = n.GetObjectValue(GenericError.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"sourceId", n => { SourceId = n.GetStringValue(); } }, - {"targetId", n => { TargetId = n.GetStringValue(); } }, + { "errorDetails", n => { ErrorDetails = n.GetObjectValue(GenericError.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourceId", n => { SourceId = n.GetStringValue(); } }, + { "targetId", n => { TargetId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CopyNotebookModel.cs b/src/generated/Models/CopyNotebookModel.cs index 20648d66d2..7af64eee00 100644 --- a/src/generated/Models/CopyNotebookModel.cs +++ b/src/generated/Models/CopyNotebookModel.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CopyNotebookModel : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CopyNotebookModel : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -132,22 +135,22 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"createdBy", n => { CreatedBy = n.GetStringValue(); } }, - {"createdByIdentity", n => { CreatedByIdentity = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdTime", n => { CreatedTime = n.GetDateTimeOffsetValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"isDefault", n => { IsDefault = n.GetBoolValue(); } }, - {"isShared", n => { IsShared = n.GetBoolValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, - {"lastModifiedByIdentity", n => { LastModifiedByIdentity = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedTime", n => { LastModifiedTime = n.GetDateTimeOffsetValue(); } }, - {"links", n => { Links = n.GetObjectValue(NotebookLinks.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"sectionGroupsUrl", n => { SectionGroupsUrl = n.GetStringValue(); } }, - {"sectionsUrl", n => { SectionsUrl = n.GetStringValue(); } }, - {"self", n => { Self = n.GetStringValue(); } }, - {"userRole", n => { UserRole = n.GetEnumValue(); } }, + { "createdBy", n => { CreatedBy = n.GetStringValue(); } }, + { "createdByIdentity", n => { CreatedByIdentity = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdTime", n => { CreatedTime = n.GetDateTimeOffsetValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, + { "isShared", n => { IsShared = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, + { "lastModifiedByIdentity", n => { LastModifiedByIdentity = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedTime", n => { LastModifiedTime = n.GetDateTimeOffsetValue(); } }, + { "links", n => { Links = n.GetObjectValue(NotebookLinks.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sectionGroupsUrl", n => { SectionGroupsUrl = n.GetStringValue(); } }, + { "sectionsUrl", n => { SectionsUrl = n.GetStringValue(); } }, + { "self", n => { Self = n.GetStringValue(); } }, + { "userRole", n => { UserRole = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CountryLookupMethodType.cs b/src/generated/Models/CountryLookupMethodType.cs index 072cdd6ace..9ad3c7b5c9 100644 --- a/src/generated/Models/CountryLookupMethodType.cs +++ b/src/generated/Models/CountryLookupMethodType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CountryLookupMethodType + #pragma warning restore CS1591 { [EnumMember(Value = "clientIpAddress")] + #pragma warning disable CS1591 ClientIpAddress, + #pragma warning restore CS1591 [EnumMember(Value = "authenticatorAppGps")] + #pragma warning disable CS1591 AuthenticatorAppGps, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CountryNamedLocation.cs b/src/generated/Models/CountryNamedLocation.cs index f7dada824f..c97abfa1d8 100644 --- a/src/generated/Models/CountryNamedLocation.cs +++ b/src/generated/Models/CountryNamedLocation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CountryNamedLocation : NamedLocation, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CountryNamedLocation : NamedLocation, IParsable + #pragma warning restore CS1591 { /// List of countries and/or regions in two-letter format specified by ISO 3166-2. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -37,9 +40,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"countriesAndRegions", n => { CountriesAndRegions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"countryLookupMethod", n => { CountryLookupMethod = n.GetEnumValue(); } }, - {"includeUnknownCountriesAndRegions", n => { IncludeUnknownCountriesAndRegions = n.GetBoolValue(); } }, + { "countriesAndRegions", n => { CountriesAndRegions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "countryLookupMethod", n => { CountryLookupMethod = n.GetEnumValue(); } }, + { "includeUnknownCountriesAndRegions", n => { IncludeUnknownCountriesAndRegions = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CourseStatus.cs b/src/generated/Models/CourseStatus.cs index 26f1c17929..3b2f2aca67 100644 --- a/src/generated/Models/CourseStatus.cs +++ b/src/generated/Models/CourseStatus.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CourseStatus + #pragma warning restore CS1591 { [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 NotStarted, + #pragma warning restore CS1591 [EnumMember(Value = "inProgress")] + #pragma warning disable CS1591 InProgress, + #pragma warning restore CS1591 [EnumMember(Value = "completed")] + #pragma warning disable CS1591 Completed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CrossCloudAzureActiveDirectoryTenant.cs b/src/generated/Models/CrossCloudAzureActiveDirectoryTenant.cs index 69e5cc2229..61b4712e2a 100644 --- a/src/generated/Models/CrossCloudAzureActiveDirectoryTenant.cs +++ b/src/generated/Models/CrossCloudAzureActiveDirectoryTenant.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossCloudAzureActiveDirectoryTenant : IdentitySource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossCloudAzureActiveDirectoryTenant : IdentitySource, IParsable + #pragma warning restore CS1591 { /// The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,9 +59,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"cloudInstance", n => { CloudInstance = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "cloudInstance", n => { CloudInstance = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicy.cs b/src/generated/Models/CrossTenantAccessPolicy.cs index d1adad4dab..3a6ec9ff0d 100644 --- a/src/generated/Models/CrossTenantAccessPolicy.cs +++ b/src/generated/Models/CrossTenantAccessPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicy : PolicyBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicy : PolicyBase, IParsable + #pragma warning restore CS1591 { /// Used to specify which Microsoft clouds an organization would like to collaborate with. By default, this value is empty. Supported values for this field are: microsoftonline.com, microsoftonline.us, and partner.microsoftonline.cn. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -30,6 +33,14 @@ public class CrossTenantAccessPolicy : PolicyBase, IParsable #nullable restore #else public List Partners { get; set; } +#endif + /// Represents the base policy in the directory for multitenant organization settings. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public PolicyTemplate? Templates { get; set; } +#nullable restore +#else + public PolicyTemplate Templates { get; set; } #endif /// /// Instantiates a new and sets the default values. @@ -56,9 +67,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowedCloudEndpoints", n => { AllowedCloudEndpoints = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"default", n => { Default = n.GetObjectValue(CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue); } }, - {"partners", n => { Partners = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "allowedCloudEndpoints", n => { AllowedCloudEndpoints = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "default", n => { Default = n.GetObjectValue(CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue); } }, + { "partners", n => { Partners = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "templates", n => { Templates = n.GetObjectValue(PolicyTemplate.CreateFromDiscriminatorValue); } }, }; } /// @@ -72,6 +84,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("allowedCloudEndpoints", AllowedCloudEndpoints); writer.WriteObjectValue("default", Default); writer.WriteCollectionOfObjectValues("partners", Partners); + writer.WriteObjectValue("templates", Templates); } } } diff --git a/src/generated/Models/CrossTenantAccessPolicyB2BSetting.cs b/src/generated/Models/CrossTenantAccessPolicyB2BSetting.cs index 728063dcea..07a8c9081d 100644 --- a/src/generated/Models/CrossTenantAccessPolicyB2BSetting.cs +++ b/src/generated/Models/CrossTenantAccessPolicyB2BSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyB2BSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyB2BSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"applications", n => { Applications = n.GetObjectValue(CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"usersAndGroups", n => { UsersAndGroups = n.GetObjectValue(CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, + { "applications", n => { Applications = n.GetObjectValue(CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "usersAndGroups", n => { UsersAndGroups = n.GetObjectValue(CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs b/src/generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs index aea35f9df2..dcbdf38d5b 100644 --- a/src/generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs +++ b/src/generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyConfigurationDefault : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyConfigurationDefault : Entity, IParsable + #pragma warning restore CS1591 { /// Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and can't be updated in the default configuration. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -83,14 +86,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, - {"b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"inboundTrust", n => { InboundTrust = n.GetObjectValue(CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, - {"invitationRedemptionIdentityProviderConfiguration", n => { InvitationRedemptionIdentityProviderConfiguration = n.GetObjectValue(DefaultInvitationRedemptionIdentityProviderConfiguration.CreateFromDiscriminatorValue); } }, - {"isServiceDefault", n => { IsServiceDefault = n.GetBoolValue(); } }, + { "automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, + { "b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "inboundTrust", n => { InboundTrust = n.GetObjectValue(CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, + { "invitationRedemptionIdentityProviderConfiguration", n => { InvitationRedemptionIdentityProviderConfiguration = n.GetObjectValue(DefaultInvitationRedemptionIdentityProviderConfiguration.CreateFromDiscriminatorValue); } }, + { "isServiceDefault", n => { IsServiceDefault = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs b/src/generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs index 1d96f89549..c4a08dc3ad 100644 --- a/src/generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs +++ b/src/generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyConfigurationPartner : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyConfigurationPartner : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -65,6 +68,8 @@ public class CrossTenantAccessPolicyConfigurationPartner : IAdditionalDataHolder #else public CrossTenantAccessPolicyInboundTrust InboundTrust { get; set; } #endif + /// Identifies whether a tenant is a member of a multitenant organization. + public bool? IsInMultiTenantOrganization { get; set; } /// Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. public bool? IsServiceProvider { get; set; } /// The OdataType property @@ -108,16 +113,17 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, - {"b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, - {"identitySynchronization", n => { IdentitySynchronization = n.GetObjectValue(CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue); } }, - {"inboundTrust", n => { InboundTrust = n.GetObjectValue(CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, - {"isServiceProvider", n => { IsServiceProvider = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, + { "b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "identitySynchronization", n => { IdentitySynchronization = n.GetObjectValue(CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue); } }, + { "inboundTrust", n => { InboundTrust = n.GetObjectValue(CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, + { "isInMultiTenantOrganization", n => { IsInMultiTenantOrganization = n.GetBoolValue(); } }, + { "isServiceProvider", n => { IsServiceProvider = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// @@ -134,6 +140,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("b2bDirectConnectOutbound", B2bDirectConnectOutbound); writer.WriteObjectValue("identitySynchronization", IdentitySynchronization); writer.WriteObjectValue("inboundTrust", InboundTrust); + writer.WriteBoolValue("isInMultiTenantOrganization", IsInMultiTenantOrganization); writer.WriteBoolValue("isServiceProvider", IsServiceProvider); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("tenantId", TenantId); diff --git a/src/generated/Models/CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.cs b/src/generated/Models/CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.cs index cf7770e233..769aa89668 100644 --- a/src/generated/Models/CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.cs +++ b/src/generated/Models/CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyConfigurationPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyConfigurationPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyInboundTrust.cs b/src/generated/Models/CrossTenantAccessPolicyInboundTrust.cs index dfe636a54e..b0c0f02307 100644 --- a/src/generated/Models/CrossTenantAccessPolicyInboundTrust.cs +++ b/src/generated/Models/CrossTenantAccessPolicyInboundTrust.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyInboundTrust : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyInboundTrust : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isCompliantDeviceAccepted", n => { IsCompliantDeviceAccepted = n.GetBoolValue(); } }, - {"isHybridAzureADJoinedDeviceAccepted", n => { IsHybridAzureADJoinedDeviceAccepted = n.GetBoolValue(); } }, - {"isMfaAccepted", n => { IsMfaAccepted = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isCompliantDeviceAccepted", n => { IsCompliantDeviceAccepted = n.GetBoolValue(); } }, + { "isHybridAzureADJoinedDeviceAccepted", n => { IsHybridAzureADJoinedDeviceAccepted = n.GetBoolValue(); } }, + { "isMfaAccepted", n => { IsMfaAccepted = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyTarget.cs b/src/generated/Models/CrossTenantAccessPolicyTarget.cs index fff39f5b03..28badc73fb 100644 --- a/src/generated/Models/CrossTenantAccessPolicyTarget.cs +++ b/src/generated/Models/CrossTenantAccessPolicyTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyTarget : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyTarget : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"target", n => { Target = n.GetStringValue(); } }, - {"targetType", n => { TargetType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetStringValue(); } }, + { "targetType", n => { TargetType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyTargetConfiguration.cs b/src/generated/Models/CrossTenantAccessPolicyTargetConfiguration.cs index 7d1681c569..4bc56a8736 100644 --- a/src/generated/Models/CrossTenantAccessPolicyTargetConfiguration.cs +++ b/src/generated/Models/CrossTenantAccessPolicyTargetConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantAccessPolicyTargetConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantAccessPolicyTargetConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Defines whether access is allowed or blocked. The possible values are: allowed, blocked, unknownFutureValue. public CrossTenantAccessPolicyTargetConfigurationAccessType? AccessType { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"accessType", n => { AccessType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"targets", n => { Targets = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyTarget.CreateFromDiscriminatorValue)?.ToList(); } }, + { "accessType", n => { AccessType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targets", n => { Targets = n.GetCollectionOfObjectValues(CrossTenantAccessPolicyTarget.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CrossTenantAccessPolicyTargetConfigurationAccessType.cs b/src/generated/Models/CrossTenantAccessPolicyTargetConfigurationAccessType.cs index f7632f5f1e..7a9f45dca6 100644 --- a/src/generated/Models/CrossTenantAccessPolicyTargetConfigurationAccessType.cs +++ b/src/generated/Models/CrossTenantAccessPolicyTargetConfigurationAccessType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CrossTenantAccessPolicyTargetConfigurationAccessType + #pragma warning restore CS1591 { [EnumMember(Value = "allowed")] + #pragma warning disable CS1591 Allowed, + #pragma warning restore CS1591 [EnumMember(Value = "blocked")] + #pragma warning disable CS1591 Blocked, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CrossTenantAccessPolicyTargetType.cs b/src/generated/Models/CrossTenantAccessPolicyTargetType.cs index 60092b1e0c..4847988da9 100644 --- a/src/generated/Models/CrossTenantAccessPolicyTargetType.cs +++ b/src/generated/Models/CrossTenantAccessPolicyTargetType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CrossTenantAccessPolicyTargetType + #pragma warning restore CS1591 { [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "group")] + #pragma warning disable CS1591 Group, + #pragma warning restore CS1591 [EnumMember(Value = "application")] + #pragma warning disable CS1591 Application, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CrossTenantIdentitySyncPolicyPartner.cs b/src/generated/Models/CrossTenantIdentitySyncPolicyPartner.cs index bda1180093..05fc56821c 100644 --- a/src/generated/Models/CrossTenantIdentitySyncPolicyPartner.cs +++ b/src/generated/Models/CrossTenantIdentitySyncPolicyPartner.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantIdentitySyncPolicyPartner : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantIdentitySyncPolicyPartner : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, - {"userSyncInbound", n => { UserSyncInbound = n.GetObjectValue(CrossTenantUserSyncInbound.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + { "userSyncInbound", n => { UserSyncInbound = n.GetObjectValue(CrossTenantUserSyncInbound.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CrossTenantUserSyncInbound.cs b/src/generated/Models/CrossTenantUserSyncInbound.cs index 079a432c51..926c12f00f 100644 --- a/src/generated/Models/CrossTenantUserSyncInbound.cs +++ b/src/generated/Models/CrossTenantUserSyncInbound.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CrossTenantUserSyncInbound : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CrossTenantUserSyncInbound : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"isSyncAllowed", n => { IsSyncAllowed = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "isSyncAllowed", n => { IsSyncAllowed = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CurrencyColumn.cs b/src/generated/Models/CurrencyColumn.cs index 4d10ddb2a1..3a1e10df9f 100644 --- a/src/generated/Models/CurrencyColumn.cs +++ b/src/generated/Models/CurrencyColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CurrencyColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CurrencyColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"locale", n => { Locale = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CustomAuthenticationExtension.cs b/src/generated/Models/CustomAuthenticationExtension.cs new file mode 100644 index 0000000000..26ac5db9a5 --- /dev/null +++ b/src/generated/Models/CustomAuthenticationExtension.cs @@ -0,0 +1,55 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomAuthenticationExtension : CustomCalloutExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public CustomAuthenticationExtension() : base() + { + OdataType = "#microsoft.graph.customAuthenticationExtension"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new CustomAuthenticationExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new OnTokenIssuanceStartCustomExtension(), + _ => new CustomAuthenticationExtension(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} diff --git a/src/generated/Models/CustomAuthenticationExtensionCollectionResponse.cs b/src/generated/Models/CustomAuthenticationExtensionCollectionResponse.cs new file mode 100644 index 0000000000..f62e85467d --- /dev/null +++ b/src/generated/Models/CustomAuthenticationExtensionCollectionResponse.cs @@ -0,0 +1,53 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomAuthenticationExtensionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value { get; set; } +#nullable restore +#else + public List Value { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new CustomAuthenticationExtensionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CustomAuthenticationExtensionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(CustomAuthenticationExtension.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/generated/Models/CustomCalloutExtension.cs b/src/generated/Models/CustomCalloutExtension.cs index c09860f12a..b5d8552a0e 100644 --- a/src/generated/Models/CustomCalloutExtension.cs +++ b/src/generated/Models/CustomCalloutExtension.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomCalloutExtension : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomCalloutExtension : Entity, IParsable + #pragma warning restore CS1591 { /// Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -61,7 +64,9 @@ public class CustomCalloutExtension : Entity, IParsable { "#microsoft.graph.accessPackageAssignmentRequestWorkflowExtension" => new AccessPackageAssignmentRequestWorkflowExtension(), "#microsoft.graph.accessPackageAssignmentWorkflowExtension" => new AccessPackageAssignmentWorkflowExtension(), + "#microsoft.graph.customAuthenticationExtension" => new CustomAuthenticationExtension(), "#microsoft.graph.identityGovernance.customTaskExtension" => new CustomTaskExtension(), + "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new OnTokenIssuanceStartCustomExtension(), _ => new CustomCalloutExtension(), }; } @@ -73,11 +78,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationConfiguration", n => { AuthenticationConfiguration = n.GetObjectValue(CustomExtensionAuthenticationConfiguration.CreateFromDiscriminatorValue); } }, - {"clientConfiguration", n => { ClientConfiguration = n.GetObjectValue(CustomExtensionClientConfiguration.CreateFromDiscriminatorValue); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"endpointConfiguration", n => { EndpointConfiguration = n.GetObjectValue(CustomExtensionEndpointConfiguration.CreateFromDiscriminatorValue); } }, + { "authenticationConfiguration", n => { AuthenticationConfiguration = n.GetObjectValue(CustomExtensionAuthenticationConfiguration.CreateFromDiscriminatorValue); } }, + { "clientConfiguration", n => { ClientConfiguration = n.GetObjectValue(CustomExtensionClientConfiguration.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endpointConfiguration", n => { EndpointConfiguration = n.GetObjectValue(CustomExtensionEndpointConfiguration.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CustomCalloutExtensionCollectionResponse.cs b/src/generated/Models/CustomCalloutExtensionCollectionResponse.cs index 2a66070c87..42d96d141e 100644 --- a/src/generated/Models/CustomCalloutExtensionCollectionResponse.cs +++ b/src/generated/Models/CustomCalloutExtensionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomCalloutExtensionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomCalloutExtensionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CustomCalloutExtension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CustomCalloutExtension.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionAuthenticationConfiguration.cs b/src/generated/Models/CustomExtensionAuthenticationConfiguration.cs index 0dfd6f363a..7e71443a60 100644 --- a/src/generated/Models/CustomExtensionAuthenticationConfiguration.cs +++ b/src/generated/Models/CustomExtensionAuthenticationConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionAuthenticationConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionAuthenticationConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -36,6 +39,7 @@ public static CustomExtensionAuthenticationConfiguration CreateFromDiscriminator return mappingValue switch { "#microsoft.graph.azureAdPopTokenAuthentication" => new AzureAdPopTokenAuthentication(), + "#microsoft.graph.azureAdTokenAuthentication" => new AzureAdTokenAuthentication(), _ => new CustomExtensionAuthenticationConfiguration(), }; } @@ -47,7 +51,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionCallbackConfiguration.cs b/src/generated/Models/CustomExtensionCallbackConfiguration.cs index 00796caf73..117fe5ace9 100644 --- a/src/generated/Models/CustomExtensionCallbackConfiguration.cs +++ b/src/generated/Models/CustomExtensionCallbackConfiguration.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionCallbackConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionCallbackConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"timeoutDuration", n => { TimeoutDuration = n.GetTimeSpanValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "timeoutDuration", n => { TimeoutDuration = n.GetTimeSpanValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionCalloutInstance.cs b/src/generated/Models/CustomExtensionCalloutInstance.cs index 66f307cf04..cc9eac9c0b 100644 --- a/src/generated/Models/CustomExtensionCalloutInstance.cs +++ b/src/generated/Models/CustomExtensionCalloutInstance.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionCalloutInstance : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionCalloutInstance : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,12 +79,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"customExtensionId", n => { CustomExtensionId = n.GetStringValue(); } }, - {"detail", n => { Detail = n.GetStringValue(); } }, - {"externalCorrelationId", n => { ExternalCorrelationId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "customExtensionId", n => { CustomExtensionId = n.GetStringValue(); } }, + { "detail", n => { Detail = n.GetStringValue(); } }, + { "externalCorrelationId", n => { ExternalCorrelationId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionCalloutInstanceStatus.cs b/src/generated/Models/CustomExtensionCalloutInstanceStatus.cs index 0640ebede9..074470df48 100644 --- a/src/generated/Models/CustomExtensionCalloutInstanceStatus.cs +++ b/src/generated/Models/CustomExtensionCalloutInstanceStatus.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum CustomExtensionCalloutInstanceStatus + #pragma warning restore CS1591 { [EnumMember(Value = "calloutSent")] + #pragma warning disable CS1591 CalloutSent, + #pragma warning restore CS1591 [EnumMember(Value = "callbackReceived")] + #pragma warning disable CS1591 CallbackReceived, + #pragma warning restore CS1591 [EnumMember(Value = "calloutFailed")] + #pragma warning disable CS1591 CalloutFailed, + #pragma warning restore CS1591 [EnumMember(Value = "callbackTimedOut")] + #pragma warning disable CS1591 CallbackTimedOut, + #pragma warning restore CS1591 [EnumMember(Value = "waitingForCallback")] + #pragma warning disable CS1591 WaitingForCallback, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/CustomExtensionClientConfiguration.cs b/src/generated/Models/CustomExtensionClientConfiguration.cs index c9cf127a36..5603703ba3 100644 --- a/src/generated/Models/CustomExtensionClientConfiguration.cs +++ b/src/generated/Models/CustomExtensionClientConfiguration.cs @@ -4,11 +4,16 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionClientConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionClientConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } + /// The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies. + public int? MaximumRetries { get; set; } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -44,8 +49,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"timeoutInMilliseconds", n => { TimeoutInMilliseconds = n.GetIntValue(); } }, + { "maximumRetries", n => { MaximumRetries = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "timeoutInMilliseconds", n => { TimeoutInMilliseconds = n.GetIntValue(); } }, }; } /// @@ -55,6 +61,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("maximumRetries", MaximumRetries); writer.WriteStringValue("@odata.type", OdataType); writer.WriteIntValue("timeoutInMilliseconds", TimeoutInMilliseconds); writer.WriteAdditionalData(AdditionalData); diff --git a/src/generated/Models/CustomExtensionData.cs b/src/generated/Models/CustomExtensionData.cs index 571173e805..2708cdfd78 100644 --- a/src/generated/Models/CustomExtensionData.cs +++ b/src/generated/Models/CustomExtensionData.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionData : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionData : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,7 +53,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionEndpointConfiguration.cs b/src/generated/Models/CustomExtensionEndpointConfiguration.cs index 9400288e14..08a30dc3c3 100644 --- a/src/generated/Models/CustomExtensionEndpointConfiguration.cs +++ b/src/generated/Models/CustomExtensionEndpointConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionEndpointConfiguration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionEndpointConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -35,6 +38,7 @@ public static CustomExtensionEndpointConfiguration CreateFromDiscriminatorValue( var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.httpRequestEndpoint" => new HttpRequestEndpoint(), "#microsoft.graph.logicAppTriggerEndpointConfiguration" => new LogicAppTriggerEndpointConfiguration(), _ => new CustomExtensionEndpointConfiguration(), }; @@ -47,7 +51,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionOverwriteConfiguration.cs b/src/generated/Models/CustomExtensionOverwriteConfiguration.cs new file mode 100644 index 0000000000..765e06655a --- /dev/null +++ b/src/generated/Models/CustomExtensionOverwriteConfiguration.cs @@ -0,0 +1,72 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionOverwriteConfiguration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Configuration regarding properties of the custom extension which can be overwritten per event listener. If no values are provided, the properties on the custom extension are used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public CustomExtensionClientConfiguration? ClientConfiguration { get; set; } +#nullable restore +#else + public CustomExtensionClientConfiguration ClientConfiguration { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CustomExtensionOverwriteConfiguration() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static CustomExtensionOverwriteConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CustomExtensionOverwriteConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "clientConfiguration", n => { ClientConfiguration = n.GetObjectValue(CustomExtensionClientConfiguration.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("clientConfiguration", ClientConfiguration); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/generated/Models/CustomExtensionStageSetting.cs b/src/generated/Models/CustomExtensionStageSetting.cs index d623d4d4ae..e7bef7acea 100644 --- a/src/generated/Models/CustomExtensionStageSetting.cs +++ b/src/generated/Models/CustomExtensionStageSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionStageSetting : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionStageSetting : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"customExtension", n => { CustomExtension = n.GetObjectValue(CustomCalloutExtension.CreateFromDiscriminatorValue); } }, - {"stage", n => { Stage = n.GetEnumValue(); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(CustomCalloutExtension.CreateFromDiscriminatorValue); } }, + { "stage", n => { Stage = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/CustomExtensionStageSettingCollectionResponse.cs b/src/generated/Models/CustomExtensionStageSettingCollectionResponse.cs index 459e5ea4de..84d30997fe 100644 --- a/src/generated/Models/CustomExtensionStageSettingCollectionResponse.cs +++ b/src/generated/Models/CustomExtensionStageSettingCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomExtensionStageSettingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomExtensionStageSettingCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CustomExtensionStageSetting.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CustomExtensionStageSetting.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CustomSecurityAttributeDefinition.cs b/src/generated/Models/CustomSecurityAttributeDefinition.cs index 203a60f863..d28d686d93 100644 --- a/src/generated/Models/CustomSecurityAttributeDefinition.cs +++ b/src/generated/Models/CustomSecurityAttributeDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomSecurityAttributeDefinition : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomSecurityAttributeDefinition : Entity, IParsable + #pragma warning restore CS1591 { /// Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -79,15 +82,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowedValues", n => { AllowedValues = n.GetCollectionOfObjectValues(AllowedValue.CreateFromDiscriminatorValue)?.ToList(); } }, - {"attributeSet", n => { AttributeSet = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"isCollection", n => { IsCollection = n.GetBoolValue(); } }, - {"isSearchable", n => { IsSearchable = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"usePreDefinedValuesOnly", n => { UsePreDefinedValuesOnly = n.GetBoolValue(); } }, + { "allowedValues", n => { AllowedValues = n.GetCollectionOfObjectValues(AllowedValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributeSet", n => { AttributeSet = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "isCollection", n => { IsCollection = n.GetBoolValue(); } }, + { "isSearchable", n => { IsSearchable = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "usePreDefinedValuesOnly", n => { UsePreDefinedValuesOnly = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/CustomSecurityAttributeDefinitionCollectionResponse.cs b/src/generated/Models/CustomSecurityAttributeDefinitionCollectionResponse.cs index fdefa6f113..5ea8776571 100644 --- a/src/generated/Models/CustomSecurityAttributeDefinitionCollectionResponse.cs +++ b/src/generated/Models/CustomSecurityAttributeDefinitionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomSecurityAttributeDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomSecurityAttributeDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/CustomSecurityAttributeValue.cs b/src/generated/Models/CustomSecurityAttributeValue.cs index 0af32dbdd1..3120dc338e 100644 --- a/src/generated/Models/CustomSecurityAttributeValue.cs +++ b/src/generated/Models/CustomSecurityAttributeValue.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomSecurityAttributeValue : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomSecurityAttributeValue : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/CustomTimeZone.cs b/src/generated/Models/CustomTimeZone.cs index 26f6c9a3d2..a1b677283d 100644 --- a/src/generated/Models/CustomTimeZone.cs +++ b/src/generated/Models/CustomTimeZone.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomTimeZone : TimeZoneBase, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomTimeZone : TimeZoneBase, IParsable + #pragma warning restore CS1591 { /// The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset. public int? Bias { get; set; } @@ -50,9 +53,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"bias", n => { Bias = n.GetIntValue(); } }, - {"daylightOffset", n => { DaylightOffset = n.GetObjectValue(DaylightTimeZoneOffset.CreateFromDiscriminatorValue); } }, - {"standardOffset", n => { StandardOffset = n.GetObjectValue(StandardTimeZoneOffset.CreateFromDiscriminatorValue); } }, + { "bias", n => { Bias = n.GetIntValue(); } }, + { "daylightOffset", n => { DaylightOffset = n.GetObjectValue(DaylightTimeZoneOffset.CreateFromDiscriminatorValue); } }, + { "standardOffset", n => { StandardOffset = n.GetObjectValue(StandardTimeZoneOffset.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/CustomTrainingSetting.cs b/src/generated/Models/CustomTrainingSetting.cs index f15c4ed986..c7d16dd2de 100644 --- a/src/generated/Models/CustomTrainingSetting.cs +++ b/src/generated/Models/CustomTrainingSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class CustomTrainingSetting : TrainingSetting, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class CustomTrainingSetting : TrainingSetting, IParsable + #pragma warning restore CS1591 { /// A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -66,11 +69,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignedTo", n => { AssignedTo = n.GetCollectionOfEnumValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"durationInMinutes", n => { DurationInMinutes = n.GetIntValue(); } }, - {"url", n => { Url = n.GetStringValue(); } }, + { "assignedTo", n => { AssignedTo = n.GetCollectionOfEnumValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "durationInMinutes", n => { DurationInMinutes = n.GetIntValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DataPolicyOperation.cs b/src/generated/Models/DataPolicyOperation.cs index b64fe95bad..3cac390663 100644 --- a/src/generated/Models/DataPolicyOperation.cs +++ b/src/generated/Models/DataPolicyOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DataPolicyOperation : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DataPolicyOperation : Entity, IParsable + #pragma warning restore CS1591 { /// Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes. public DateTimeOffset? CompletedDateTime { get; set; } @@ -49,12 +52,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, - {"progress", n => { Progress = n.GetDoubleValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"storageLocation", n => { StorageLocation = n.GetStringValue(); } }, - {"submittedDateTime", n => { SubmittedDateTime = n.GetDateTimeOffsetValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "progress", n => { Progress = n.GetDoubleValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "storageLocation", n => { StorageLocation = n.GetStringValue(); } }, + { "submittedDateTime", n => { SubmittedDateTime = n.GetDateTimeOffsetValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DataPolicyOperationCollectionResponse.cs b/src/generated/Models/DataPolicyOperationCollectionResponse.cs index 22333b0290..4e29fc7064 100644 --- a/src/generated/Models/DataPolicyOperationCollectionResponse.cs +++ b/src/generated/Models/DataPolicyOperationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DataPolicyOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DataPolicyOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DataPolicyOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DataPolicyOperation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DataPolicyOperationStatus.cs b/src/generated/Models/DataPolicyOperationStatus.cs index d68271eba0..ac76ffff17 100644 --- a/src/generated/Models/DataPolicyOperationStatus.cs +++ b/src/generated/Models/DataPolicyOperationStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DataPolicyOperationStatus + #pragma warning restore CS1591 { [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 NotStarted, + #pragma warning restore CS1591 [EnumMember(Value = "running")] + #pragma warning disable CS1591 Running, + #pragma warning restore CS1591 [EnumMember(Value = "complete")] + #pragma warning disable CS1591 Complete, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DataSubject.cs b/src/generated/Models/DataSubject.cs index f96a9b4771..6891c368e0 100644 --- a/src/generated/Models/DataSubject.cs +++ b/src/generated/Models/DataSubject.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DataSubject : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DataSubject : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"email", n => { Email = n.GetStringValue(); } }, - {"firstName", n => { FirstName = n.GetStringValue(); } }, - {"lastName", n => { LastName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"residency", n => { Residency = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "firstName", n => { FirstName = n.GetStringValue(); } }, + { "lastName", n => { LastName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "residency", n => { Residency = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DataSubjectType.cs b/src/generated/Models/DataSubjectType.cs index c48ab75c0b..133b3492ec 100644 --- a/src/generated/Models/DataSubjectType.cs +++ b/src/generated/Models/DataSubjectType.cs @@ -1,26 +1,47 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DataSubjectType + #pragma warning restore CS1591 { [EnumMember(Value = "customer")] + #pragma warning disable CS1591 Customer, + #pragma warning restore CS1591 [EnumMember(Value = "currentEmployee")] + #pragma warning disable CS1591 CurrentEmployee, + #pragma warning restore CS1591 [EnumMember(Value = "formerEmployee")] + #pragma warning disable CS1591 FormerEmployee, + #pragma warning restore CS1591 [EnumMember(Value = "prospectiveEmployee")] + #pragma warning disable CS1591 ProspectiveEmployee, + #pragma warning restore CS1591 [EnumMember(Value = "student")] + #pragma warning disable CS1591 Student, + #pragma warning restore CS1591 [EnumMember(Value = "teacher")] + #pragma warning disable CS1591 Teacher, + #pragma warning restore CS1591 [EnumMember(Value = "faculty")] + #pragma warning disable CS1591 Faculty, + #pragma warning restore CS1591 [EnumMember(Value = "other")] + #pragma warning disable CS1591 Other, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DateTimeColumn.cs b/src/generated/Models/DateTimeColumn.cs index ccbb2f3543..3397f78e33 100644 --- a/src/generated/Models/DateTimeColumn.cs +++ b/src/generated/Models/DateTimeColumn.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DateTimeColumn : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DateTimeColumn : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayAs", n => { DisplayAs = n.GetStringValue(); } }, - {"format", n => { Format = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "displayAs", n => { DisplayAs = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DateTimeTimeZone.cs b/src/generated/Models/DateTimeTimeZone.cs index 0e48d34968..941b0136c0 100644 --- a/src/generated/Models/DateTimeTimeZone.cs +++ b/src/generated/Models/DateTimeTimeZone.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DateTimeTimeZone : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DateTimeTimeZone : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"dateTime", n => { DateTime = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"timeZone", n => { TimeZone = n.GetStringValue(); } }, + { "dateTime", n => { DateTime = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DayOfWeekObject.cs b/src/generated/Models/DayOfWeekObject.cs index 794936caf7..52e4754bcf 100644 --- a/src/generated/Models/DayOfWeekObject.cs +++ b/src/generated/Models/DayOfWeekObject.cs @@ -1,22 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DayOfWeekObject + #pragma warning restore CS1591 { [EnumMember(Value = "sunday")] + #pragma warning disable CS1591 Sunday, + #pragma warning restore CS1591 [EnumMember(Value = "monday")] + #pragma warning disable CS1591 Monday, + #pragma warning restore CS1591 [EnumMember(Value = "tuesday")] + #pragma warning disable CS1591 Tuesday, + #pragma warning restore CS1591 [EnumMember(Value = "wednesday")] + #pragma warning disable CS1591 Wednesday, + #pragma warning restore CS1591 [EnumMember(Value = "thursday")] + #pragma warning disable CS1591 Thursday, + #pragma warning restore CS1591 [EnumMember(Value = "friday")] + #pragma warning disable CS1591 Friday, + #pragma warning restore CS1591 [EnumMember(Value = "saturday")] + #pragma warning disable CS1591 Saturday, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DaylightTimeZoneOffset.cs b/src/generated/Models/DaylightTimeZoneOffset.cs index e83e49300f..0c2431c651 100644 --- a/src/generated/Models/DaylightTimeZoneOffset.cs +++ b/src/generated/Models/DaylightTimeZoneOffset.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DaylightTimeZoneOffset : StandardTimeZoneOffset, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DaylightTimeZoneOffset : StandardTimeZoneOffset, IParsable + #pragma warning restore CS1591 { /// The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes. public int? DaylightBias { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"daylightBias", n => { DaylightBias = n.GetIntValue(); } }, + { "daylightBias", n => { DaylightBias = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DefaultColumnValue.cs b/src/generated/Models/DefaultColumnValue.cs index 02de177a2e..6b9188c5b2 100644 --- a/src/generated/Models/DefaultColumnValue.cs +++ b/src/generated/Models/DefaultColumnValue.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DefaultColumnValue : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DefaultColumnValue : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"formula", n => { Formula = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "formula", n => { Formula = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DefaultInvitationRedemptionIdentityProviderConfiguration.cs b/src/generated/Models/DefaultInvitationRedemptionIdentityProviderConfiguration.cs index d026c0b3ff..ab07dab1b4 100644 --- a/src/generated/Models/DefaultInvitationRedemptionIdentityProviderConfiguration.cs +++ b/src/generated/Models/DefaultInvitationRedemptionIdentityProviderConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DefaultInvitationRedemptionIdentityProviderConfiguration : InvitationRedemptionIdentityProviderConfiguration, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DefaultInvitationRedemptionIdentityProviderConfiguration : InvitationRedemptionIdentityProviderConfiguration, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/DefaultManagedAppProtection.cs b/src/generated/Models/DefaultManagedAppProtection.cs index 2035a74975..2db4573519 100644 --- a/src/generated/Models/DefaultManagedAppProtection.cs +++ b/src/generated/Models/DefaultManagedAppProtection.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Policy used to configure detailed management settings for a specified set of apps for all users not targeted by a TargetedManagedAppProtection Policy /// - public class DefaultManagedAppProtection : ManagedAppProtection, IParsable + public class DefaultManagedAppProtection : ManagedAppProtection, IParsable { /// Represents the level to which app data is encrypted for managed apps public ManagedAppDataEncryptionType? AppDataEncryptionType { get; set; } @@ -95,18 +96,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appDataEncryptionType", n => { AppDataEncryptionType = n.GetEnumValue(); } }, - {"apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customSettings", n => { CustomSettings = n.GetCollectionOfObjectValues(KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deployedAppCount", n => { DeployedAppCount = n.GetIntValue(); } }, - {"deploymentSummary", n => { DeploymentSummary = n.GetObjectValue(ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue); } }, - {"disableAppEncryptionIfDeviceEncryptionIsEnabled", n => { DisableAppEncryptionIfDeviceEncryptionIsEnabled = n.GetBoolValue(); } }, - {"encryptAppData", n => { EncryptAppData = n.GetBoolValue(); } }, - {"faceIdBlocked", n => { FaceIdBlocked = n.GetBoolValue(); } }, - {"minimumRequiredPatchVersion", n => { MinimumRequiredPatchVersion = n.GetStringValue(); } }, - {"minimumRequiredSdkVersion", n => { MinimumRequiredSdkVersion = n.GetStringValue(); } }, - {"minimumWarningPatchVersion", n => { MinimumWarningPatchVersion = n.GetStringValue(); } }, - {"screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, + { "appDataEncryptionType", n => { AppDataEncryptionType = n.GetEnumValue(); } }, + { "apps", n => { Apps = n.GetCollectionOfObjectValues(ManagedMobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customSettings", n => { CustomSettings = n.GetCollectionOfObjectValues(KeyValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deployedAppCount", n => { DeployedAppCount = n.GetIntValue(); } }, + { "deploymentSummary", n => { DeploymentSummary = n.GetObjectValue(ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue); } }, + { "disableAppEncryptionIfDeviceEncryptionIsEnabled", n => { DisableAppEncryptionIfDeviceEncryptionIsEnabled = n.GetBoolValue(); } }, + { "encryptAppData", n => { EncryptAppData = n.GetBoolValue(); } }, + { "faceIdBlocked", n => { FaceIdBlocked = n.GetBoolValue(); } }, + { "minimumRequiredPatchVersion", n => { MinimumRequiredPatchVersion = n.GetStringValue(); } }, + { "minimumRequiredSdkVersion", n => { MinimumRequiredSdkVersion = n.GetStringValue(); } }, + { "minimumWarningPatchVersion", n => { MinimumWarningPatchVersion = n.GetStringValue(); } }, + { "screenCaptureBlocked", n => { ScreenCaptureBlocked = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/DefaultManagedAppProtectionCollectionResponse.cs b/src/generated/Models/DefaultManagedAppProtectionCollectionResponse.cs index da5d95f30a..5092a22e5d 100644 --- a/src/generated/Models/DefaultManagedAppProtectionCollectionResponse.cs +++ b/src/generated/Models/DefaultManagedAppProtectionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DefaultManagedAppProtectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DefaultManagedAppProtectionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DefaultManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DefaultManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DefaultUserRolePermissions.cs b/src/generated/Models/DefaultUserRolePermissions.cs index 8ea183eae0..7bf50981c6 100644 --- a/src/generated/Models/DefaultUserRolePermissions.cs +++ b/src/generated/Models/DefaultUserRolePermissions.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DefaultUserRolePermissions : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DefaultUserRolePermissions : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,13 +63,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedToCreateApps", n => { AllowedToCreateApps = n.GetBoolValue(); } }, - {"allowedToCreateSecurityGroups", n => { AllowedToCreateSecurityGroups = n.GetBoolValue(); } }, - {"allowedToCreateTenants", n => { AllowedToCreateTenants = n.GetBoolValue(); } }, - {"allowedToReadBitlockerKeysForOwnedDevice", n => { AllowedToReadBitlockerKeysForOwnedDevice = n.GetBoolValue(); } }, - {"allowedToReadOtherUsers", n => { AllowedToReadOtherUsers = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"permissionGrantPoliciesAssigned", n => { PermissionGrantPoliciesAssigned = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "allowedToCreateApps", n => { AllowedToCreateApps = n.GetBoolValue(); } }, + { "allowedToCreateSecurityGroups", n => { AllowedToCreateSecurityGroups = n.GetBoolValue(); } }, + { "allowedToCreateTenants", n => { AllowedToCreateTenants = n.GetBoolValue(); } }, + { "allowedToReadBitlockerKeysForOwnedDevice", n => { AllowedToReadBitlockerKeysForOwnedDevice = n.GetBoolValue(); } }, + { "allowedToReadOtherUsers", n => { AllowedToReadOtherUsers = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "permissionGrantPoliciesAssigned", n => { PermissionGrantPoliciesAssigned = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DefenderCloudBlockLevelType.cs b/src/generated/Models/DefenderCloudBlockLevelType.cs index c747d49330..fe7c2a19cf 100644 --- a/src/generated/Models/DefenderCloudBlockLevelType.cs +++ b/src/generated/Models/DefenderCloudBlockLevelType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values of Cloud Block Level public enum DefenderCloudBlockLevelType { diff --git a/src/generated/Models/DefenderDetectedMalwareActions.cs b/src/generated/Models/DefenderDetectedMalwareActions.cs index 2ce7a1b925..3d49c001ed 100644 --- a/src/generated/Models/DefenderDetectedMalwareActions.cs +++ b/src/generated/Models/DefenderDetectedMalwareActions.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Specify Defender’s actions to take on detected Malware per threat level. /// - public class DefenderDetectedMalwareActions : IAdditionalDataHolder, IParsable + public class DefenderDetectedMalwareActions : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,11 +54,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"highSeverity", n => { HighSeverity = n.GetEnumValue(); } }, - {"lowSeverity", n => { LowSeverity = n.GetEnumValue(); } }, - {"moderateSeverity", n => { ModerateSeverity = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"severeSeverity", n => { SevereSeverity = n.GetEnumValue(); } }, + { "highSeverity", n => { HighSeverity = n.GetEnumValue(); } }, + { "lowSeverity", n => { LowSeverity = n.GetEnumValue(); } }, + { "moderateSeverity", n => { ModerateSeverity = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "severeSeverity", n => { SevereSeverity = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DefenderMonitorFileActivity.cs b/src/generated/Models/DefenderMonitorFileActivity.cs index c10b57ed29..7acee2d5d4 100644 --- a/src/generated/Models/DefenderMonitorFileActivity.cs +++ b/src/generated/Models/DefenderMonitorFileActivity.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for monitoring file activity. public enum DefenderMonitorFileActivity { diff --git a/src/generated/Models/DefenderPromptForSampleSubmission.cs b/src/generated/Models/DefenderPromptForSampleSubmission.cs index 9565df61ae..1f090136e1 100644 --- a/src/generated/Models/DefenderPromptForSampleSubmission.cs +++ b/src/generated/Models/DefenderPromptForSampleSubmission.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for prompting user for samples submission. public enum DefenderPromptForSampleSubmission { diff --git a/src/generated/Models/DefenderScanType.cs b/src/generated/Models/DefenderScanType.cs index 2ab941fd4f..88122b4a33 100644 --- a/src/generated/Models/DefenderScanType.cs +++ b/src/generated/Models/DefenderScanType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for system scan type. public enum DefenderScanType { diff --git a/src/generated/Models/DefenderThreatAction.cs b/src/generated/Models/DefenderThreatAction.cs index 6ba0bb3c7f..aa32283ab9 100644 --- a/src/generated/Models/DefenderThreatAction.cs +++ b/src/generated/Models/DefenderThreatAction.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Defender’s default action to take on detected Malware threats. public enum DefenderThreatAction { diff --git a/src/generated/Models/DelegateMeetingMessageDeliveryOptions.cs b/src/generated/Models/DelegateMeetingMessageDeliveryOptions.cs index 04e3c448a0..3e5f5892d4 100644 --- a/src/generated/Models/DelegateMeetingMessageDeliveryOptions.cs +++ b/src/generated/Models/DelegateMeetingMessageDeliveryOptions.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegateMeetingMessageDeliveryOptions + #pragma warning restore CS1591 { [EnumMember(Value = "sendToDelegateAndInformationToPrincipal")] + #pragma warning disable CS1591 SendToDelegateAndInformationToPrincipal, + #pragma warning restore CS1591 [EnumMember(Value = "sendToDelegateAndPrincipal")] + #pragma warning disable CS1591 SendToDelegateAndPrincipal, + #pragma warning restore CS1591 [EnumMember(Value = "sendToDelegateOnly")] + #pragma warning disable CS1591 SendToDelegateOnly, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminAccessAssignment.cs b/src/generated/Models/DelegatedAdminAccessAssignment.cs index 8e0a325424..2b117a8708 100644 --- a/src/generated/Models/DelegatedAdminAccessAssignment.cs +++ b/src/generated/Models/DelegatedAdminAccessAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminAccessAssignment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminAccessAssignment : Entity, IParsable + #pragma warning restore CS1591 { /// The accessContainer property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessContainer", n => { AccessContainer = n.GetObjectValue(DelegatedAdminAccessContainer.CreateFromDiscriminatorValue); } }, - {"accessDetails", n => { AccessDetails = n.GetObjectValue(DelegatedAdminAccessDetails.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "accessContainer", n => { AccessContainer = n.GetObjectValue(DelegatedAdminAccessContainer.CreateFromDiscriminatorValue); } }, + { "accessDetails", n => { AccessDetails = n.GetObjectValue(DelegatedAdminAccessDetails.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminAccessAssignmentCollectionResponse.cs b/src/generated/Models/DelegatedAdminAccessAssignmentCollectionResponse.cs index f72cb50d00..e7812f9a20 100644 --- a/src/generated/Models/DelegatedAdminAccessAssignmentCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminAccessAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminAccessAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminAccessAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminAccessAssignmentStatus.cs b/src/generated/Models/DelegatedAdminAccessAssignmentStatus.cs index e5229a5ddf..09a389698f 100644 --- a/src/generated/Models/DelegatedAdminAccessAssignmentStatus.cs +++ b/src/generated/Models/DelegatedAdminAccessAssignmentStatus.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminAccessAssignmentStatus + #pragma warning restore CS1591 { [EnumMember(Value = "pending")] + #pragma warning disable CS1591 Pending, + #pragma warning restore CS1591 [EnumMember(Value = "active")] + #pragma warning disable CS1591 Active, + #pragma warning restore CS1591 [EnumMember(Value = "deleting")] + #pragma warning disable CS1591 Deleting, + #pragma warning restore CS1591 [EnumMember(Value = "deleted")] + #pragma warning disable CS1591 Deleted, + #pragma warning restore CS1591 [EnumMember(Value = "error")] + #pragma warning disable CS1591 Error, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminAccessContainer.cs b/src/generated/Models/DelegatedAdminAccessContainer.cs index 85e1f8ca6b..4424b43767 100644 --- a/src/generated/Models/DelegatedAdminAccessContainer.cs +++ b/src/generated/Models/DelegatedAdminAccessContainer.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminAccessContainer : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminAccessContainer : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The identifier of the access container (for example, a security group). For 'securityGroup' access containers, this must be a valid ID of a Microsoft Entra security group in the Microsoft partner's tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"accessContainerId", n => { AccessContainerId = n.GetStringValue(); } }, - {"accessContainerType", n => { AccessContainerType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "accessContainerId", n => { AccessContainerId = n.GetStringValue(); } }, + { "accessContainerType", n => { AccessContainerType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminAccessContainerType.cs b/src/generated/Models/DelegatedAdminAccessContainerType.cs index fc865e0081..1404c4717d 100644 --- a/src/generated/Models/DelegatedAdminAccessContainerType.cs +++ b/src/generated/Models/DelegatedAdminAccessContainerType.cs @@ -1,12 +1,19 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminAccessContainerType + #pragma warning restore CS1591 { [EnumMember(Value = "securityGroup")] + #pragma warning disable CS1591 SecurityGroup, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminAccessDetails.cs b/src/generated/Models/DelegatedAdminAccessDetails.cs index 739d774d0c..1dd965ad5d 100644 --- a/src/generated/Models/DelegatedAdminAccessDetails.cs +++ b/src/generated/Models/DelegatedAdminAccessDetails.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminAccessDetails : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminAccessDetails : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"unifiedRoles", n => { UnifiedRoles = n.GetCollectionOfObjectValues(UnifiedRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "unifiedRoles", n => { UnifiedRoles = n.GetCollectionOfObjectValues(UnifiedRole.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminCustomer.cs b/src/generated/Models/DelegatedAdminCustomer.cs index 330d9ef5c2..9c61a1f72b 100644 --- a/src/generated/Models/DelegatedAdminCustomer.cs +++ b/src/generated/Models/DelegatedAdminCustomer.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminCustomer : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminCustomer : Entity, IParsable + #pragma warning restore CS1591 { /// The Microsoft Entra ID display name of the customer tenant. Read-only. Supports $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -49,9 +52,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"serviceManagementDetails", n => { ServiceManagementDetails = n.GetCollectionOfObjectValues(DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue)?.ToList(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "serviceManagementDetails", n => { ServiceManagementDetails = n.GetCollectionOfObjectValues(DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminCustomerCollectionResponse.cs b/src/generated/Models/DelegatedAdminCustomerCollectionResponse.cs index 1cd8cc0f67..03fde7a981 100644 --- a/src/generated/Models/DelegatedAdminCustomerCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminCustomerCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminCustomerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminCustomerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminCustomer.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminCustomer.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationship.cs b/src/generated/Models/DelegatedAdminRelationship.cs index f33d9b2d49..25af5fc409 100644 --- a/src/generated/Models/DelegatedAdminRelationship.cs +++ b/src/generated/Models/DelegatedAdminRelationship.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationship : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationship : Entity, IParsable + #pragma warning restore CS1591 { /// The access assignments associated with the delegated admin relationship. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -92,19 +95,19 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessAssignments", n => { AccessAssignments = n.GetCollectionOfObjectValues(DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"accessDetails", n => { AccessDetails = n.GetObjectValue(DelegatedAdminAccessDetails.CreateFromDiscriminatorValue); } }, - {"activatedDateTime", n => { ActivatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"autoExtendDuration", n => { AutoExtendDuration = n.GetTimeSpanValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"customer", n => { Customer = n.GetObjectValue(DelegatedAdminRelationshipCustomerParticipant.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"duration", n => { Duration = n.GetTimeSpanValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"operations", n => { Operations = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requests", n => { Requests = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue)?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "accessAssignments", n => { AccessAssignments = n.GetCollectionOfObjectValues(DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "accessDetails", n => { AccessDetails = n.GetObjectValue(DelegatedAdminAccessDetails.CreateFromDiscriminatorValue); } }, + { "activatedDateTime", n => { ActivatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "autoExtendDuration", n => { AutoExtendDuration = n.GetTimeSpanValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customer", n => { Customer = n.GetObjectValue(DelegatedAdminRelationshipCustomerParticipant.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "duration", n => { Duration = n.GetTimeSpanValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requests", n => { Requests = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipCollectionResponse.cs b/src/generated/Models/DelegatedAdminRelationshipCollectionResponse.cs index f2f8bc1918..1c442ddc1d 100644 --- a/src/generated/Models/DelegatedAdminRelationshipCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminRelationshipCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationship.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationship.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipCustomerParticipant.cs b/src/generated/Models/DelegatedAdminRelationshipCustomerParticipant.cs index 23333699ce..222cd56624 100644 --- a/src/generated/Models/DelegatedAdminRelationshipCustomerParticipant.cs +++ b/src/generated/Models/DelegatedAdminRelationshipCustomerParticipant.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipCustomerParticipant : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipCustomerParticipant : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"tenantId", n => { TenantId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipOperation.cs b/src/generated/Models/DelegatedAdminRelationshipOperation.cs index 5f0788ab97..85184f4bb4 100644 --- a/src/generated/Models/DelegatedAdminRelationshipOperation.cs +++ b/src/generated/Models/DelegatedAdminRelationshipOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipOperation : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipOperation : Entity, IParsable + #pragma warning restore CS1591 { /// The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only. public DateTimeOffset? CreatedDateTime { get; set; } @@ -41,11 +44,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"data", n => { Data = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"operationType", n => { OperationType = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "data", n => { Data = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "operationType", n => { OperationType = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipOperationCollectionResponse.cs b/src/generated/Models/DelegatedAdminRelationshipOperationCollectionResponse.cs index 6391c9f07a..87f7b96bf6 100644 --- a/src/generated/Models/DelegatedAdminRelationshipOperationCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminRelationshipOperationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipOperationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipOperationType.cs b/src/generated/Models/DelegatedAdminRelationshipOperationType.cs index d6c7e109a3..b8582fcb89 100644 --- a/src/generated/Models/DelegatedAdminRelationshipOperationType.cs +++ b/src/generated/Models/DelegatedAdminRelationshipOperationType.cs @@ -1,12 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminRelationshipOperationType + #pragma warning restore CS1591 { [EnumMember(Value = "delegatedAdminAccessAssignmentUpdate")] + #pragma warning disable CS1591 DelegatedAdminAccessAssignmentUpdate, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "delegatedAdminRelationshipUpdate")] + #pragma warning disable CS1591 + DelegatedAdminRelationshipUpdate, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminRelationshipRequest.cs b/src/generated/Models/DelegatedAdminRelationshipRequest.cs index a8fd7fcff2..28a1f37080 100644 --- a/src/generated/Models/DelegatedAdminRelationshipRequest.cs +++ b/src/generated/Models/DelegatedAdminRelationshipRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipRequest : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipRequest : Entity, IParsable + #pragma warning restore CS1591 { /// The action property public DelegatedAdminRelationshipRequestAction? Action { get; set; } @@ -33,10 +36,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"action", n => { Action = n.GetEnumValue(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "action", n => { Action = n.GetEnumValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipRequestAction.cs b/src/generated/Models/DelegatedAdminRelationshipRequestAction.cs index 86985b4afb..457d8b8f58 100644 --- a/src/generated/Models/DelegatedAdminRelationshipRequestAction.cs +++ b/src/generated/Models/DelegatedAdminRelationshipRequestAction.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminRelationshipRequestAction + #pragma warning restore CS1591 { [EnumMember(Value = "lockForApproval")] + #pragma warning disable CS1591 LockForApproval, + #pragma warning restore CS1591 [EnumMember(Value = "approve")] + #pragma warning disable CS1591 Approve, + #pragma warning restore CS1591 [EnumMember(Value = "terminate")] + #pragma warning disable CS1591 Terminate, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "reject")] + #pragma warning disable CS1591 Reject, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminRelationshipRequestCollectionResponse.cs b/src/generated/Models/DelegatedAdminRelationshipRequestCollectionResponse.cs index 98b60d7665..ff2b44380a 100644 --- a/src/generated/Models/DelegatedAdminRelationshipRequestCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminRelationshipRequestCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminRelationshipRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminRelationshipRequestCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminRelationshipRequestStatus.cs b/src/generated/Models/DelegatedAdminRelationshipRequestStatus.cs index f6c93013d1..243ac8055c 100644 --- a/src/generated/Models/DelegatedAdminRelationshipRequestStatus.cs +++ b/src/generated/Models/DelegatedAdminRelationshipRequestStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminRelationshipRequestStatus + #pragma warning restore CS1591 { [EnumMember(Value = "created")] + #pragma warning disable CS1591 Created, + #pragma warning restore CS1591 [EnumMember(Value = "pending")] + #pragma warning disable CS1591 Pending, + #pragma warning restore CS1591 [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 Succeeded, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminRelationshipStatus.cs b/src/generated/Models/DelegatedAdminRelationshipStatus.cs index 73915a3498..5b50014ffd 100644 --- a/src/generated/Models/DelegatedAdminRelationshipStatus.cs +++ b/src/generated/Models/DelegatedAdminRelationshipStatus.cs @@ -1,30 +1,55 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DelegatedAdminRelationshipStatus + #pragma warning restore CS1591 { [EnumMember(Value = "activating")] + #pragma warning disable CS1591 Activating, + #pragma warning restore CS1591 [EnumMember(Value = "active")] + #pragma warning disable CS1591 Active, + #pragma warning restore CS1591 [EnumMember(Value = "approvalPending")] + #pragma warning disable CS1591 ApprovalPending, + #pragma warning restore CS1591 [EnumMember(Value = "approved")] + #pragma warning disable CS1591 Approved, + #pragma warning restore CS1591 [EnumMember(Value = "created")] + #pragma warning disable CS1591 Created, + #pragma warning restore CS1591 [EnumMember(Value = "expired")] + #pragma warning disable CS1591 Expired, + #pragma warning restore CS1591 [EnumMember(Value = "expiring")] + #pragma warning disable CS1591 Expiring, + #pragma warning restore CS1591 [EnumMember(Value = "terminated")] + #pragma warning disable CS1591 Terminated, + #pragma warning restore CS1591 [EnumMember(Value = "terminating")] + #pragma warning disable CS1591 Terminating, + #pragma warning restore CS1591 [EnumMember(Value = "terminationRequested")] + #pragma warning disable CS1591 TerminationRequested, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DelegatedAdminServiceManagementDetail.cs b/src/generated/Models/DelegatedAdminServiceManagementDetail.cs index e5984c1c9e..ce85771684 100644 --- a/src/generated/Models/DelegatedAdminServiceManagementDetail.cs +++ b/src/generated/Models/DelegatedAdminServiceManagementDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminServiceManagementDetail : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminServiceManagementDetail : Entity, IParsable + #pragma warning restore CS1591 { /// The URL of the management portal for the managed service. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"serviceManagementUrl", n => { ServiceManagementUrl = n.GetStringValue(); } }, - {"serviceName", n => { ServiceName = n.GetStringValue(); } }, + { "serviceManagementUrl", n => { ServiceManagementUrl = n.GetStringValue(); } }, + { "serviceName", n => { ServiceName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedAdminServiceManagementDetailCollectionResponse.cs b/src/generated/Models/DelegatedAdminServiceManagementDetailCollectionResponse.cs index ce06603133..57153b0c5b 100644 --- a/src/generated/Models/DelegatedAdminServiceManagementDetailCollectionResponse.cs +++ b/src/generated/Models/DelegatedAdminServiceManagementDetailCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedAdminServiceManagementDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedAdminServiceManagementDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DelegatedPermissionClassification.cs b/src/generated/Models/DelegatedPermissionClassification.cs index 74b541b89c..8f497c4d9c 100644 --- a/src/generated/Models/DelegatedPermissionClassification.cs +++ b/src/generated/Models/DelegatedPermissionClassification.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedPermissionClassification : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedPermissionClassification : Entity, IParsable + #pragma warning restore CS1591 { /// The classification value. Possible values: low, medium (preview), high (preview). Doesn't support $filter. public PermissionClassificationType? Classification { get; set; } @@ -43,9 +46,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"classification", n => { Classification = n.GetEnumValue(); } }, - {"permissionId", n => { PermissionId = n.GetStringValue(); } }, - {"permissionName", n => { PermissionName = n.GetStringValue(); } }, + { "classification", n => { Classification = n.GetEnumValue(); } }, + { "permissionId", n => { PermissionId = n.GetStringValue(); } }, + { "permissionName", n => { PermissionName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DelegatedPermissionClassificationCollectionResponse.cs b/src/generated/Models/DelegatedPermissionClassificationCollectionResponse.cs index bf0be4a988..05d38b673d 100644 --- a/src/generated/Models/DelegatedPermissionClassificationCollectionResponse.cs +++ b/src/generated/Models/DelegatedPermissionClassificationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DelegatedPermissionClassificationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DelegatedPermissionClassificationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DelegatedPermissionClassification.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DelegatedPermissionClassification.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeleteUserFromSharedAppleDeviceActionResult.cs b/src/generated/Models/DeleteUserFromSharedAppleDeviceActionResult.cs index e58499255d..7ff58e9ece 100644 --- a/src/generated/Models/DeleteUserFromSharedAppleDeviceActionResult.cs +++ b/src/generated/Models/DeleteUserFromSharedAppleDeviceActionResult.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Delete user from shared apple device action result /// - public class DeleteUserFromSharedAppleDeviceActionResult : DeviceActionResult, IParsable + public class DeleteUserFromSharedAppleDeviceActionResult : DeviceActionResult, IParsable { /// User principal name of the user to be deleted #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Deleted.cs b/src/generated/Models/Deleted.cs index be220d32ea..7939fcf74b 100644 --- a/src/generated/Models/Deleted.cs +++ b/src/generated/Models/Deleted.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Deleted : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Deleted : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"state", n => { State = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeletedChat.cs b/src/generated/Models/DeletedChat.cs index c0dd86f3eb..7fcce880bf 100644 --- a/src/generated/Models/DeletedChat.cs +++ b/src/generated/Models/DeletedChat.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeletedChat : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeletedChat : Entity, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/DeletedChatCollectionResponse.cs b/src/generated/Models/DeletedChatCollectionResponse.cs index 41b77e83f2..4a1b19e96f 100644 --- a/src/generated/Models/DeletedChatCollectionResponse.cs +++ b/src/generated/Models/DeletedChatCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeletedChatCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeletedChatCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeletedChat.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeletedChat.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeletedItemContainer.cs b/src/generated/Models/DeletedItemContainer.cs index 6a1e7f96ee..cecdf8630d 100644 --- a/src/generated/Models/DeletedItemContainer.cs +++ b/src/generated/Models/DeletedItemContainer.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeletedItemContainer : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeletedItemContainer : Entity, IParsable + #pragma warning restore CS1591 { /// Deleted workflows that end up in the deletedItemsContainer. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"workflows", n => { Workflows = n.GetCollectionOfObjectValues(Workflow.CreateFromDiscriminatorValue)?.ToList(); } }, + { "workflows", n => { Workflows = n.GetCollectionOfObjectValues(Workflow.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeletedTeam.cs b/src/generated/Models/DeletedTeam.cs index 5e172e4021..4e2996ef12 100644 --- a/src/generated/Models/DeletedTeam.cs +++ b/src/generated/Models/DeletedTeam.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeletedTeam : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeletedTeam : Entity, IParsable + #pragma warning restore CS1591 { /// The channels that are either shared with this deleted team or created in this deleted team. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"channels", n => { Channels = n.GetCollectionOfObjectValues(Channel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "channels", n => { Channels = n.GetCollectionOfObjectValues(Channel.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeletedTeamCollectionResponse.cs b/src/generated/Models/DeletedTeamCollectionResponse.cs index 63ed6e92f4..973293d4bf 100644 --- a/src/generated/Models/DeletedTeamCollectionResponse.cs +++ b/src/generated/Models/DeletedTeamCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeletedTeamCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeletedTeamCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeletedTeam.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeletedTeam.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeltaParticipants.cs b/src/generated/Models/DeltaParticipants.cs index fddc7d8949..1e3387b513 100644 --- a/src/generated/Models/DeltaParticipants.cs +++ b/src/generated/Models/DeltaParticipants.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeltaParticipants : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeltaParticipants : Entity, IParsable + #pragma warning restore CS1591 { /// The collection of participants that were updated since the last roster update. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"participants", n => { Participants = n.GetCollectionOfObjectValues(Participant.CreateFromDiscriminatorValue)?.ToList(); } }, - {"sequenceNumber", n => { SequenceNumber = n.GetLongValue(); } }, + { "participants", n => { Participants = n.GetCollectionOfObjectValues(Participant.CreateFromDiscriminatorValue)?.ToList(); } }, + { "sequenceNumber", n => { SequenceNumber = n.GetLongValue(); } }, }; } /// diff --git a/src/generated/Models/DetailsInfo.cs b/src/generated/Models/DetailsInfo.cs index cdbdbc5ebd..4af7d0220e 100644 --- a/src/generated/Models/DetailsInfo.cs +++ b/src/generated/Models/DetailsInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DetailsInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DetailsInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DetectedApp.cs b/src/generated/Models/DetectedApp.cs index f8b0d1f853..2bda839dca 100644 --- a/src/generated/Models/DetectedApp.cs +++ b/src/generated/Models/DetectedApp.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// A managed or unmanaged app that is installed on a managed device. Unmanaged apps will only appear for devices marked as corporate owned. /// - public class DetectedApp : Entity, IParsable + public class DetectedApp : Entity, IParsable { /// The number of devices that have installed this application public int? DeviceCount { get; set; } @@ -66,13 +67,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deviceCount", n => { DeviceCount = n.GetIntValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"managedDevices", n => { ManagedDevices = n.GetCollectionOfObjectValues(ManagedDevice.CreateFromDiscriminatorValue)?.ToList(); } }, - {"platform", n => { Platform = n.GetEnumValue(); } }, - {"publisher", n => { Publisher = n.GetStringValue(); } }, - {"sizeInByte", n => { SizeInByte = n.GetLongValue(); } }, - {"version", n => { Version = n.GetStringValue(); } }, + { "deviceCount", n => { DeviceCount = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "managedDevices", n => { ManagedDevices = n.GetCollectionOfObjectValues(ManagedDevice.CreateFromDiscriminatorValue)?.ToList(); } }, + { "platform", n => { Platform = n.GetEnumValue(); } }, + { "publisher", n => { Publisher = n.GetStringValue(); } }, + { "sizeInByte", n => { SizeInByte = n.GetLongValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DetectedAppCollectionResponse.cs b/src/generated/Models/DetectedAppCollectionResponse.cs index 7b3c46fe21..f96baf75d8 100644 --- a/src/generated/Models/DetectedAppCollectionResponse.cs +++ b/src/generated/Models/DetectedAppCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DetectedAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DetectedAppCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DetectedApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DetectedApp.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DetectedAppPlatformType.cs b/src/generated/Models/DetectedAppPlatformType.cs index f7af0c0360..6f91e3c843 100644 --- a/src/generated/Models/DetectedAppPlatformType.cs +++ b/src/generated/Models/DetectedAppPlatformType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0). public enum DetectedAppPlatformType { diff --git a/src/generated/Models/Device.cs b/src/generated/Models/Device.cs index dc3065f8ec..42b38e89a0 100644 --- a/src/generated/Models/Device.cs +++ b/src/generated/Models/Device.cs @@ -4,10 +4,13 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Device : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Device : DirectoryObject, IParsable + #pragma warning restore CS1591 { - /// true if the account is enabled; otherwise, false. Required. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property. + /// true if the account is enabled; otherwise, false. Required. Default is true. Supports $filter (eq, ne, not, in). Only callers with at least the Cloud Device Administrator role can set this property. public bool? AccountEnabled { get; set; } /// For internal use only. Not nullable. Supports $filter (eq, not, ge, le). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -244,40 +247,40 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, - {"alternativeSecurityIds", n => { AlternativeSecurityIds = n.GetCollectionOfObjectValues(AlternativeSecurityId.CreateFromDiscriminatorValue)?.ToList(); } }, - {"approximateLastSignInDateTime", n => { ApproximateLastSignInDateTime = n.GetDateTimeOffsetValue(); } }, - {"complianceExpirationDateTime", n => { ComplianceExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"deviceCategory", n => { DeviceCategory = n.GetStringValue(); } }, - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"deviceMetadata", n => { DeviceMetadata = n.GetStringValue(); } }, - {"deviceOwnership", n => { DeviceOwnership = n.GetStringValue(); } }, - {"deviceVersion", n => { DeviceVersion = n.GetIntValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"enrollmentProfileName", n => { EnrollmentProfileName = n.GetStringValue(); } }, - {"enrollmentType", n => { EnrollmentType = n.GetStringValue(); } }, - {"extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, - {"isManaged", n => { IsManaged = n.GetBoolValue(); } }, - {"isRooted", n => { IsRooted = n.GetBoolValue(); } }, - {"managementType", n => { ManagementType = n.GetStringValue(); } }, - {"manufacturer", n => { Manufacturer = n.GetStringValue(); } }, - {"mdmAppId", n => { MdmAppId = n.GetStringValue(); } }, - {"memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"model", n => { Model = n.GetStringValue(); } }, - {"onPremisesLastSyncDateTime", n => { OnPremisesLastSyncDateTime = n.GetDateTimeOffsetValue(); } }, - {"onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, - {"onPremisesSyncEnabled", n => { OnPremisesSyncEnabled = n.GetBoolValue(); } }, - {"operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, - {"operatingSystemVersion", n => { OperatingSystemVersion = n.GetStringValue(); } }, - {"physicalIds", n => { PhysicalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"profileType", n => { ProfileType = n.GetStringValue(); } }, - {"registeredOwners", n => { RegisteredOwners = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"registeredUsers", n => { RegisteredUsers = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"registrationDateTime", n => { RegistrationDateTime = n.GetDateTimeOffsetValue(); } }, - {"systemLabels", n => { SystemLabels = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"transitiveMemberOf", n => { TransitiveMemberOf = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"trustType", n => { TrustType = n.GetStringValue(); } }, + { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, + { "alternativeSecurityIds", n => { AlternativeSecurityIds = n.GetCollectionOfObjectValues(AlternativeSecurityId.CreateFromDiscriminatorValue)?.ToList(); } }, + { "approximateLastSignInDateTime", n => { ApproximateLastSignInDateTime = n.GetDateTimeOffsetValue(); } }, + { "complianceExpirationDateTime", n => { ComplianceExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "deviceCategory", n => { DeviceCategory = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetStringValue(); } }, + { "deviceOwnership", n => { DeviceOwnership = n.GetStringValue(); } }, + { "deviceVersion", n => { DeviceVersion = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enrollmentProfileName", n => { EnrollmentProfileName = n.GetStringValue(); } }, + { "enrollmentType", n => { EnrollmentType = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, + { "isManaged", n => { IsManaged = n.GetBoolValue(); } }, + { "isRooted", n => { IsRooted = n.GetBoolValue(); } }, + { "managementType", n => { ManagementType = n.GetStringValue(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "mdmAppId", n => { MdmAppId = n.GetStringValue(); } }, + { "memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "model", n => { Model = n.GetStringValue(); } }, + { "onPremisesLastSyncDateTime", n => { OnPremisesLastSyncDateTime = n.GetDateTimeOffsetValue(); } }, + { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, + { "onPremisesSyncEnabled", n => { OnPremisesSyncEnabled = n.GetBoolValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "operatingSystemVersion", n => { OperatingSystemVersion = n.GetStringValue(); } }, + { "physicalIds", n => { PhysicalIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "profileType", n => { ProfileType = n.GetStringValue(); } }, + { "registeredOwners", n => { RegisteredOwners = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "registeredUsers", n => { RegisteredUsers = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "registrationDateTime", n => { RegistrationDateTime = n.GetDateTimeOffsetValue(); } }, + { "systemLabels", n => { SystemLabels = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "transitiveMemberOf", n => { TransitiveMemberOf = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "trustType", n => { TrustType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceActionResult.cs b/src/generated/Models/DeviceActionResult.cs index 249e1bcc9a..0495229998 100644 --- a/src/generated/Models/DeviceActionResult.cs +++ b/src/generated/Models/DeviceActionResult.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device action result /// - public class DeviceActionResult : IAdditionalDataHolder, IParsable + public class DeviceActionResult : IAdditionalDataHolder, IParsable { /// Action name #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -69,11 +70,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"actionName", n => { ActionName = n.GetStringValue(); } }, - {"actionState", n => { ActionState = n.GetEnumValue(); } }, - {"lastUpdatedDateTime", n => { LastUpdatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "actionName", n => { ActionName = n.GetStringValue(); } }, + { "actionState", n => { ActionState = n.GetEnumValue(); } }, + { "lastUpdatedDateTime", n => { LastUpdatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceAndAppManagementAssignmentTarget.cs b/src/generated/Models/DeviceAndAppManagementAssignmentTarget.cs index 5510c23967..abc770805a 100644 --- a/src/generated/Models/DeviceAndAppManagementAssignmentTarget.cs +++ b/src/generated/Models/DeviceAndAppManagementAssignmentTarget.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Base type for assignment targets. /// - public class DeviceAndAppManagementAssignmentTarget : IAdditionalDataHolder, IParsable + public class DeviceAndAppManagementAssignmentTarget : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -54,7 +55,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceAndAppManagementData.cs b/src/generated/Models/DeviceAndAppManagementData.cs index b3ba5933f8..97a45df8b5 100644 --- a/src/generated/Models/DeviceAndAppManagementData.cs +++ b/src/generated/Models/DeviceAndAppManagementData.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Exported Data /// - public class DeviceAndAppManagementData : IAdditionalDataHolder, IParsable + public class DeviceAndAppManagementData : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceAndAppManagementRoleAssignment.cs b/src/generated/Models/DeviceAndAppManagementRoleAssignment.cs index 1d64dc8e1f..bc19aab92b 100644 --- a/src/generated/Models/DeviceAndAppManagementRoleAssignment.cs +++ b/src/generated/Models/DeviceAndAppManagementRoleAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles. /// - public class DeviceAndAppManagementRoleAssignment : RoleAssignment, IParsable + public class DeviceAndAppManagementRoleAssignment : RoleAssignment, IParsable { /// The list of ids of role member security groups. These are IDs from Azure Active Directory. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"members", n => { Members = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "members", n => { Members = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceAndAppManagementRoleAssignmentCollectionResponse.cs b/src/generated/Models/DeviceAndAppManagementRoleAssignmentCollectionResponse.cs index 62b7166cbb..99a3d0cf00 100644 --- a/src/generated/Models/DeviceAndAppManagementRoleAssignmentCollectionResponse.cs +++ b/src/generated/Models/DeviceAndAppManagementRoleAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceAndAppManagementRoleAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceAndAppManagementRoleAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceAndAppManagementRoleDefinition.cs b/src/generated/Models/DeviceAndAppManagementRoleDefinition.cs index 95a2cc340c..b65ea9ae7a 100644 --- a/src/generated/Models/DeviceAndAppManagementRoleDefinition.cs +++ b/src/generated/Models/DeviceAndAppManagementRoleDefinition.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role. /// - public class DeviceAndAppManagementRoleDefinition : RoleDefinition, IParsable + public class DeviceAndAppManagementRoleDefinition : RoleDefinition, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/DeviceAppManagement.cs b/src/generated/Models/DeviceAppManagement.cs index 65319fcfb8..9cafc10729 100644 --- a/src/generated/Models/DeviceAppManagement.cs +++ b/src/generated/Models/DeviceAppManagement.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Singleton entity that acts as a container for all device app management functionality. /// - public class DeviceAppManagement : Entity, IParsable + public class DeviceAppManagement : Entity, IParsable { /// Android managed app policies. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -154,24 +155,24 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"androidManagedAppProtections", n => { AndroidManagedAppProtections = n.GetCollectionOfObjectValues(AndroidManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"defaultManagedAppProtections", n => { DefaultManagedAppProtections = n.GetCollectionOfObjectValues(DefaultManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"iosManagedAppProtections", n => { IosManagedAppProtections = n.GetCollectionOfObjectValues(IosManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isEnabledForMicrosoftStoreForBusiness", n => { IsEnabledForMicrosoftStoreForBusiness = n.GetBoolValue(); } }, - {"managedAppPolicies", n => { ManagedAppPolicies = n.GetCollectionOfObjectValues(ManagedAppPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"managedAppRegistrations", n => { ManagedAppRegistrations = n.GetCollectionOfObjectValues(ManagedAppRegistration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"managedAppStatuses", n => { ManagedAppStatuses = n.GetCollectionOfObjectValues(ManagedAppStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"managedEBooks", n => { ManagedEBooks = n.GetCollectionOfObjectValues(ManagedEBook.CreateFromDiscriminatorValue)?.ToList(); } }, - {"mdmWindowsInformationProtectionPolicies", n => { MdmWindowsInformationProtectionPolicies = n.GetCollectionOfObjectValues(MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"microsoftStoreForBusinessLanguage", n => { MicrosoftStoreForBusinessLanguage = n.GetStringValue(); } }, - {"microsoftStoreForBusinessLastCompletedApplicationSyncTime", n => { MicrosoftStoreForBusinessLastCompletedApplicationSyncTime = n.GetDateTimeOffsetValue(); } }, - {"microsoftStoreForBusinessLastSuccessfulSyncDateTime", n => { MicrosoftStoreForBusinessLastSuccessfulSyncDateTime = n.GetDateTimeOffsetValue(); } }, - {"mobileAppCategories", n => { MobileAppCategories = n.GetCollectionOfObjectValues(MobileAppCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"mobileAppConfigurations", n => { MobileAppConfigurations = n.GetCollectionOfObjectValues(ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"mobileApps", n => { MobileApps = n.GetCollectionOfObjectValues(MobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, - {"targetedManagedAppConfigurations", n => { TargetedManagedAppConfigurations = n.GetCollectionOfObjectValues(TargetedManagedAppConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"vppTokens", n => { VppTokens = n.GetCollectionOfObjectValues(VppToken.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsInformationProtectionPolicies", n => { WindowsInformationProtectionPolicies = n.GetCollectionOfObjectValues(WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "androidManagedAppProtections", n => { AndroidManagedAppProtections = n.GetCollectionOfObjectValues(AndroidManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "defaultManagedAppProtections", n => { DefaultManagedAppProtections = n.GetCollectionOfObjectValues(DefaultManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "iosManagedAppProtections", n => { IosManagedAppProtections = n.GetCollectionOfObjectValues(IosManagedAppProtection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isEnabledForMicrosoftStoreForBusiness", n => { IsEnabledForMicrosoftStoreForBusiness = n.GetBoolValue(); } }, + { "managedAppPolicies", n => { ManagedAppPolicies = n.GetCollectionOfObjectValues(ManagedAppPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "managedAppRegistrations", n => { ManagedAppRegistrations = n.GetCollectionOfObjectValues(ManagedAppRegistration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "managedAppStatuses", n => { ManagedAppStatuses = n.GetCollectionOfObjectValues(ManagedAppStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "managedEBooks", n => { ManagedEBooks = n.GetCollectionOfObjectValues(ManagedEBook.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mdmWindowsInformationProtectionPolicies", n => { MdmWindowsInformationProtectionPolicies = n.GetCollectionOfObjectValues(MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "microsoftStoreForBusinessLanguage", n => { MicrosoftStoreForBusinessLanguage = n.GetStringValue(); } }, + { "microsoftStoreForBusinessLastCompletedApplicationSyncTime", n => { MicrosoftStoreForBusinessLastCompletedApplicationSyncTime = n.GetDateTimeOffsetValue(); } }, + { "microsoftStoreForBusinessLastSuccessfulSyncDateTime", n => { MicrosoftStoreForBusinessLastSuccessfulSyncDateTime = n.GetDateTimeOffsetValue(); } }, + { "mobileAppCategories", n => { MobileAppCategories = n.GetCollectionOfObjectValues(MobileAppCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mobileAppConfigurations", n => { MobileAppConfigurations = n.GetCollectionOfObjectValues(ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mobileApps", n => { MobileApps = n.GetCollectionOfObjectValues(MobileApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "targetedManagedAppConfigurations", n => { TargetedManagedAppConfigurations = n.GetCollectionOfObjectValues(TargetedManagedAppConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "vppTokens", n => { VppTokens = n.GetCollectionOfObjectValues(VppToken.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsInformationProtectionPolicies", n => { WindowsInformationProtectionPolicies = n.GetCollectionOfObjectValues(WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCategory.cs b/src/generated/Models/DeviceCategory.cs index f4e34e1801..aee2a8cd42 100644 --- a/src/generated/Models/DeviceCategory.cs +++ b/src/generated/Models/DeviceCategory.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories. /// - public class DeviceCategory : Entity, IParsable + public class DeviceCategory : Entity, IParsable { /// Optional description for the device category. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCategoryCollectionResponse.cs b/src/generated/Models/DeviceCategoryCollectionResponse.cs index bcc47d885f..97f0e23993 100644 --- a/src/generated/Models/DeviceCategoryCollectionResponse.cs +++ b/src/generated/Models/DeviceCategoryCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCollectionResponse.cs b/src/generated/Models/DeviceCollectionResponse.cs index a8d6b453cb..d814b109ee 100644 --- a/src/generated/Models/DeviceCollectionResponse.cs +++ b/src/generated/Models/DeviceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Device.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Device.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceActionItem.cs b/src/generated/Models/DeviceComplianceActionItem.cs index 4e95a62c76..9731910e16 100644 --- a/src/generated/Models/DeviceComplianceActionItem.cs +++ b/src/generated/Models/DeviceComplianceActionItem.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Scheduled Action Configuration /// - public class DeviceComplianceActionItem : Entity, IParsable + public class DeviceComplianceActionItem : Entity, IParsable { /// Scheduled Action Type Enum public DeviceComplianceActionType? ActionType { get; set; } @@ -48,10 +49,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"actionType", n => { ActionType = n.GetEnumValue(); } }, - {"gracePeriodHours", n => { GracePeriodHours = n.GetIntValue(); } }, - {"notificationMessageCCList", n => { NotificationMessageCCList = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"notificationTemplateId", n => { NotificationTemplateId = n.GetStringValue(); } }, + { "actionType", n => { ActionType = n.GetEnumValue(); } }, + { "gracePeriodHours", n => { GracePeriodHours = n.GetIntValue(); } }, + { "notificationMessageCCList", n => { NotificationMessageCCList = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "notificationTemplateId", n => { NotificationTemplateId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceActionItemCollectionResponse.cs b/src/generated/Models/DeviceComplianceActionItemCollectionResponse.cs index c44d8756b4..d7918786ac 100644 --- a/src/generated/Models/DeviceComplianceActionItemCollectionResponse.cs +++ b/src/generated/Models/DeviceComplianceActionItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceActionItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceActionItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceActionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceActionItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceActionType.cs b/src/generated/Models/DeviceComplianceActionType.cs index 9a38d680d5..4b5af0a167 100644 --- a/src/generated/Models/DeviceComplianceActionType.cs +++ b/src/generated/Models/DeviceComplianceActionType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Scheduled Action Type Enum public enum DeviceComplianceActionType { diff --git a/src/generated/Models/DeviceComplianceDeviceOverview.cs b/src/generated/Models/DeviceComplianceDeviceOverview.cs index a0d8700335..fdbe0f0bd1 100644 --- a/src/generated/Models/DeviceComplianceDeviceOverview.cs +++ b/src/generated/Models/DeviceComplianceDeviceOverview.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceDeviceOverview : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceDeviceOverview : Entity, IParsable + #pragma warning restore CS1591 { /// Version of the policy for that overview public int? ConfigurationVersion { get; set; } @@ -39,13 +42,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, - {"errorCount", n => { ErrorCount = n.GetIntValue(); } }, - {"failedCount", n => { FailedCount = n.GetIntValue(); } }, - {"lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, - {"notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, - {"pendingCount", n => { PendingCount = n.GetIntValue(); } }, - {"successCount", n => { SuccessCount = n.GetIntValue(); } }, + { "configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, + { "errorCount", n => { ErrorCount = n.GetIntValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, + { "notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, + { "pendingCount", n => { PendingCount = n.GetIntValue(); } }, + { "successCount", n => { SuccessCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceDeviceStatus.cs b/src/generated/Models/DeviceComplianceDeviceStatus.cs index 8a6e466be9..d6387126ab 100644 --- a/src/generated/Models/DeviceComplianceDeviceStatus.cs +++ b/src/generated/Models/DeviceComplianceDeviceStatus.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceDeviceStatus : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceDeviceStatus : Entity, IParsable + #pragma warning restore CS1591 { /// The DateTime when device compliance grace period expires public DateTimeOffset? ComplianceGracePeriodExpirationDateTime { get; set; } @@ -63,13 +66,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, - {"deviceModel", n => { DeviceModel = n.GetStringValue(); } }, - {"lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, + { "deviceModel", n => { DeviceModel = n.GetStringValue(); } }, + { "lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceDeviceStatusCollectionResponse.cs b/src/generated/Models/DeviceComplianceDeviceStatusCollectionResponse.cs index b874c83a99..57577ed232 100644 --- a/src/generated/Models/DeviceComplianceDeviceStatusCollectionResponse.cs +++ b/src/generated/Models/DeviceComplianceDeviceStatusCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceDeviceStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceDeviceStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicy.cs b/src/generated/Models/DeviceCompliancePolicy.cs index 06edbde5ef..ecbcb335c2 100644 --- a/src/generated/Models/DeviceCompliancePolicy.cs +++ b/src/generated/Models/DeviceCompliancePolicy.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// This is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here. /// - public class DeviceCompliancePolicy : Entity, IParsable + public class DeviceCompliancePolicy : Entity, IParsable { /// The collection of assignments for this compliance policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -118,18 +119,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"deviceSettingStateSummaries", n => { DeviceSettingStateSummaries = n.GetCollectionOfObjectValues(SettingStateDeviceSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceStatusOverview", n => { DeviceStatusOverview = n.GetObjectValue(DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue); } }, - {"deviceStatuses", n => { DeviceStatuses = n.GetCollectionOfObjectValues(DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"scheduledActionsForRule", n => { ScheduledActionsForRule = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userStatusOverview", n => { UserStatusOverview = n.GetObjectValue(DeviceComplianceUserOverview.CreateFromDiscriminatorValue); } }, - {"userStatuses", n => { UserStatuses = n.GetCollectionOfObjectValues(DeviceComplianceUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "deviceSettingStateSummaries", n => { DeviceSettingStateSummaries = n.GetCollectionOfObjectValues(SettingStateDeviceSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceStatusOverview", n => { DeviceStatusOverview = n.GetObjectValue(DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue); } }, + { "deviceStatuses", n => { DeviceStatuses = n.GetCollectionOfObjectValues(DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "scheduledActionsForRule", n => { ScheduledActionsForRule = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userStatusOverview", n => { UserStatusOverview = n.GetObjectValue(DeviceComplianceUserOverview.CreateFromDiscriminatorValue); } }, + { "userStatuses", n => { UserStatuses = n.GetCollectionOfObjectValues(DeviceComplianceUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyAssignment.cs b/src/generated/Models/DeviceCompliancePolicyAssignment.cs index 17a6dee4b4..ff7517ecc2 100644 --- a/src/generated/Models/DeviceCompliancePolicyAssignment.cs +++ b/src/generated/Models/DeviceCompliancePolicyAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device compliance policy assignment. /// - public class DeviceCompliancePolicyAssignment : Entity, IParsable + public class DeviceCompliancePolicyAssignment : Entity, IParsable { /// Target for the compliance policy assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyAssignmentCollectionResponse.cs b/src/generated/Models/DeviceCompliancePolicyAssignmentCollectionResponse.cs index a112611598..a1e5e2cd22 100644 --- a/src/generated/Models/DeviceCompliancePolicyAssignmentCollectionResponse.cs +++ b/src/generated/Models/DeviceCompliancePolicyAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCompliancePolicyAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCompliancePolicyAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyCollectionResponse.cs b/src/generated/Models/DeviceCompliancePolicyCollectionResponse.cs index 9788f11def..a055cc0d91 100644 --- a/src/generated/Models/DeviceCompliancePolicyCollectionResponse.cs +++ b/src/generated/Models/DeviceCompliancePolicyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCompliancePolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCompliancePolicyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyDeviceStateSummary.cs b/src/generated/Models/DeviceCompliancePolicyDeviceStateSummary.cs index 6c82437e5d..7995136579 100644 --- a/src/generated/Models/DeviceCompliancePolicyDeviceStateSummary.cs +++ b/src/generated/Models/DeviceCompliancePolicyDeviceStateSummary.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCompliancePolicyDeviceStateSummary : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCompliancePolicyDeviceStateSummary : Entity, IParsable + #pragma warning restore CS1591 { /// Number of compliant devices public int? CompliantDeviceCount { get; set; } @@ -43,15 +46,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, - {"configManagerCount", n => { ConfigManagerCount = n.GetIntValue(); } }, - {"conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, - {"errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, - {"inGracePeriodCount", n => { InGracePeriodCount = n.GetIntValue(); } }, - {"nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, - {"notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, - {"remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, - {"unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, + { "compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, + { "configManagerCount", n => { ConfigManagerCount = n.GetIntValue(); } }, + { "conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, + { "errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, + { "inGracePeriodCount", n => { InGracePeriodCount = n.GetIntValue(); } }, + { "nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, + { "notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, + { "remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, + { "unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicySettingState.cs b/src/generated/Models/DeviceCompliancePolicySettingState.cs index ad39e7a02d..d634678fae 100644 --- a/src/generated/Models/DeviceCompliancePolicySettingState.cs +++ b/src/generated/Models/DeviceCompliancePolicySettingState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Compilance Policy Setting State for a given device. /// - public class DeviceCompliancePolicySettingState : IAdditionalDataHolder, IParsable + public class DeviceCompliancePolicySettingState : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -129,19 +130,19 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"currentValue", n => { CurrentValue = n.GetStringValue(); } }, - {"errorCode", n => { ErrorCode = n.GetLongValue(); } }, - {"errorDescription", n => { ErrorDescription = n.GetStringValue(); } }, - {"instanceDisplayName", n => { InstanceDisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"setting", n => { Setting = n.GetStringValue(); } }, - {"settingName", n => { SettingName = n.GetStringValue(); } }, - {"sources", n => { Sources = n.GetCollectionOfObjectValues(SettingSource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"userEmail", n => { UserEmail = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "currentValue", n => { CurrentValue = n.GetStringValue(); } }, + { "errorCode", n => { ErrorCode = n.GetLongValue(); } }, + { "errorDescription", n => { ErrorDescription = n.GetStringValue(); } }, + { "instanceDisplayName", n => { InstanceDisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "setting", n => { Setting = n.GetStringValue(); } }, + { "settingName", n => { SettingName = n.GetStringValue(); } }, + { "sources", n => { Sources = n.GetCollectionOfObjectValues(SettingSource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicySettingStateSummary.cs b/src/generated/Models/DeviceCompliancePolicySettingStateSummary.cs index 203b505a44..37f13cb661 100644 --- a/src/generated/Models/DeviceCompliancePolicySettingStateSummary.cs +++ b/src/generated/Models/DeviceCompliancePolicySettingStateSummary.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Compilance Policy Setting State summary across the account. /// - public class DeviceCompliancePolicySettingStateSummary : Entity, IParsable + public class DeviceCompliancePolicySettingStateSummary : Entity, IParsable { /// Number of compliant devices public int? CompliantDeviceCount { get; set; } @@ -68,17 +69,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, - {"conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, - {"deviceComplianceSettingStates", n => { DeviceComplianceSettingStates = n.GetCollectionOfObjectValues(DeviceComplianceSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, - {"nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, - {"notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, - {"platformType", n => { PlatformType = n.GetEnumValue(); } }, - {"remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, - {"setting", n => { Setting = n.GetStringValue(); } }, - {"settingName", n => { SettingName = n.GetStringValue(); } }, - {"unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, + { "compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, + { "conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, + { "deviceComplianceSettingStates", n => { DeviceComplianceSettingStates = n.GetCollectionOfObjectValues(DeviceComplianceSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, + { "nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, + { "notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, + { "platformType", n => { PlatformType = n.GetEnumValue(); } }, + { "remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, + { "setting", n => { Setting = n.GetStringValue(); } }, + { "settingName", n => { SettingName = n.GetStringValue(); } }, + { "unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicySettingStateSummaryCollectionResponse.cs b/src/generated/Models/DeviceCompliancePolicySettingStateSummaryCollectionResponse.cs index bff745e65c..fe88bce1ef 100644 --- a/src/generated/Models/DeviceCompliancePolicySettingStateSummaryCollectionResponse.cs +++ b/src/generated/Models/DeviceCompliancePolicySettingStateSummaryCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCompliancePolicySettingStateSummaryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCompliancePolicySettingStateSummaryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyState.cs b/src/generated/Models/DeviceCompliancePolicyState.cs index 54b9539c20..642037c0c3 100644 --- a/src/generated/Models/DeviceCompliancePolicyState.cs +++ b/src/generated/Models/DeviceCompliancePolicyState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Compliance Policy State for a given device. /// - public class DeviceCompliancePolicyState : Entity, IParsable + public class DeviceCompliancePolicyState : Entity, IParsable { /// The name of the policy for this policyBase #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,12 +53,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"platformType", n => { PlatformType = n.GetEnumValue(); } }, - {"settingCount", n => { SettingCount = n.GetIntValue(); } }, - {"settingStates", n => { SettingStates = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "platformType", n => { PlatformType = n.GetEnumValue(); } }, + { "settingCount", n => { SettingCount = n.GetIntValue(); } }, + { "settingStates", n => { SettingStates = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceCompliancePolicyStateCollectionResponse.cs b/src/generated/Models/DeviceCompliancePolicyStateCollectionResponse.cs index 5b821c87d5..3bed19e9e4 100644 --- a/src/generated/Models/DeviceCompliancePolicyStateCollectionResponse.cs +++ b/src/generated/Models/DeviceCompliancePolicyStateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceCompliancePolicyStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceCompliancePolicyStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceCompliancePolicyState.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceScheduledActionForRule.cs b/src/generated/Models/DeviceComplianceScheduledActionForRule.cs index e00bd0762a..46e3b65ed8 100644 --- a/src/generated/Models/DeviceComplianceScheduledActionForRule.cs +++ b/src/generated/Models/DeviceComplianceScheduledActionForRule.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Scheduled Action for Rule /// - public class DeviceComplianceScheduledActionForRule : Entity, IParsable + public class DeviceComplianceScheduledActionForRule : Entity, IParsable { /// Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"ruleName", n => { RuleName = n.GetStringValue(); } }, - {"scheduledActionConfigurations", n => { ScheduledActionConfigurations = n.GetCollectionOfObjectValues(DeviceComplianceActionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "ruleName", n => { RuleName = n.GetStringValue(); } }, + { "scheduledActionConfigurations", n => { ScheduledActionConfigurations = n.GetCollectionOfObjectValues(DeviceComplianceActionItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceScheduledActionForRuleCollectionResponse.cs b/src/generated/Models/DeviceComplianceScheduledActionForRuleCollectionResponse.cs index 5cf32f2d63..467ba9a3ee 100644 --- a/src/generated/Models/DeviceComplianceScheduledActionForRuleCollectionResponse.cs +++ b/src/generated/Models/DeviceComplianceScheduledActionForRuleCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceScheduledActionForRuleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceScheduledActionForRuleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceSettingState.cs b/src/generated/Models/DeviceComplianceSettingState.cs index dee336393b..82c0b0b21e 100644 --- a/src/generated/Models/DeviceComplianceSettingState.cs +++ b/src/generated/Models/DeviceComplianceSettingState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device compliance setting State for a given device. /// - public class DeviceComplianceSettingState : Entity, IParsable + public class DeviceComplianceSettingState : Entity, IParsable { /// The DateTime when device compliance grace period expires public DateTimeOffset? ComplianceGracePeriodExpirationDateTime { get; set; } @@ -104,17 +105,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"deviceModel", n => { DeviceModel = n.GetStringValue(); } }, - {"deviceName", n => { DeviceName = n.GetStringValue(); } }, - {"setting", n => { Setting = n.GetStringValue(); } }, - {"settingName", n => { SettingName = n.GetStringValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"userEmail", n => { UserEmail = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "deviceModel", n => { DeviceModel = n.GetStringValue(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "setting", n => { Setting = n.GetStringValue(); } }, + { "settingName", n => { SettingName = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceSettingStateCollectionResponse.cs b/src/generated/Models/DeviceComplianceSettingStateCollectionResponse.cs index 2d9095b02b..2fac686e0c 100644 --- a/src/generated/Models/DeviceComplianceSettingStateCollectionResponse.cs +++ b/src/generated/Models/DeviceComplianceSettingStateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceSettingStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceSettingStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceUserOverview.cs b/src/generated/Models/DeviceComplianceUserOverview.cs index fb8eb85b0f..77cf5cb524 100644 --- a/src/generated/Models/DeviceComplianceUserOverview.cs +++ b/src/generated/Models/DeviceComplianceUserOverview.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceUserOverview : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceUserOverview : Entity, IParsable + #pragma warning restore CS1591 { /// Version of the policy for that overview public int? ConfigurationVersion { get; set; } @@ -39,13 +42,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, - {"errorCount", n => { ErrorCount = n.GetIntValue(); } }, - {"failedCount", n => { FailedCount = n.GetIntValue(); } }, - {"lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, - {"notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, - {"pendingCount", n => { PendingCount = n.GetIntValue(); } }, - {"successCount", n => { SuccessCount = n.GetIntValue(); } }, + { "configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, + { "errorCount", n => { ErrorCount = n.GetIntValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, + { "notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, + { "pendingCount", n => { PendingCount = n.GetIntValue(); } }, + { "successCount", n => { SuccessCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceUserStatus.cs b/src/generated/Models/DeviceComplianceUserStatus.cs index 2c1528ac8c..b97300f42e 100644 --- a/src/generated/Models/DeviceComplianceUserStatus.cs +++ b/src/generated/Models/DeviceComplianceUserStatus.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceUserStatus : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceUserStatus : Entity, IParsable + #pragma warning restore CS1591 { /// Devices count for that user. public int? DevicesCount { get; set; } @@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"devicesCount", n => { DevicesCount = n.GetIntValue(); } }, - {"lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "devicesCount", n => { DevicesCount = n.GetIntValue(); } }, + { "lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceComplianceUserStatusCollectionResponse.cs b/src/generated/Models/DeviceComplianceUserStatusCollectionResponse.cs index 4df07edb23..e125b350a7 100644 --- a/src/generated/Models/DeviceComplianceUserStatusCollectionResponse.cs +++ b/src/generated/Models/DeviceComplianceUserStatusCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceComplianceUserStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceComplianceUserStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceComplianceUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfiguration.cs b/src/generated/Models/DeviceConfiguration.cs index 34f2573e15..99ebe99248 100644 --- a/src/generated/Models/DeviceConfiguration.cs +++ b/src/generated/Models/DeviceConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Configuration. /// - public class DeviceConfiguration : Entity, IParsable + public class DeviceConfiguration : Entity, IParsable { /// The list of assignments for the device configuration profile. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -128,17 +129,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"deviceSettingStateSummaries", n => { DeviceSettingStateSummaries = n.GetCollectionOfObjectValues(SettingStateDeviceSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceStatusOverview", n => { DeviceStatusOverview = n.GetObjectValue(DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue); } }, - {"deviceStatuses", n => { DeviceStatuses = n.GetCollectionOfObjectValues(DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"userStatusOverview", n => { UserStatusOverview = n.GetObjectValue(DeviceConfigurationUserOverview.CreateFromDiscriminatorValue); } }, - {"userStatuses", n => { UserStatuses = n.GetCollectionOfObjectValues(DeviceConfigurationUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "deviceSettingStateSummaries", n => { DeviceSettingStateSummaries = n.GetCollectionOfObjectValues(SettingStateDeviceSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceStatusOverview", n => { DeviceStatusOverview = n.GetObjectValue(DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue); } }, + { "deviceStatuses", n => { DeviceStatuses = n.GetCollectionOfObjectValues(DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "userStatusOverview", n => { UserStatusOverview = n.GetObjectValue(DeviceConfigurationUserOverview.CreateFromDiscriminatorValue); } }, + { "userStatuses", n => { UserStatuses = n.GetCollectionOfObjectValues(DeviceConfigurationUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationAssignment.cs b/src/generated/Models/DeviceConfigurationAssignment.cs index ba630170d9..f1102bcefe 100644 --- a/src/generated/Models/DeviceConfigurationAssignment.cs +++ b/src/generated/Models/DeviceConfigurationAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The device configuration assignment entity assigns an AAD group to a specific device configuration. /// - public class DeviceConfigurationAssignment : Entity, IParsable + public class DeviceConfigurationAssignment : Entity, IParsable { /// The assignment target for the device configuration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationAssignmentCollectionResponse.cs b/src/generated/Models/DeviceConfigurationAssignmentCollectionResponse.cs index 3c9c901ccf..8871434537 100644 --- a/src/generated/Models/DeviceConfigurationAssignmentCollectionResponse.cs +++ b/src/generated/Models/DeviceConfigurationAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationCollectionResponse.cs b/src/generated/Models/DeviceConfigurationCollectionResponse.cs index 1cacd65af5..7c7622b0e6 100644 --- a/src/generated/Models/DeviceConfigurationCollectionResponse.cs +++ b/src/generated/Models/DeviceConfigurationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationDeviceOverview.cs b/src/generated/Models/DeviceConfigurationDeviceOverview.cs index 5d3b751a1d..c2657cd3b1 100644 --- a/src/generated/Models/DeviceConfigurationDeviceOverview.cs +++ b/src/generated/Models/DeviceConfigurationDeviceOverview.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationDeviceOverview : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationDeviceOverview : Entity, IParsable + #pragma warning restore CS1591 { /// Version of the policy for that overview public int? ConfigurationVersion { get; set; } @@ -39,13 +42,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, - {"errorCount", n => { ErrorCount = n.GetIntValue(); } }, - {"failedCount", n => { FailedCount = n.GetIntValue(); } }, - {"lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, - {"notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, - {"pendingCount", n => { PendingCount = n.GetIntValue(); } }, - {"successCount", n => { SuccessCount = n.GetIntValue(); } }, + { "configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, + { "errorCount", n => { ErrorCount = n.GetIntValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, + { "notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, + { "pendingCount", n => { PendingCount = n.GetIntValue(); } }, + { "successCount", n => { SuccessCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationDeviceStateSummary.cs b/src/generated/Models/DeviceConfigurationDeviceStateSummary.cs index 1c50437923..fb7ef21b93 100644 --- a/src/generated/Models/DeviceConfigurationDeviceStateSummary.cs +++ b/src/generated/Models/DeviceConfigurationDeviceStateSummary.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationDeviceStateSummary : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationDeviceStateSummary : Entity, IParsable + #pragma warning restore CS1591 { /// Number of compliant devices public int? CompliantDeviceCount { get; set; } @@ -39,13 +42,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, - {"conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, - {"errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, - {"nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, - {"notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, - {"remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, - {"unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, + { "compliantDeviceCount", n => { CompliantDeviceCount = n.GetIntValue(); } }, + { "conflictDeviceCount", n => { ConflictDeviceCount = n.GetIntValue(); } }, + { "errorDeviceCount", n => { ErrorDeviceCount = n.GetIntValue(); } }, + { "nonCompliantDeviceCount", n => { NonCompliantDeviceCount = n.GetIntValue(); } }, + { "notApplicableDeviceCount", n => { NotApplicableDeviceCount = n.GetIntValue(); } }, + { "remediatedDeviceCount", n => { RemediatedDeviceCount = n.GetIntValue(); } }, + { "unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationDeviceStatus.cs b/src/generated/Models/DeviceConfigurationDeviceStatus.cs index b470457cf6..1a67c7f644 100644 --- a/src/generated/Models/DeviceConfigurationDeviceStatus.cs +++ b/src/generated/Models/DeviceConfigurationDeviceStatus.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationDeviceStatus : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationDeviceStatus : Entity, IParsable + #pragma warning restore CS1591 { /// The DateTime when device compliance grace period expires public DateTimeOffset? ComplianceGracePeriodExpirationDateTime { get; set; } @@ -63,13 +66,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, - {"deviceModel", n => { DeviceModel = n.GetStringValue(); } }, - {"lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "complianceGracePeriodExpirationDateTime", n => { ComplianceGracePeriodExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "deviceDisplayName", n => { DeviceDisplayName = n.GetStringValue(); } }, + { "deviceModel", n => { DeviceModel = n.GetStringValue(); } }, + { "lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationDeviceStatusCollectionResponse.cs b/src/generated/Models/DeviceConfigurationDeviceStatusCollectionResponse.cs index 8b95fcfd9b..1df02b6868 100644 --- a/src/generated/Models/DeviceConfigurationDeviceStatusCollectionResponse.cs +++ b/src/generated/Models/DeviceConfigurationDeviceStatusCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationDeviceStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationDeviceStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationSettingState.cs b/src/generated/Models/DeviceConfigurationSettingState.cs index 6c5e54593a..16bffb0389 100644 --- a/src/generated/Models/DeviceConfigurationSettingState.cs +++ b/src/generated/Models/DeviceConfigurationSettingState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Configuration Setting State for a given device. /// - public class DeviceConfigurationSettingState : IAdditionalDataHolder, IParsable + public class DeviceConfigurationSettingState : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -129,19 +130,19 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"currentValue", n => { CurrentValue = n.GetStringValue(); } }, - {"errorCode", n => { ErrorCode = n.GetLongValue(); } }, - {"errorDescription", n => { ErrorDescription = n.GetStringValue(); } }, - {"instanceDisplayName", n => { InstanceDisplayName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"setting", n => { Setting = n.GetStringValue(); } }, - {"settingName", n => { SettingName = n.GetStringValue(); } }, - {"sources", n => { Sources = n.GetCollectionOfObjectValues(SettingSource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"userEmail", n => { UserEmail = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "currentValue", n => { CurrentValue = n.GetStringValue(); } }, + { "errorCode", n => { ErrorCode = n.GetLongValue(); } }, + { "errorDescription", n => { ErrorDescription = n.GetStringValue(); } }, + { "instanceDisplayName", n => { InstanceDisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "setting", n => { Setting = n.GetStringValue(); } }, + { "settingName", n => { SettingName = n.GetStringValue(); } }, + { "sources", n => { Sources = n.GetCollectionOfObjectValues(SettingSource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationState.cs b/src/generated/Models/DeviceConfigurationState.cs index aaa57bcd36..380c1d703b 100644 --- a/src/generated/Models/DeviceConfigurationState.cs +++ b/src/generated/Models/DeviceConfigurationState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Configuration State for a given device. /// - public class DeviceConfigurationState : Entity, IParsable + public class DeviceConfigurationState : Entity, IParsable { /// The name of the policy for this policyBase #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,12 +53,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"platformType", n => { PlatformType = n.GetEnumValue(); } }, - {"settingCount", n => { SettingCount = n.GetIntValue(); } }, - {"settingStates", n => { SettingStates = n.GetCollectionOfObjectValues(DeviceConfigurationSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "platformType", n => { PlatformType = n.GetEnumValue(); } }, + { "settingCount", n => { SettingCount = n.GetIntValue(); } }, + { "settingStates", n => { SettingStates = n.GetCollectionOfObjectValues(DeviceConfigurationSettingState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationStateCollectionResponse.cs b/src/generated/Models/DeviceConfigurationStateCollectionResponse.cs index db6b52f668..f404ad75ee 100644 --- a/src/generated/Models/DeviceConfigurationStateCollectionResponse.cs +++ b/src/generated/Models/DeviceConfigurationStateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationState.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationUserOverview.cs b/src/generated/Models/DeviceConfigurationUserOverview.cs index 98f7d9fdc1..7ae58f46d9 100644 --- a/src/generated/Models/DeviceConfigurationUserOverview.cs +++ b/src/generated/Models/DeviceConfigurationUserOverview.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationUserOverview : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationUserOverview : Entity, IParsable + #pragma warning restore CS1591 { /// Version of the policy for that overview public int? ConfigurationVersion { get; set; } @@ -39,13 +42,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, - {"errorCount", n => { ErrorCount = n.GetIntValue(); } }, - {"failedCount", n => { FailedCount = n.GetIntValue(); } }, - {"lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, - {"notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, - {"pendingCount", n => { PendingCount = n.GetIntValue(); } }, - {"successCount", n => { SuccessCount = n.GetIntValue(); } }, + { "configurationVersion", n => { ConfigurationVersion = n.GetIntValue(); } }, + { "errorCount", n => { ErrorCount = n.GetIntValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, + { "notApplicableCount", n => { NotApplicableCount = n.GetIntValue(); } }, + { "pendingCount", n => { PendingCount = n.GetIntValue(); } }, + { "successCount", n => { SuccessCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationUserStatus.cs b/src/generated/Models/DeviceConfigurationUserStatus.cs index 5ecc3cc4b2..e59e9badf0 100644 --- a/src/generated/Models/DeviceConfigurationUserStatus.cs +++ b/src/generated/Models/DeviceConfigurationUserStatus.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationUserStatus : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationUserStatus : Entity, IParsable + #pragma warning restore CS1591 { /// Devices count for that user. public int? DevicesCount { get; set; } @@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"devicesCount", n => { DevicesCount = n.GetIntValue(); } }, - {"lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "devicesCount", n => { DevicesCount = n.GetIntValue(); } }, + { "lastReportedDateTime", n => { LastReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userDisplayName", n => { UserDisplayName = n.GetStringValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceConfigurationUserStatusCollectionResponse.cs b/src/generated/Models/DeviceConfigurationUserStatusCollectionResponse.cs index 8b50bf49a8..ea173d64d1 100644 --- a/src/generated/Models/DeviceConfigurationUserStatusCollectionResponse.cs +++ b/src/generated/Models/DeviceConfigurationUserStatusCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceConfigurationUserStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceConfigurationUserStatusCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceConfigurationUserStatus.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceDetail.cs b/src/generated/Models/DeviceDetail.cs index 7ed2581bc1..0fc67b84bc 100644 --- a/src/generated/Models/DeviceDetail.cs +++ b/src/generated/Models/DeviceDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceDetail : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceDetail : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -86,14 +89,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"browser", n => { Browser = n.GetStringValue(); } }, - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, - {"isManaged", n => { IsManaged = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, - {"trustType", n => { TrustType = n.GetStringValue(); } }, + { "browser", n => { Browser = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, + { "isManaged", n => { IsManaged = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "trustType", n => { TrustType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentConfiguration.cs b/src/generated/Models/DeviceEnrollmentConfiguration.cs index b36184b766..7e0c7b07b7 100644 --- a/src/generated/Models/DeviceEnrollmentConfiguration.cs +++ b/src/generated/Models/DeviceEnrollmentConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// The Base Class of Device Enrollment Configuration /// - public class DeviceEnrollmentConfiguration : Entity, IParsable + public class DeviceEnrollmentConfiguration : Entity, IParsable { /// The list of group assignments for the device configuration profile #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -68,13 +69,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"version", n => { Version = n.GetIntValue(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentConfigurationCollectionResponse.cs b/src/generated/Models/DeviceEnrollmentConfigurationCollectionResponse.cs index da132cf8a8..fbf5b6926e 100644 --- a/src/generated/Models/DeviceEnrollmentConfigurationCollectionResponse.cs +++ b/src/generated/Models/DeviceEnrollmentConfigurationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceEnrollmentConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceEnrollmentConfigurationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentFailureReason.cs b/src/generated/Models/DeviceEnrollmentFailureReason.cs index 57d69d70ef..a5e8b9c4a6 100644 --- a/src/generated/Models/DeviceEnrollmentFailureReason.cs +++ b/src/generated/Models/DeviceEnrollmentFailureReason.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Top level failure categories for enrollment. public enum DeviceEnrollmentFailureReason { diff --git a/src/generated/Models/DeviceEnrollmentLimitConfiguration.cs b/src/generated/Models/DeviceEnrollmentLimitConfiguration.cs index 4231ac82c5..ba11050054 100644 --- a/src/generated/Models/DeviceEnrollmentLimitConfiguration.cs +++ b/src/generated/Models/DeviceEnrollmentLimitConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Enrollment Configuration that restricts the number of devices a user can enroll /// - public class DeviceEnrollmentLimitConfiguration : DeviceEnrollmentConfiguration, IParsable + public class DeviceEnrollmentLimitConfiguration : DeviceEnrollmentConfiguration, IParsable { /// The maximum number of devices that a user can enroll public int? Limit { get; set; } @@ -37,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"limit", n => { Limit = n.GetIntValue(); } }, + { "limit", n => { Limit = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentPlatformRestriction.cs b/src/generated/Models/DeviceEnrollmentPlatformRestriction.cs index 6809166973..632cae3c00 100644 --- a/src/generated/Models/DeviceEnrollmentPlatformRestriction.cs +++ b/src/generated/Models/DeviceEnrollmentPlatformRestriction.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Platform specific enrollment restrictions /// - public class DeviceEnrollmentPlatformRestriction : IAdditionalDataHolder, IParsable + public class DeviceEnrollmentPlatformRestriction : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -65,11 +66,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, - {"osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, - {"personalDeviceEnrollmentBlocked", n => { PersonalDeviceEnrollmentBlocked = n.GetBoolValue(); } }, - {"platformBlocked", n => { PlatformBlocked = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "osMaximumVersion", n => { OsMaximumVersion = n.GetStringValue(); } }, + { "osMinimumVersion", n => { OsMinimumVersion = n.GetStringValue(); } }, + { "personalDeviceEnrollmentBlocked", n => { PersonalDeviceEnrollmentBlocked = n.GetBoolValue(); } }, + { "platformBlocked", n => { PlatformBlocked = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs b/src/generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs index 3d9f374ae9..ceb3eb3ca5 100644 --- a/src/generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs +++ b/src/generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Enrollment Configuration that restricts the types of devices a user can enroll /// - public class DeviceEnrollmentPlatformRestrictionsConfiguration : DeviceEnrollmentConfiguration, IParsable + public class DeviceEnrollmentPlatformRestrictionsConfiguration : DeviceEnrollmentConfiguration, IParsable { /// Android restrictions based on platform, platform operating system version, and device ownership #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -75,11 +76,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"androidRestriction", n => { AndroidRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, - {"iosRestriction", n => { IosRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, - {"macOSRestriction", n => { MacOSRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, - {"windowsMobileRestriction", n => { WindowsMobileRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, - {"windowsRestriction", n => { WindowsRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, + { "androidRestriction", n => { AndroidRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, + { "iosRestriction", n => { IosRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, + { "macOSRestriction", n => { MacOSRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, + { "windowsMobileRestriction", n => { WindowsMobileRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, + { "windowsRestriction", n => { WindowsRestriction = n.GetObjectValue(DeviceEnrollmentPlatformRestriction.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DeviceEnrollmentType.cs b/src/generated/Models/DeviceEnrollmentType.cs index 32885ee86b..7aab5aa6b7 100644 --- a/src/generated/Models/DeviceEnrollmentType.cs +++ b/src/generated/Models/DeviceEnrollmentType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible ways of adding a mobile device to management. public enum DeviceEnrollmentType { diff --git a/src/generated/Models/DeviceEnrollmentWindowsHelloForBusinessConfiguration.cs b/src/generated/Models/DeviceEnrollmentWindowsHelloForBusinessConfiguration.cs index d1020eeff2..63a0c63a19 100644 --- a/src/generated/Models/DeviceEnrollmentWindowsHelloForBusinessConfiguration.cs +++ b/src/generated/Models/DeviceEnrollmentWindowsHelloForBusinessConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Windows Hello for Business settings lets users access their devices using a gesture, such as biometric authentication, or a PIN. Configure settings for enrolled Windows 10, Windows 10 Mobile and later. /// - public class DeviceEnrollmentWindowsHelloForBusinessConfiguration : DeviceEnrollmentConfiguration, IParsable + public class DeviceEnrollmentWindowsHelloForBusinessConfiguration : DeviceEnrollmentConfiguration, IParsable { /// Possible values of a property public Enablement? EnhancedBiometricsState { get; set; } @@ -59,18 +60,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"enhancedBiometricsState", n => { EnhancedBiometricsState = n.GetEnumValue(); } }, - {"pinExpirationInDays", n => { PinExpirationInDays = n.GetIntValue(); } }, - {"pinLowercaseCharactersUsage", n => { PinLowercaseCharactersUsage = n.GetEnumValue(); } }, - {"pinMaximumLength", n => { PinMaximumLength = n.GetIntValue(); } }, - {"pinMinimumLength", n => { PinMinimumLength = n.GetIntValue(); } }, - {"pinPreviousBlockCount", n => { PinPreviousBlockCount = n.GetIntValue(); } }, - {"pinSpecialCharactersUsage", n => { PinSpecialCharactersUsage = n.GetEnumValue(); } }, - {"pinUppercaseCharactersUsage", n => { PinUppercaseCharactersUsage = n.GetEnumValue(); } }, - {"remotePassportEnabled", n => { RemotePassportEnabled = n.GetBoolValue(); } }, - {"securityDeviceRequired", n => { SecurityDeviceRequired = n.GetBoolValue(); } }, - {"state", n => { State = n.GetEnumValue(); } }, - {"unlockWithBiometricsEnabled", n => { UnlockWithBiometricsEnabled = n.GetBoolValue(); } }, + { "enhancedBiometricsState", n => { EnhancedBiometricsState = n.GetEnumValue(); } }, + { "pinExpirationInDays", n => { PinExpirationInDays = n.GetIntValue(); } }, + { "pinLowercaseCharactersUsage", n => { PinLowercaseCharactersUsage = n.GetEnumValue(); } }, + { "pinMaximumLength", n => { PinMaximumLength = n.GetIntValue(); } }, + { "pinMinimumLength", n => { PinMinimumLength = n.GetIntValue(); } }, + { "pinPreviousBlockCount", n => { PinPreviousBlockCount = n.GetIntValue(); } }, + { "pinSpecialCharactersUsage", n => { PinSpecialCharactersUsage = n.GetEnumValue(); } }, + { "pinUppercaseCharactersUsage", n => { PinUppercaseCharactersUsage = n.GetEnumValue(); } }, + { "remotePassportEnabled", n => { RemotePassportEnabled = n.GetBoolValue(); } }, + { "securityDeviceRequired", n => { SecurityDeviceRequired = n.GetBoolValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "unlockWithBiometricsEnabled", n => { UnlockWithBiometricsEnabled = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceExchangeAccessStateSummary.cs b/src/generated/Models/DeviceExchangeAccessStateSummary.cs index a5da4fda33..8b3a4a7f9a 100644 --- a/src/generated/Models/DeviceExchangeAccessStateSummary.cs +++ b/src/generated/Models/DeviceExchangeAccessStateSummary.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device Exchange Access State summary /// - public class DeviceExchangeAccessStateSummary : IAdditionalDataHolder, IParsable + public class DeviceExchangeAccessStateSummary : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -55,12 +56,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedDeviceCount", n => { AllowedDeviceCount = n.GetIntValue(); } }, - {"blockedDeviceCount", n => { BlockedDeviceCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"quarantinedDeviceCount", n => { QuarantinedDeviceCount = n.GetIntValue(); } }, - {"unavailableDeviceCount", n => { UnavailableDeviceCount = n.GetIntValue(); } }, - {"unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, + { "allowedDeviceCount", n => { AllowedDeviceCount = n.GetIntValue(); } }, + { "blockedDeviceCount", n => { BlockedDeviceCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "quarantinedDeviceCount", n => { QuarantinedDeviceCount = n.GetIntValue(); } }, + { "unavailableDeviceCount", n => { UnavailableDeviceCount = n.GetIntValue(); } }, + { "unknownDeviceCount", n => { UnknownDeviceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceGeoLocation.cs b/src/generated/Models/DeviceGeoLocation.cs index 6f38a11014..0d11e84760 100644 --- a/src/generated/Models/DeviceGeoLocation.cs +++ b/src/generated/Models/DeviceGeoLocation.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device location /// - public class DeviceGeoLocation : IAdditionalDataHolder, IParsable + public class DeviceGeoLocation : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -61,15 +62,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"altitude", n => { Altitude = n.GetDoubleValue(); } }, - {"heading", n => { Heading = n.GetDoubleValue(); } }, - {"horizontalAccuracy", n => { HorizontalAccuracy = n.GetDoubleValue(); } }, - {"lastCollectedDateTime", n => { LastCollectedDateTime = n.GetDateTimeOffsetValue(); } }, - {"latitude", n => { Latitude = n.GetDoubleValue(); } }, - {"longitude", n => { Longitude = n.GetDoubleValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"speed", n => { Speed = n.GetDoubleValue(); } }, - {"verticalAccuracy", n => { VerticalAccuracy = n.GetDoubleValue(); } }, + { "altitude", n => { Altitude = n.GetDoubleValue(); } }, + { "heading", n => { Heading = n.GetDoubleValue(); } }, + { "horizontalAccuracy", n => { HorizontalAccuracy = n.GetDoubleValue(); } }, + { "lastCollectedDateTime", n => { LastCollectedDateTime = n.GetDateTimeOffsetValue(); } }, + { "latitude", n => { Latitude = n.GetDoubleValue(); } }, + { "longitude", n => { Longitude = n.GetDoubleValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "speed", n => { Speed = n.GetDoubleValue(); } }, + { "verticalAccuracy", n => { VerticalAccuracy = n.GetDoubleValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceHealthAttestationState.cs b/src/generated/Models/DeviceHealthAttestationState.cs index 39a0cbef70..956a34d18d 100644 --- a/src/generated/Models/DeviceHealthAttestationState.cs +++ b/src/generated/Models/DeviceHealthAttestationState.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceHealthAttestationState : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceHealthAttestationState : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -280,39 +283,39 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attestationIdentityKey", n => { AttestationIdentityKey = n.GetStringValue(); } }, - {"bitLockerStatus", n => { BitLockerStatus = n.GetStringValue(); } }, - {"bootAppSecurityVersion", n => { BootAppSecurityVersion = n.GetStringValue(); } }, - {"bootDebugging", n => { BootDebugging = n.GetStringValue(); } }, - {"bootManagerSecurityVersion", n => { BootManagerSecurityVersion = n.GetStringValue(); } }, - {"bootManagerVersion", n => { BootManagerVersion = n.GetStringValue(); } }, - {"bootRevisionListInfo", n => { BootRevisionListInfo = n.GetStringValue(); } }, - {"codeIntegrity", n => { CodeIntegrity = n.GetStringValue(); } }, - {"codeIntegrityCheckVersion", n => { CodeIntegrityCheckVersion = n.GetStringValue(); } }, - {"codeIntegrityPolicy", n => { CodeIntegrityPolicy = n.GetStringValue(); } }, - {"contentNamespaceUrl", n => { ContentNamespaceUrl = n.GetStringValue(); } }, - {"contentVersion", n => { ContentVersion = n.GetStringValue(); } }, - {"dataExcutionPolicy", n => { DataExcutionPolicy = n.GetStringValue(); } }, - {"deviceHealthAttestationStatus", n => { DeviceHealthAttestationStatus = n.GetStringValue(); } }, - {"earlyLaunchAntiMalwareDriverProtection", n => { EarlyLaunchAntiMalwareDriverProtection = n.GetStringValue(); } }, - {"healthAttestationSupportedStatus", n => { HealthAttestationSupportedStatus = n.GetStringValue(); } }, - {"healthStatusMismatchInfo", n => { HealthStatusMismatchInfo = n.GetStringValue(); } }, - {"issuedDateTime", n => { IssuedDateTime = n.GetDateTimeOffsetValue(); } }, - {"lastUpdateDateTime", n => { LastUpdateDateTime = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"operatingSystemKernelDebugging", n => { OperatingSystemKernelDebugging = n.GetStringValue(); } }, - {"operatingSystemRevListInfo", n => { OperatingSystemRevListInfo = n.GetStringValue(); } }, - {"pcr0", n => { Pcr0 = n.GetStringValue(); } }, - {"pcrHashAlgorithm", n => { PcrHashAlgorithm = n.GetStringValue(); } }, - {"resetCount", n => { ResetCount = n.GetLongValue(); } }, - {"restartCount", n => { RestartCount = n.GetLongValue(); } }, - {"safeMode", n => { SafeMode = n.GetStringValue(); } }, - {"secureBoot", n => { SecureBoot = n.GetStringValue(); } }, - {"secureBootConfigurationPolicyFingerPrint", n => { SecureBootConfigurationPolicyFingerPrint = n.GetStringValue(); } }, - {"testSigning", n => { TestSigning = n.GetStringValue(); } }, - {"tpmVersion", n => { TpmVersion = n.GetStringValue(); } }, - {"virtualSecureMode", n => { VirtualSecureMode = n.GetStringValue(); } }, - {"windowsPE", n => { WindowsPE = n.GetStringValue(); } }, + { "attestationIdentityKey", n => { AttestationIdentityKey = n.GetStringValue(); } }, + { "bitLockerStatus", n => { BitLockerStatus = n.GetStringValue(); } }, + { "bootAppSecurityVersion", n => { BootAppSecurityVersion = n.GetStringValue(); } }, + { "bootDebugging", n => { BootDebugging = n.GetStringValue(); } }, + { "bootManagerSecurityVersion", n => { BootManagerSecurityVersion = n.GetStringValue(); } }, + { "bootManagerVersion", n => { BootManagerVersion = n.GetStringValue(); } }, + { "bootRevisionListInfo", n => { BootRevisionListInfo = n.GetStringValue(); } }, + { "codeIntegrity", n => { CodeIntegrity = n.GetStringValue(); } }, + { "codeIntegrityCheckVersion", n => { CodeIntegrityCheckVersion = n.GetStringValue(); } }, + { "codeIntegrityPolicy", n => { CodeIntegrityPolicy = n.GetStringValue(); } }, + { "contentNamespaceUrl", n => { ContentNamespaceUrl = n.GetStringValue(); } }, + { "contentVersion", n => { ContentVersion = n.GetStringValue(); } }, + { "dataExcutionPolicy", n => { DataExcutionPolicy = n.GetStringValue(); } }, + { "deviceHealthAttestationStatus", n => { DeviceHealthAttestationStatus = n.GetStringValue(); } }, + { "earlyLaunchAntiMalwareDriverProtection", n => { EarlyLaunchAntiMalwareDriverProtection = n.GetStringValue(); } }, + { "healthAttestationSupportedStatus", n => { HealthAttestationSupportedStatus = n.GetStringValue(); } }, + { "healthStatusMismatchInfo", n => { HealthStatusMismatchInfo = n.GetStringValue(); } }, + { "issuedDateTime", n => { IssuedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operatingSystemKernelDebugging", n => { OperatingSystemKernelDebugging = n.GetStringValue(); } }, + { "operatingSystemRevListInfo", n => { OperatingSystemRevListInfo = n.GetStringValue(); } }, + { "pcr0", n => { Pcr0 = n.GetStringValue(); } }, + { "pcrHashAlgorithm", n => { PcrHashAlgorithm = n.GetStringValue(); } }, + { "resetCount", n => { ResetCount = n.GetLongValue(); } }, + { "restartCount", n => { RestartCount = n.GetLongValue(); } }, + { "safeMode", n => { SafeMode = n.GetStringValue(); } }, + { "secureBoot", n => { SecureBoot = n.GetStringValue(); } }, + { "secureBootConfigurationPolicyFingerPrint", n => { SecureBootConfigurationPolicyFingerPrint = n.GetStringValue(); } }, + { "testSigning", n => { TestSigning = n.GetStringValue(); } }, + { "tpmVersion", n => { TpmVersion = n.GetStringValue(); } }, + { "virtualSecureMode", n => { VirtualSecureMode = n.GetStringValue(); } }, + { "windowsPE", n => { WindowsPE = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceInstallState.cs b/src/generated/Models/DeviceInstallState.cs index 1dbacaff04..4331e21da8 100644 --- a/src/generated/Models/DeviceInstallState.cs +++ b/src/generated/Models/DeviceInstallState.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties for the installation state for a device. /// - public class DeviceInstallState : Entity, IParsable + public class DeviceInstallState : Entity, IParsable { /// Device Id. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,14 +81,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"deviceName", n => { DeviceName = n.GetStringValue(); } }, - {"errorCode", n => { ErrorCode = n.GetStringValue(); } }, - {"installState", n => { InstallState = n.GetEnumValue(); } }, - {"lastSyncDateTime", n => { LastSyncDateTime = n.GetDateTimeOffsetValue(); } }, - {"osDescription", n => { OsDescription = n.GetStringValue(); } }, - {"osVersion", n => { OsVersion = n.GetStringValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "errorCode", n => { ErrorCode = n.GetStringValue(); } }, + { "installState", n => { InstallState = n.GetEnumValue(); } }, + { "lastSyncDateTime", n => { LastSyncDateTime = n.GetDateTimeOffsetValue(); } }, + { "osDescription", n => { OsDescription = n.GetStringValue(); } }, + { "osVersion", n => { OsVersion = n.GetStringValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceInstallStateCollectionResponse.cs b/src/generated/Models/DeviceInstallStateCollectionResponse.cs index a46d0b4bae..b4fcf69603 100644 --- a/src/generated/Models/DeviceInstallStateCollectionResponse.cs +++ b/src/generated/Models/DeviceInstallStateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceInstallStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceInstallStateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceInstallState.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceInstallState.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceLocalCredential.cs b/src/generated/Models/DeviceLocalCredential.cs index c7a52920cf..9a65d5982b 100644 --- a/src/generated/Models/DeviceLocalCredential.cs +++ b/src/generated/Models/DeviceLocalCredential.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceLocalCredential : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceLocalCredential : Entity, IParsable + #pragma warning restore CS1591 { /// The name of the local admin account for which LAPS is enabled. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -51,10 +54,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accountName", n => { AccountName = n.GetStringValue(); } }, - {"accountSid", n => { AccountSid = n.GetStringValue(); } }, - {"backupDateTime", n => { BackupDateTime = n.GetDateTimeOffsetValue(); } }, - {"passwordBase64", n => { PasswordBase64 = n.GetStringValue(); } }, + { "accountName", n => { AccountName = n.GetStringValue(); } }, + { "accountSid", n => { AccountSid = n.GetStringValue(); } }, + { "backupDateTime", n => { BackupDateTime = n.GetDateTimeOffsetValue(); } }, + { "passwordBase64", n => { PasswordBase64 = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceLocalCredentialInfo.cs b/src/generated/Models/DeviceLocalCredentialInfo.cs index fa6b47b58b..6bebb43a18 100644 --- a/src/generated/Models/DeviceLocalCredentialInfo.cs +++ b/src/generated/Models/DeviceLocalCredentialInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceLocalCredentialInfo : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceLocalCredentialInfo : Entity, IParsable + #pragma warning restore CS1591 { /// The credentials of the device's local administrator account backed up to Azure Active Directory. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -45,10 +48,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(DeviceLocalCredential.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceName", n => { DeviceName = n.GetStringValue(); } }, - {"lastBackupDateTime", n => { LastBackupDateTime = n.GetDateTimeOffsetValue(); } }, - {"refreshDateTime", n => { RefreshDateTime = n.GetDateTimeOffsetValue(); } }, + { "credentials", n => { Credentials = n.GetCollectionOfObjectValues(DeviceLocalCredential.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "lastBackupDateTime", n => { LastBackupDateTime = n.GetDateTimeOffsetValue(); } }, + { "refreshDateTime", n => { RefreshDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs b/src/generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs index 8fd0ca0cdb..a5d0c85dda 100644 --- a/src/generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs +++ b/src/generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceLocalCredentialInfoCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceLocalCredentialInfoCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceLogCollectionResponse.cs b/src/generated/Models/DeviceLogCollectionResponse.cs index f068f932f1..b8ca432a28 100644 --- a/src/generated/Models/DeviceLogCollectionResponse.cs +++ b/src/generated/Models/DeviceLogCollectionResponse.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Windows Log Collection request entity. /// - public class DeviceLogCollectionResponse : Entity, IParsable + public class DeviceLogCollectionResponse : Entity, IParsable { /// The User Principal Name (UPN) of the user that enrolled the device. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,14 +57,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"enrolledByUser", n => { EnrolledByUser = n.GetStringValue(); } }, - {"expirationDateTimeUTC", n => { ExpirationDateTimeUTC = n.GetDateTimeOffsetValue(); } }, - {"initiatedByUserPrincipalName", n => { InitiatedByUserPrincipalName = n.GetStringValue(); } }, - {"managedDeviceId", n => { ManagedDeviceId = n.GetGuidValue(); } }, - {"receivedDateTimeUTC", n => { ReceivedDateTimeUTC = n.GetDateTimeOffsetValue(); } }, - {"requestedDateTimeUTC", n => { RequestedDateTimeUTC = n.GetDateTimeOffsetValue(); } }, - {"sizeInKB", n => { SizeInKB = n.GetDoubleValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "enrolledByUser", n => { EnrolledByUser = n.GetStringValue(); } }, + { "expirationDateTimeUTC", n => { ExpirationDateTimeUTC = n.GetDateTimeOffsetValue(); } }, + { "initiatedByUserPrincipalName", n => { InitiatedByUserPrincipalName = n.GetStringValue(); } }, + { "managedDeviceId", n => { ManagedDeviceId = n.GetGuidValue(); } }, + { "receivedDateTimeUTC", n => { ReceivedDateTimeUTC = n.GetDateTimeOffsetValue(); } }, + { "requestedDateTimeUTC", n => { RequestedDateTimeUTC = n.GetDateTimeOffsetValue(); } }, + { "sizeInKB", n => { SizeInKB = n.GetDoubleValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceLogCollectionResponseCollectionResponse.cs b/src/generated/Models/DeviceLogCollectionResponseCollectionResponse.cs index ea64131734..ecb5d7c64d 100644 --- a/src/generated/Models/DeviceLogCollectionResponseCollectionResponse.cs +++ b/src/generated/Models/DeviceLogCollectionResponseCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceLogCollectionResponseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceLogCollectionResponseCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceLogCollectionResponse.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceLogCollectionResponse.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagement.cs b/src/generated/Models/DeviceManagement.cs index d55f1eb80d..4614bb34c0 100644 --- a/src/generated/Models/DeviceManagement.cs +++ b/src/generated/Models/DeviceManagement.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Singleton entity that acts as a container for all device management functionality. /// - public class DeviceManagement : Entity, IParsable + public class DeviceManagement : Entity, IParsable { /// Apple push notification certificate. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -536,71 +537,71 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"applePushNotificationCertificate", n => { ApplePushNotificationCertificate = n.GetObjectValue(ApiSdk.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue); } }, - {"auditEvents", n => { AuditEvents = n.GetCollectionOfObjectValues(AuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, - {"complianceManagementPartners", n => { ComplianceManagementPartners = n.GetCollectionOfObjectValues(ComplianceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, - {"conditionalAccessSettings", n => { ConditionalAccessSettings = n.GetObjectValue(OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue); } }, - {"detectedApps", n => { DetectedApps = n.GetCollectionOfObjectValues(DetectedApp.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceCategories", n => { DeviceCategories = n.GetCollectionOfObjectValues(DeviceCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceCompliancePolicies", n => { DeviceCompliancePolicies = n.GetCollectionOfObjectValues(DeviceCompliancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceCompliancePolicyDeviceStateSummary", n => { DeviceCompliancePolicyDeviceStateSummary = n.GetObjectValue(ApiSdk.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue); } }, - {"deviceCompliancePolicySettingStateSummaries", n => { DeviceCompliancePolicySettingStateSummaries = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceConfigurationDeviceStateSummaries", n => { DeviceConfigurationDeviceStateSummaries = n.GetObjectValue(DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue); } }, - {"deviceConfigurations", n => { DeviceConfigurations = n.GetCollectionOfObjectValues(DeviceConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceEnrollmentConfigurations", n => { DeviceEnrollmentConfigurations = n.GetCollectionOfObjectValues(DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceManagementPartners", n => { DeviceManagementPartners = n.GetCollectionOfObjectValues(DeviceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceProtectionOverview", n => { DeviceProtectionOverview = n.GetObjectValue(ApiSdk.Models.DeviceProtectionOverview.CreateFromDiscriminatorValue); } }, - {"exchangeConnectors", n => { ExchangeConnectors = n.GetCollectionOfObjectValues(DeviceManagementExchangeConnector.CreateFromDiscriminatorValue)?.ToList(); } }, - {"importedWindowsAutopilotDeviceIdentities", n => { ImportedWindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, - {"intuneAccountId", n => { IntuneAccountId = n.GetGuidValue(); } }, - {"intuneBrand", n => { IntuneBrand = n.GetObjectValue(ApiSdk.Models.IntuneBrand.CreateFromDiscriminatorValue); } }, - {"iosUpdateStatuses", n => { IosUpdateStatuses = n.GetCollectionOfObjectValues(IosUpdateDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, - {"managedDeviceOverview", n => { ManagedDeviceOverview = n.GetObjectValue(ApiSdk.Models.ManagedDeviceOverview.CreateFromDiscriminatorValue); } }, - {"managedDevices", n => { ManagedDevices = n.GetCollectionOfObjectValues(ManagedDevice.CreateFromDiscriminatorValue)?.ToList(); } }, - {"mobileAppTroubleshootingEvents", n => { MobileAppTroubleshootingEvents = n.GetCollectionOfObjectValues(MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, - {"mobileThreatDefenseConnectors", n => { MobileThreatDefenseConnectors = n.GetCollectionOfObjectValues(MobileThreatDefenseConnector.CreateFromDiscriminatorValue)?.ToList(); } }, - {"notificationMessageTemplates", n => { NotificationMessageTemplates = n.GetCollectionOfObjectValues(NotificationMessageTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, - {"remoteAssistancePartners", n => { RemoteAssistancePartners = n.GetCollectionOfObjectValues(RemoteAssistancePartner.CreateFromDiscriminatorValue)?.ToList(); } }, - {"reports", n => { Reports = n.GetObjectValue(DeviceManagementReports.CreateFromDiscriminatorValue); } }, - {"resourceOperations", n => { ResourceOperations = n.GetCollectionOfObjectValues(ResourceOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roleAssignments", n => { RoleAssignments = n.GetCollectionOfObjectValues(DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roleDefinitions", n => { RoleDefinitions = n.GetCollectionOfObjectValues(RoleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"settings", n => { Settings = n.GetObjectValue(DeviceManagementSettings.CreateFromDiscriminatorValue); } }, - {"softwareUpdateStatusSummary", n => { SoftwareUpdateStatusSummary = n.GetObjectValue(ApiSdk.Models.SoftwareUpdateStatusSummary.CreateFromDiscriminatorValue); } }, - {"subscriptionState", n => { SubscriptionState = n.GetEnumValue(); } }, - {"telecomExpenseManagementPartners", n => { TelecomExpenseManagementPartners = n.GetCollectionOfObjectValues(TelecomExpenseManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, - {"termsAndConditions", n => { TermsAndConditions = n.GetCollectionOfObjectValues(ApiSdk.Models.TermsAndConditions.CreateFromDiscriminatorValue)?.ToList(); } }, - {"troubleshootingEvents", n => { TroubleshootingEvents = n.GetCollectionOfObjectValues(DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthApplicationPerformance", n => { UserExperienceAnalyticsAppHealthApplicationPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthDeviceModelPerformance", n => { UserExperienceAnalyticsAppHealthDeviceModelPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthDevicePerformance", n => { UserExperienceAnalyticsAppHealthDevicePerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthDevicePerformanceDetails", n => { UserExperienceAnalyticsAppHealthDevicePerformanceDetails = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthOSVersionPerformance", n => { UserExperienceAnalyticsAppHealthOSVersionPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsAppHealthOverview", n => { UserExperienceAnalyticsAppHealthOverview = n.GetObjectValue(UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue); } }, - {"userExperienceAnalyticsBaselines", n => { UserExperienceAnalyticsBaselines = n.GetCollectionOfObjectValues(UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsCategories", n => { UserExperienceAnalyticsCategories = n.GetCollectionOfObjectValues(UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsDevicePerformance", n => { UserExperienceAnalyticsDevicePerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsDeviceScores", n => { UserExperienceAnalyticsDeviceScores = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsDeviceStartupHistory", n => { UserExperienceAnalyticsDeviceStartupHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsDeviceStartupProcessPerformance", n => { UserExperienceAnalyticsDeviceStartupProcessPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsDeviceStartupProcesses", n => { UserExperienceAnalyticsDeviceStartupProcesses = n.GetCollectionOfObjectValues(UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsMetricHistory", n => { UserExperienceAnalyticsMetricHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsModelScores", n => { UserExperienceAnalyticsModelScores = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsOverview", n => { UserExperienceAnalyticsOverview = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue); } }, - {"userExperienceAnalyticsScoreHistory", n => { UserExperienceAnalyticsScoreHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsSettings", n => { UserExperienceAnalyticsSettings = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsSettings.CreateFromDiscriminatorValue); } }, - {"userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", n => { UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue); } }, - {"userExperienceAnalyticsWorkFromAnywhereMetrics", n => { UserExperienceAnalyticsWorkFromAnywhereMetrics = n.GetCollectionOfObjectValues(UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userExperienceAnalyticsWorkFromAnywhereModelPerformance", n => { UserExperienceAnalyticsWorkFromAnywhereModelPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, - {"virtualEndpoint", n => { VirtualEndpoint = n.GetObjectValue(ApiSdk.Models.VirtualEndpoint.CreateFromDiscriminatorValue); } }, - {"windowsAutopilotDeviceIdentities", n => { WindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsInformationProtectionAppLearningSummaries", n => { WindowsInformationProtectionAppLearningSummaries = n.GetCollectionOfObjectValues(WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsInformationProtectionNetworkLearningSummaries", n => { WindowsInformationProtectionNetworkLearningSummaries = n.GetCollectionOfObjectValues(WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsMalwareInformation", n => { WindowsMalwareInformation = n.GetCollectionOfObjectValues(ApiSdk.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"windowsMalwareOverview", n => { WindowsMalwareOverview = n.GetObjectValue(ApiSdk.Models.WindowsMalwareOverview.CreateFromDiscriminatorValue); } }, + { "applePushNotificationCertificate", n => { ApplePushNotificationCertificate = n.GetObjectValue(ApiSdk.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue); } }, + { "auditEvents", n => { AuditEvents = n.GetCollectionOfObjectValues(AuditEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "complianceManagementPartners", n => { ComplianceManagementPartners = n.GetCollectionOfObjectValues(ComplianceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "conditionalAccessSettings", n => { ConditionalAccessSettings = n.GetObjectValue(OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue); } }, + { "detectedApps", n => { DetectedApps = n.GetCollectionOfObjectValues(DetectedApp.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceCategories", n => { DeviceCategories = n.GetCollectionOfObjectValues(DeviceCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceCompliancePolicies", n => { DeviceCompliancePolicies = n.GetCollectionOfObjectValues(DeviceCompliancePolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceCompliancePolicyDeviceStateSummary", n => { DeviceCompliancePolicyDeviceStateSummary = n.GetObjectValue(ApiSdk.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue); } }, + { "deviceCompliancePolicySettingStateSummaries", n => { DeviceCompliancePolicySettingStateSummaries = n.GetCollectionOfObjectValues(DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceConfigurationDeviceStateSummaries", n => { DeviceConfigurationDeviceStateSummaries = n.GetObjectValue(DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue); } }, + { "deviceConfigurations", n => { DeviceConfigurations = n.GetCollectionOfObjectValues(DeviceConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceEnrollmentConfigurations", n => { DeviceEnrollmentConfigurations = n.GetCollectionOfObjectValues(DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceManagementPartners", n => { DeviceManagementPartners = n.GetCollectionOfObjectValues(DeviceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceProtectionOverview", n => { DeviceProtectionOverview = n.GetObjectValue(ApiSdk.Models.DeviceProtectionOverview.CreateFromDiscriminatorValue); } }, + { "exchangeConnectors", n => { ExchangeConnectors = n.GetCollectionOfObjectValues(DeviceManagementExchangeConnector.CreateFromDiscriminatorValue)?.ToList(); } }, + { "importedWindowsAutopilotDeviceIdentities", n => { ImportedWindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "intuneAccountId", n => { IntuneAccountId = n.GetGuidValue(); } }, + { "intuneBrand", n => { IntuneBrand = n.GetObjectValue(ApiSdk.Models.IntuneBrand.CreateFromDiscriminatorValue); } }, + { "iosUpdateStatuses", n => { IosUpdateStatuses = n.GetCollectionOfObjectValues(IosUpdateDeviceStatus.CreateFromDiscriminatorValue)?.ToList(); } }, + { "managedDeviceOverview", n => { ManagedDeviceOverview = n.GetObjectValue(ApiSdk.Models.ManagedDeviceOverview.CreateFromDiscriminatorValue); } }, + { "managedDevices", n => { ManagedDevices = n.GetCollectionOfObjectValues(ManagedDevice.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mobileAppTroubleshootingEvents", n => { MobileAppTroubleshootingEvents = n.GetCollectionOfObjectValues(MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "mobileThreatDefenseConnectors", n => { MobileThreatDefenseConnectors = n.GetCollectionOfObjectValues(MobileThreatDefenseConnector.CreateFromDiscriminatorValue)?.ToList(); } }, + { "notificationMessageTemplates", n => { NotificationMessageTemplates = n.GetCollectionOfObjectValues(NotificationMessageTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, + { "remoteAssistancePartners", n => { RemoteAssistancePartners = n.GetCollectionOfObjectValues(RemoteAssistancePartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "reports", n => { Reports = n.GetObjectValue(DeviceManagementReports.CreateFromDiscriminatorValue); } }, + { "resourceOperations", n => { ResourceOperations = n.GetCollectionOfObjectValues(ResourceOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roleAssignments", n => { RoleAssignments = n.GetCollectionOfObjectValues(DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roleDefinitions", n => { RoleDefinitions = n.GetCollectionOfObjectValues(RoleDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "settings", n => { Settings = n.GetObjectValue(DeviceManagementSettings.CreateFromDiscriminatorValue); } }, + { "softwareUpdateStatusSummary", n => { SoftwareUpdateStatusSummary = n.GetObjectValue(ApiSdk.Models.SoftwareUpdateStatusSummary.CreateFromDiscriminatorValue); } }, + { "subscriptionState", n => { SubscriptionState = n.GetEnumValue(); } }, + { "telecomExpenseManagementPartners", n => { TelecomExpenseManagementPartners = n.GetCollectionOfObjectValues(TelecomExpenseManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "termsAndConditions", n => { TermsAndConditions = n.GetCollectionOfObjectValues(ApiSdk.Models.TermsAndConditions.CreateFromDiscriminatorValue)?.ToList(); } }, + { "troubleshootingEvents", n => { TroubleshootingEvents = n.GetCollectionOfObjectValues(DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthApplicationPerformance", n => { UserExperienceAnalyticsAppHealthApplicationPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", n => { UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion = n.GetCollectionOfObjectValues(UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthDeviceModelPerformance", n => { UserExperienceAnalyticsAppHealthDeviceModelPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthDevicePerformance", n => { UserExperienceAnalyticsAppHealthDevicePerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthDevicePerformanceDetails", n => { UserExperienceAnalyticsAppHealthDevicePerformanceDetails = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthOSVersionPerformance", n => { UserExperienceAnalyticsAppHealthOSVersionPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsAppHealthOverview", n => { UserExperienceAnalyticsAppHealthOverview = n.GetObjectValue(UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue); } }, + { "userExperienceAnalyticsBaselines", n => { UserExperienceAnalyticsBaselines = n.GetCollectionOfObjectValues(UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsCategories", n => { UserExperienceAnalyticsCategories = n.GetCollectionOfObjectValues(UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsDevicePerformance", n => { UserExperienceAnalyticsDevicePerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsDeviceScores", n => { UserExperienceAnalyticsDeviceScores = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsDeviceStartupHistory", n => { UserExperienceAnalyticsDeviceStartupHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsDeviceStartupProcessPerformance", n => { UserExperienceAnalyticsDeviceStartupProcessPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsDeviceStartupProcesses", n => { UserExperienceAnalyticsDeviceStartupProcesses = n.GetCollectionOfObjectValues(UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsMetricHistory", n => { UserExperienceAnalyticsMetricHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsModelScores", n => { UserExperienceAnalyticsModelScores = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsOverview", n => { UserExperienceAnalyticsOverview = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue); } }, + { "userExperienceAnalyticsScoreHistory", n => { UserExperienceAnalyticsScoreHistory = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsSettings", n => { UserExperienceAnalyticsSettings = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsSettings.CreateFromDiscriminatorValue); } }, + { "userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", n => { UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric = n.GetObjectValue(ApiSdk.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue); } }, + { "userExperienceAnalyticsWorkFromAnywhereMetrics", n => { UserExperienceAnalyticsWorkFromAnywhereMetrics = n.GetCollectionOfObjectValues(UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userExperienceAnalyticsWorkFromAnywhereModelPerformance", n => { UserExperienceAnalyticsWorkFromAnywhereModelPerformance = n.GetCollectionOfObjectValues(ApiSdk.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + { "virtualEndpoint", n => { VirtualEndpoint = n.GetObjectValue(ApiSdk.Models.VirtualEndpoint.CreateFromDiscriminatorValue); } }, + { "windowsAutopilotDeviceIdentities", n => { WindowsAutopilotDeviceIdentities = n.GetCollectionOfObjectValues(WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsInformationProtectionAppLearningSummaries", n => { WindowsInformationProtectionAppLearningSummaries = n.GetCollectionOfObjectValues(WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsInformationProtectionNetworkLearningSummaries", n => { WindowsInformationProtectionNetworkLearningSummaries = n.GetCollectionOfObjectValues(WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsMalwareInformation", n => { WindowsMalwareInformation = n.GetCollectionOfObjectValues(ApiSdk.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "windowsMalwareOverview", n => { WindowsMalwareOverview = n.GetObjectValue(ApiSdk.Models.WindowsMalwareOverview.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementCachedReportConfiguration.cs b/src/generated/Models/DeviceManagementCachedReportConfiguration.cs index d175910365..004be62cff 100644 --- a/src/generated/Models/DeviceManagementCachedReportConfiguration.cs +++ b/src/generated/Models/DeviceManagementCachedReportConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Entity representing the configuration of a cached report. /// - public class DeviceManagementCachedReportConfiguration : Entity, IParsable + public class DeviceManagementCachedReportConfiguration : Entity, IParsable { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/DeviceManagementExchangeAccessState.cs b/src/generated/Models/DeviceManagementExchangeAccessState.cs index 35ddf2b331..83ae5968fa 100644 --- a/src/generated/Models/DeviceManagementExchangeAccessState.cs +++ b/src/generated/Models/DeviceManagementExchangeAccessState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Device Exchange Access State. public enum DeviceManagementExchangeAccessState { diff --git a/src/generated/Models/DeviceManagementExchangeAccessStateReason.cs b/src/generated/Models/DeviceManagementExchangeAccessStateReason.cs index 93e0852830..f68e1a51f1 100644 --- a/src/generated/Models/DeviceManagementExchangeAccessStateReason.cs +++ b/src/generated/Models/DeviceManagementExchangeAccessStateReason.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Device Exchange Access State Reason. public enum DeviceManagementExchangeAccessStateReason { diff --git a/src/generated/Models/DeviceManagementExchangeConnector.cs b/src/generated/Models/DeviceManagementExchangeConnector.cs index 59c2fa91da..0b1e871831 100644 --- a/src/generated/Models/DeviceManagementExchangeConnector.cs +++ b/src/generated/Models/DeviceManagementExchangeConnector.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Entity which represents a connection to an Exchange environment. /// - public class DeviceManagementExchangeConnector : Entity, IParsable + public class DeviceManagementExchangeConnector : Entity, IParsable { /// The name of the server hosting the Exchange Connector. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -82,15 +83,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"connectorServerName", n => { ConnectorServerName = n.GetStringValue(); } }, - {"exchangeAlias", n => { ExchangeAlias = n.GetStringValue(); } }, - {"exchangeConnectorType", n => { ExchangeConnectorType = n.GetEnumValue(); } }, - {"exchangeOrganization", n => { ExchangeOrganization = n.GetStringValue(); } }, - {"lastSyncDateTime", n => { LastSyncDateTime = n.GetDateTimeOffsetValue(); } }, - {"primarySmtpAddress", n => { PrimarySmtpAddress = n.GetStringValue(); } }, - {"serverName", n => { ServerName = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"version", n => { Version = n.GetStringValue(); } }, + { "connectorServerName", n => { ConnectorServerName = n.GetStringValue(); } }, + { "exchangeAlias", n => { ExchangeAlias = n.GetStringValue(); } }, + { "exchangeConnectorType", n => { ExchangeConnectorType = n.GetEnumValue(); } }, + { "exchangeOrganization", n => { ExchangeOrganization = n.GetStringValue(); } }, + { "lastSyncDateTime", n => { LastSyncDateTime = n.GetDateTimeOffsetValue(); } }, + { "primarySmtpAddress", n => { PrimarySmtpAddress = n.GetStringValue(); } }, + { "serverName", n => { ServerName = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementExchangeConnectorCollectionResponse.cs b/src/generated/Models/DeviceManagementExchangeConnectorCollectionResponse.cs index d04b287bc6..160225de88 100644 --- a/src/generated/Models/DeviceManagementExchangeConnectorCollectionResponse.cs +++ b/src/generated/Models/DeviceManagementExchangeConnectorCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceManagementExchangeConnectorCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceManagementExchangeConnectorCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementExchangeConnector.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementExchangeConnector.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementExchangeConnectorStatus.cs b/src/generated/Models/DeviceManagementExchangeConnectorStatus.cs index 2f7e04d7a9..04ac51710b 100644 --- a/src/generated/Models/DeviceManagementExchangeConnectorStatus.cs +++ b/src/generated/Models/DeviceManagementExchangeConnectorStatus.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// The current status of the Exchange Connector. public enum DeviceManagementExchangeConnectorStatus { diff --git a/src/generated/Models/DeviceManagementExchangeConnectorSyncType.cs b/src/generated/Models/DeviceManagementExchangeConnectorSyncType.cs index a712ffba0d..876d1b1ebd 100644 --- a/src/generated/Models/DeviceManagementExchangeConnectorSyncType.cs +++ b/src/generated/Models/DeviceManagementExchangeConnectorSyncType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// The type of Exchange Connector sync requested. public enum DeviceManagementExchangeConnectorSyncType { diff --git a/src/generated/Models/DeviceManagementExchangeConnectorType.cs b/src/generated/Models/DeviceManagementExchangeConnectorType.cs index 21e2324916..9d88303203 100644 --- a/src/generated/Models/DeviceManagementExchangeConnectorType.cs +++ b/src/generated/Models/DeviceManagementExchangeConnectorType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// The type of Exchange Connector. public enum DeviceManagementExchangeConnectorType { diff --git a/src/generated/Models/DeviceManagementExportJob.cs b/src/generated/Models/DeviceManagementExportJob.cs index 8ffaab45ab..4cc947726d 100644 --- a/src/generated/Models/DeviceManagementExportJob.cs +++ b/src/generated/Models/DeviceManagementExportJob.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Entity representing a job to export a report. /// - public class DeviceManagementExportJob : Entity, IParsable + public class DeviceManagementExportJob : Entity, IParsable { /// Time that the exported report expires public DateTimeOffset? ExpirationDateTime { get; set; } @@ -78,16 +79,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"filter", n => { Filter = n.GetStringValue(); } }, - {"format", n => { Format = n.GetEnumValue(); } }, - {"localizationType", n => { LocalizationType = n.GetEnumValue(); } }, - {"reportName", n => { ReportName = n.GetStringValue(); } }, - {"requestDateTime", n => { RequestDateTime = n.GetDateTimeOffsetValue(); } }, - {"select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"snapshotId", n => { SnapshotId = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"url", n => { Url = n.GetStringValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "format", n => { Format = n.GetEnumValue(); } }, + { "localizationType", n => { LocalizationType = n.GetEnumValue(); } }, + { "reportName", n => { ReportName = n.GetStringValue(); } }, + { "requestDateTime", n => { RequestDateTime = n.GetDateTimeOffsetValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "snapshotId", n => { SnapshotId = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementExportJobCollectionResponse.cs b/src/generated/Models/DeviceManagementExportJobCollectionResponse.cs index 98dba5a7ff..5b50905808 100644 --- a/src/generated/Models/DeviceManagementExportJobCollectionResponse.cs +++ b/src/generated/Models/DeviceManagementExportJobCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceManagementExportJobCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceManagementExportJobCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementExportJob.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementExportJob.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementExportJobLocalizationType.cs b/src/generated/Models/DeviceManagementExportJobLocalizationType.cs index 95f634ec35..a0debd59c6 100644 --- a/src/generated/Models/DeviceManagementExportJobLocalizationType.cs +++ b/src/generated/Models/DeviceManagementExportJobLocalizationType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Configures how the requested export job is localized. public enum DeviceManagementExportJobLocalizationType { diff --git a/src/generated/Models/DeviceManagementPartner.cs b/src/generated/Models/DeviceManagementPartner.cs index cde4fe169a..d8c63d1da1 100644 --- a/src/generated/Models/DeviceManagementPartner.cs +++ b/src/generated/Models/DeviceManagementPartner.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Entity which represents a connection to device management partner. /// - public class DeviceManagementPartner : Entity, IParsable + public class DeviceManagementPartner : Entity, IParsable { /// Partner display name #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -64,15 +65,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"groupsRequiringPartnerEnrollment", n => { GroupsRequiringPartnerEnrollment = n.GetCollectionOfObjectValues(DeviceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isConfigured", n => { IsConfigured = n.GetBoolValue(); } }, - {"lastHeartbeatDateTime", n => { LastHeartbeatDateTime = n.GetDateTimeOffsetValue(); } }, - {"partnerAppType", n => { PartnerAppType = n.GetEnumValue(); } }, - {"partnerState", n => { PartnerState = n.GetEnumValue(); } }, - {"singleTenantAppId", n => { SingleTenantAppId = n.GetStringValue(); } }, - {"whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", n => { WhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime = n.GetDateTimeOffsetValue(); } }, - {"whenPartnerDevicesWillBeRemovedDateTime", n => { WhenPartnerDevicesWillBeRemovedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "groupsRequiringPartnerEnrollment", n => { GroupsRequiringPartnerEnrollment = n.GetCollectionOfObjectValues(DeviceManagementPartnerAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isConfigured", n => { IsConfigured = n.GetBoolValue(); } }, + { "lastHeartbeatDateTime", n => { LastHeartbeatDateTime = n.GetDateTimeOffsetValue(); } }, + { "partnerAppType", n => { PartnerAppType = n.GetEnumValue(); } }, + { "partnerState", n => { PartnerState = n.GetEnumValue(); } }, + { "singleTenantAppId", n => { SingleTenantAppId = n.GetStringValue(); } }, + { "whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", n => { WhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime = n.GetDateTimeOffsetValue(); } }, + { "whenPartnerDevicesWillBeRemovedDateTime", n => { WhenPartnerDevicesWillBeRemovedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementPartnerAppType.cs b/src/generated/Models/DeviceManagementPartnerAppType.cs index f4de6f8ec0..603cc5c1e0 100644 --- a/src/generated/Models/DeviceManagementPartnerAppType.cs +++ b/src/generated/Models/DeviceManagementPartnerAppType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Partner App Type. public enum DeviceManagementPartnerAppType { diff --git a/src/generated/Models/DeviceManagementPartnerAssignment.cs b/src/generated/Models/DeviceManagementPartnerAssignment.cs index 5f49ee01ed..e7358bf2c8 100644 --- a/src/generated/Models/DeviceManagementPartnerAssignment.cs +++ b/src/generated/Models/DeviceManagementPartnerAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// User group targeting for Device Management Partner /// - public class DeviceManagementPartnerAssignment : IAdditionalDataHolder, IParsable + public class DeviceManagementPartnerAssignment : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -53,8 +54,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementPartnerCollectionResponse.cs b/src/generated/Models/DeviceManagementPartnerCollectionResponse.cs index 5ade0e17d8..f1aa9e0631 100644 --- a/src/generated/Models/DeviceManagementPartnerCollectionResponse.cs +++ b/src/generated/Models/DeviceManagementPartnerCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceManagementPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceManagementPartnerCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementPartner.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementPartnerTenantState.cs b/src/generated/Models/DeviceManagementPartnerTenantState.cs index a2979d2b1a..fffa48613c 100644 --- a/src/generated/Models/DeviceManagementPartnerTenantState.cs +++ b/src/generated/Models/DeviceManagementPartnerTenantState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Partner state of this tenant. public enum DeviceManagementPartnerTenantState { diff --git a/src/generated/Models/DeviceManagementReportFileFormat.cs b/src/generated/Models/DeviceManagementReportFileFormat.cs index c5bcea19c1..350cbdf8c6 100644 --- a/src/generated/Models/DeviceManagementReportFileFormat.cs +++ b/src/generated/Models/DeviceManagementReportFileFormat.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values for the file format of a report. public enum DeviceManagementReportFileFormat { diff --git a/src/generated/Models/DeviceManagementReportStatus.cs b/src/generated/Models/DeviceManagementReportStatus.cs index 907f667db3..01ed4048d5 100644 --- a/src/generated/Models/DeviceManagementReportStatus.cs +++ b/src/generated/Models/DeviceManagementReportStatus.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible statuses associated with a generated report. public enum DeviceManagementReportStatus { diff --git a/src/generated/Models/DeviceManagementReports.cs b/src/generated/Models/DeviceManagementReports.cs index 24b4488006..0ed427d65b 100644 --- a/src/generated/Models/DeviceManagementReports.cs +++ b/src/generated/Models/DeviceManagementReports.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Singleton entity that acts as a container for all reports functionality. /// - public class DeviceManagementReports : Entity, IParsable + public class DeviceManagementReports : Entity, IParsable { /// Entity representing a job to export a report #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"exportJobs", n => { ExportJobs = n.GetCollectionOfObjectValues(DeviceManagementExportJob.CreateFromDiscriminatorValue)?.ToList(); } }, + { "exportJobs", n => { ExportJobs = n.GetCollectionOfObjectValues(DeviceManagementExportJob.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementSettings.cs b/src/generated/Models/DeviceManagementSettings.cs index 22d46b2cf2..04231fba38 100644 --- a/src/generated/Models/DeviceManagementSettings.cs +++ b/src/generated/Models/DeviceManagementSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceManagementSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceManagementSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"deviceComplianceCheckinThresholdDays", n => { DeviceComplianceCheckinThresholdDays = n.GetIntValue(); } }, - {"isScheduledActionEnabled", n => { IsScheduledActionEnabled = n.GetBoolValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"secureByDefault", n => { SecureByDefault = n.GetBoolValue(); } }, + { "deviceComplianceCheckinThresholdDays", n => { DeviceComplianceCheckinThresholdDays = n.GetIntValue(); } }, + { "isScheduledActionEnabled", n => { IsScheduledActionEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "secureByDefault", n => { SecureByDefault = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementSubscriptionState.cs b/src/generated/Models/DeviceManagementSubscriptionState.cs index 777609105c..6ec81281a0 100644 --- a/src/generated/Models/DeviceManagementSubscriptionState.cs +++ b/src/generated/Models/DeviceManagementSubscriptionState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Tenant mobile device management subscription state. public enum DeviceManagementSubscriptionState { diff --git a/src/generated/Models/DeviceManagementTroubleshootingEvent.cs b/src/generated/Models/DeviceManagementTroubleshootingEvent.cs index 76ab9a3033..2ba401a2a6 100644 --- a/src/generated/Models/DeviceManagementTroubleshootingEvent.cs +++ b/src/generated/Models/DeviceManagementTroubleshootingEvent.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Event representing an general failure. /// - public class DeviceManagementTroubleshootingEvent : Entity, IParsable + public class DeviceManagementTroubleshootingEvent : Entity, IParsable { /// Id used for tracing the failure in the service. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"correlationId", n => { CorrelationId = n.GetStringValue(); } }, - {"eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceManagementTroubleshootingEventCollectionResponse.cs b/src/generated/Models/DeviceManagementTroubleshootingEventCollectionResponse.cs index f6184def12..9781c86be0 100644 --- a/src/generated/Models/DeviceManagementTroubleshootingEventCollectionResponse.cs +++ b/src/generated/Models/DeviceManagementTroubleshootingEventCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceManagementTroubleshootingEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceManagementTroubleshootingEventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DeviceOperatingSystemSummary.cs b/src/generated/Models/DeviceOperatingSystemSummary.cs index 38b6cc892c..88fc7a0221 100644 --- a/src/generated/Models/DeviceOperatingSystemSummary.cs +++ b/src/generated/Models/DeviceOperatingSystemSummary.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Device operating system summary. /// - public class DeviceOperatingSystemSummary : IAdditionalDataHolder, IParsable + public class DeviceOperatingSystemSummary : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -69,19 +70,19 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"androidCorporateWorkProfileCount", n => { AndroidCorporateWorkProfileCount = n.GetIntValue(); } }, - {"androidCount", n => { AndroidCount = n.GetIntValue(); } }, - {"androidDedicatedCount", n => { AndroidDedicatedCount = n.GetIntValue(); } }, - {"androidDeviceAdminCount", n => { AndroidDeviceAdminCount = n.GetIntValue(); } }, - {"androidFullyManagedCount", n => { AndroidFullyManagedCount = n.GetIntValue(); } }, - {"androidWorkProfileCount", n => { AndroidWorkProfileCount = n.GetIntValue(); } }, - {"configMgrDeviceCount", n => { ConfigMgrDeviceCount = n.GetIntValue(); } }, - {"iosCount", n => { IosCount = n.GetIntValue(); } }, - {"macOSCount", n => { MacOSCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"unknownCount", n => { UnknownCount = n.GetIntValue(); } }, - {"windowsCount", n => { WindowsCount = n.GetIntValue(); } }, - {"windowsMobileCount", n => { WindowsMobileCount = n.GetIntValue(); } }, + { "androidCorporateWorkProfileCount", n => { AndroidCorporateWorkProfileCount = n.GetIntValue(); } }, + { "androidCount", n => { AndroidCount = n.GetIntValue(); } }, + { "androidDedicatedCount", n => { AndroidDedicatedCount = n.GetIntValue(); } }, + { "androidDeviceAdminCount", n => { AndroidDeviceAdminCount = n.GetIntValue(); } }, + { "androidFullyManagedCount", n => { AndroidFullyManagedCount = n.GetIntValue(); } }, + { "androidWorkProfileCount", n => { AndroidWorkProfileCount = n.GetIntValue(); } }, + { "configMgrDeviceCount", n => { ConfigMgrDeviceCount = n.GetIntValue(); } }, + { "iosCount", n => { IosCount = n.GetIntValue(); } }, + { "macOSCount", n => { MacOSCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "unknownCount", n => { UnknownCount = n.GetIntValue(); } }, + { "windowsCount", n => { WindowsCount = n.GetIntValue(); } }, + { "windowsMobileCount", n => { WindowsMobileCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DevicePlatformType.cs b/src/generated/Models/DevicePlatformType.cs index 8d670cd996..4096107f3f 100644 --- a/src/generated/Models/DevicePlatformType.cs +++ b/src/generated/Models/DevicePlatformType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Supported platform types. public enum DevicePlatformType { diff --git a/src/generated/Models/DeviceProtectionOverview.cs b/src/generated/Models/DeviceProtectionOverview.cs index fa9ddfea2e..0ebe536b4d 100644 --- a/src/generated/Models/DeviceProtectionOverview.cs +++ b/src/generated/Models/DeviceProtectionOverview.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Hardware information of a given device. /// - public class DeviceProtectionOverview : IAdditionalDataHolder, IParsable + public class DeviceProtectionOverview : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -67,18 +68,18 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"cleanDeviceCount", n => { CleanDeviceCount = n.GetIntValue(); } }, - {"criticalFailuresDeviceCount", n => { CriticalFailuresDeviceCount = n.GetIntValue(); } }, - {"inactiveThreatAgentDeviceCount", n => { InactiveThreatAgentDeviceCount = n.GetIntValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"pendingFullScanDeviceCount", n => { PendingFullScanDeviceCount = n.GetIntValue(); } }, - {"pendingManualStepsDeviceCount", n => { PendingManualStepsDeviceCount = n.GetIntValue(); } }, - {"pendingOfflineScanDeviceCount", n => { PendingOfflineScanDeviceCount = n.GetIntValue(); } }, - {"pendingQuickScanDeviceCount", n => { PendingQuickScanDeviceCount = n.GetIntValue(); } }, - {"pendingRestartDeviceCount", n => { PendingRestartDeviceCount = n.GetIntValue(); } }, - {"pendingSignatureUpdateDeviceCount", n => { PendingSignatureUpdateDeviceCount = n.GetIntValue(); } }, - {"totalReportedDeviceCount", n => { TotalReportedDeviceCount = n.GetIntValue(); } }, - {"unknownStateThreatAgentDeviceCount", n => { UnknownStateThreatAgentDeviceCount = n.GetIntValue(); } }, + { "cleanDeviceCount", n => { CleanDeviceCount = n.GetIntValue(); } }, + { "criticalFailuresDeviceCount", n => { CriticalFailuresDeviceCount = n.GetIntValue(); } }, + { "inactiveThreatAgentDeviceCount", n => { InactiveThreatAgentDeviceCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pendingFullScanDeviceCount", n => { PendingFullScanDeviceCount = n.GetIntValue(); } }, + { "pendingManualStepsDeviceCount", n => { PendingManualStepsDeviceCount = n.GetIntValue(); } }, + { "pendingOfflineScanDeviceCount", n => { PendingOfflineScanDeviceCount = n.GetIntValue(); } }, + { "pendingQuickScanDeviceCount", n => { PendingQuickScanDeviceCount = n.GetIntValue(); } }, + { "pendingRestartDeviceCount", n => { PendingRestartDeviceCount = n.GetIntValue(); } }, + { "pendingSignatureUpdateDeviceCount", n => { PendingSignatureUpdateDeviceCount = n.GetIntValue(); } }, + { "totalReportedDeviceCount", n => { TotalReportedDeviceCount = n.GetIntValue(); } }, + { "unknownStateThreatAgentDeviceCount", n => { UnknownStateThreatAgentDeviceCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceRegistrationMembership.cs b/src/generated/Models/DeviceRegistrationMembership.cs index 6170f648a9..027cd0fa1a 100644 --- a/src/generated/Models/DeviceRegistrationMembership.cs +++ b/src/generated/Models/DeviceRegistrationMembership.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceRegistrationMembership : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceRegistrationMembership : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -49,7 +52,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceRegistrationPolicy.cs b/src/generated/Models/DeviceRegistrationPolicy.cs index e464515c5c..3a4ba8956f 100644 --- a/src/generated/Models/DeviceRegistrationPolicy.cs +++ b/src/generated/Models/DeviceRegistrationPolicy.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DeviceRegistrationPolicy : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DeviceRegistrationPolicy : Entity, IParsable + #pragma warning restore CS1591 { /// The azureADJoin property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -69,13 +72,13 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"azureADJoin", n => { AzureADJoin = n.GetObjectValue(AzureADJoinPolicy.CreateFromDiscriminatorValue); } }, - {"azureADRegistration", n => { AzureADRegistration = n.GetObjectValue(AzureADRegistrationPolicy.CreateFromDiscriminatorValue); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"localAdminPassword", n => { LocalAdminPassword = n.GetObjectValue(LocalAdminPasswordSettings.CreateFromDiscriminatorValue); } }, - {"multiFactorAuthConfiguration", n => { MultiFactorAuthConfiguration = n.GetEnumValue(); } }, - {"userDeviceQuota", n => { UserDeviceQuota = n.GetIntValue(); } }, + { "azureADJoin", n => { AzureADJoin = n.GetObjectValue(AzureADJoinPolicy.CreateFromDiscriminatorValue); } }, + { "azureADRegistration", n => { AzureADRegistration = n.GetObjectValue(AzureADRegistrationPolicy.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "localAdminPassword", n => { LocalAdminPassword = n.GetObjectValue(LocalAdminPasswordSettings.CreateFromDiscriminatorValue); } }, + { "multiFactorAuthConfiguration", n => { MultiFactorAuthConfiguration = n.GetEnumValue(); } }, + { "userDeviceQuota", n => { UserDeviceQuota = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DeviceRegistrationState.cs b/src/generated/Models/DeviceRegistrationState.cs index 74da620886..f32eb2e0ae 100644 --- a/src/generated/Models/DeviceRegistrationState.cs +++ b/src/generated/Models/DeviceRegistrationState.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Device registration status. public enum DeviceRegistrationState { diff --git a/src/generated/Models/DeviceThreatProtectionLevel.cs b/src/generated/Models/DeviceThreatProtectionLevel.cs index b8b77f26fc..b94ebb56a5 100644 --- a/src/generated/Models/DeviceThreatProtectionLevel.cs +++ b/src/generated/Models/DeviceThreatProtectionLevel.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Device threat protection levels for the Device Threat Protection API. public enum DeviceThreatProtectionLevel { diff --git a/src/generated/Models/DiagnosticDataSubmissionMode.cs b/src/generated/Models/DiagnosticDataSubmissionMode.cs index b95b82b3bb..250a42d037 100644 --- a/src/generated/Models/DiagnosticDataSubmissionMode.cs +++ b/src/generated/Models/DiagnosticDataSubmissionMode.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Allow the device to send diagnostic and usage telemetry data, such as Watson. public enum DiagnosticDataSubmissionMode { diff --git a/src/generated/Models/Dictionary.cs b/src/generated/Models/Dictionary.cs index 2a28ceca19..281e84f144 100644 --- a/src/generated/Models/Dictionary.cs +++ b/src/generated/Models/Dictionary.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Dictionary : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Dictionary : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DirectoryAudit.cs b/src/generated/Models/DirectoryAudit.cs index b2e5e98ed0..d8bc1a64f7 100644 --- a/src/generated/Models/DirectoryAudit.cs +++ b/src/generated/Models/DirectoryAudit.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryAudit : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryAudit : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and $orderby. public DateTimeOffset? ActivityDateTime { get; set; } @@ -101,17 +104,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, - {"activityDisplayName", n => { ActivityDisplayName = n.GetStringValue(); } }, - {"additionalDetails", n => { AdditionalDetails = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, - {"category", n => { Category = n.GetStringValue(); } }, - {"correlationId", n => { CorrelationId = n.GetStringValue(); } }, - {"initiatedBy", n => { InitiatedBy = n.GetObjectValue(AuditActivityInitiator.CreateFromDiscriminatorValue); } }, - {"loggedByService", n => { LoggedByService = n.GetStringValue(); } }, - {"operationType", n => { OperationType = n.GetStringValue(); } }, - {"result", n => { Result = n.GetEnumValue(); } }, - {"resultReason", n => { ResultReason = n.GetStringValue(); } }, - {"targetResources", n => { TargetResources = n.GetCollectionOfObjectValues(TargetResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activityDateTime", n => { ActivityDateTime = n.GetDateTimeOffsetValue(); } }, + { "activityDisplayName", n => { ActivityDisplayName = n.GetStringValue(); } }, + { "additionalDetails", n => { AdditionalDetails = n.GetCollectionOfObjectValues(KeyValue.CreateFromDiscriminatorValue)?.ToList(); } }, + { "category", n => { Category = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "initiatedBy", n => { InitiatedBy = n.GetObjectValue(AuditActivityInitiator.CreateFromDiscriminatorValue); } }, + { "loggedByService", n => { LoggedByService = n.GetStringValue(); } }, + { "operationType", n => { OperationType = n.GetStringValue(); } }, + { "result", n => { Result = n.GetEnumValue(); } }, + { "resultReason", n => { ResultReason = n.GetStringValue(); } }, + { "targetResources", n => { TargetResources = n.GetCollectionOfObjectValues(TargetResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryAuditCollectionResponse.cs b/src/generated/Models/DirectoryAuditCollectionResponse.cs index 67dbc72ffc..e03ea8d69c 100644 --- a/src/generated/Models/DirectoryAuditCollectionResponse.cs +++ b/src/generated/Models/DirectoryAuditCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryAuditCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryAuditCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryAudit.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryAudit.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryDefinition.cs b/src/generated/Models/DirectoryDefinition.cs index f714c6741d..6f2b7e3c10 100644 --- a/src/generated/Models/DirectoryDefinition.cs +++ b/src/generated/Models/DirectoryDefinition.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryDefinition : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryDefinition : Entity, IParsable + #pragma warning restore CS1591 { /// The discoverabilities property public DirectoryDefinitionDiscoverabilities? Discoverabilities { get; set; } @@ -55,12 +58,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"discoverabilities", n => { Discoverabilities = n.GetEnumValue(); } }, - {"discoveryDateTime", n => { DiscoveryDateTime = n.GetDateTimeOffsetValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"objects", n => { Objects = n.GetCollectionOfObjectValues(ObjectDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"readOnly", n => { ReadOnly = n.GetBoolValue(); } }, - {"version", n => { Version = n.GetStringValue(); } }, + { "discoverabilities", n => { Discoverabilities = n.GetEnumValue(); } }, + { "discoveryDateTime", n => { DiscoveryDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "objects", n => { Objects = n.GetCollectionOfObjectValues(ObjectDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "readOnly", n => { ReadOnly = n.GetBoolValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DirectoryDefinitionCollectionResponse.cs b/src/generated/Models/DirectoryDefinitionCollectionResponse.cs index 4591c161a2..fcc104f23e 100644 --- a/src/generated/Models/DirectoryDefinitionCollectionResponse.cs +++ b/src/generated/Models/DirectoryDefinitionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryDefinitionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryDefinitionDiscoverabilities.cs b/src/generated/Models/DirectoryDefinitionDiscoverabilities.cs index 6bb278eb35..4f3cbcda4c 100644 --- a/src/generated/Models/DirectoryDefinitionDiscoverabilities.cs +++ b/src/generated/Models/DirectoryDefinitionDiscoverabilities.cs @@ -1,21 +1,36 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ [Flags] + #pragma warning disable CS1591 public enum DirectoryDefinitionDiscoverabilities + #pragma warning restore CS1591 { [EnumMember(Value = "None")] + #pragma warning disable CS1591 None = 1, + #pragma warning restore CS1591 [EnumMember(Value = "AttributeNames")] + #pragma warning disable CS1591 AttributeNames = 2, + #pragma warning restore CS1591 [EnumMember(Value = "AttributeDataTypes")] + #pragma warning disable CS1591 AttributeDataTypes = 4, + #pragma warning restore CS1591 [EnumMember(Value = "AttributeReadOnly")] + #pragma warning disable CS1591 AttributeReadOnly = 8, + #pragma warning restore CS1591 [EnumMember(Value = "ReferenceAttributes")] + #pragma warning disable CS1591 ReferenceAttributes = 16, + #pragma warning restore CS1591 [EnumMember(Value = "UnknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue = 32, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DirectoryObject.cs b/src/generated/Models/DirectoryObject.cs index 3c13dde7bc..0c685f3e37 100644 --- a/src/generated/Models/DirectoryObject.cs +++ b/src/generated/Models/DirectoryObject.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryObject : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryObject : Entity, IParsable + #pragma warning restore CS1591 { /// Date and time when this object was deleted. Always null when the object hasn't been deleted. public DateTimeOffset? DeletedDateTime { get; set; } @@ -39,6 +42,7 @@ public class DirectoryObject : Entity, IParsable "#microsoft.graph.groupSettingTemplate" => new GroupSettingTemplate(), "#microsoft.graph.homeRealmDiscoveryPolicy" => new HomeRealmDiscoveryPolicy(), "#microsoft.graph.identitySecurityDefaultsEnforcementPolicy" => new IdentitySecurityDefaultsEnforcementPolicy(), + "#microsoft.graph.multiTenantOrganizationMember" => new MultiTenantOrganizationMember(), "#microsoft.graph.organization" => new Organization(), "#microsoft.graph.orgContact" => new OrgContact(), "#microsoft.graph.permissionGrantPolicy" => new PermissionGrantPolicy(), @@ -61,7 +65,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/DirectoryObject1.cs b/src/generated/Models/DirectoryObject1.cs index 6bcde4a667..728815be17 100644 --- a/src/generated/Models/DirectoryObject1.cs +++ b/src/generated/Models/DirectoryObject1.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryObject1 : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryObject1 : Entity, IParsable + #pragma warning restore CS1591 { /// Conceptual container for user and group directory objects. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -62,6 +65,14 @@ public class DirectoryObject1 : Entity, IParsable #nullable restore #else public List OnPremisesSynchronization { get; set; } +#endif + /// The subscriptions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subscriptions { get; set; } +#nullable restore +#else + public List Subscriptions { get; set; } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -81,13 +92,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"administrativeUnits", n => { AdministrativeUnits = n.GetCollectionOfObjectValues(AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, - {"attributeSets", n => { AttributeSets = n.GetCollectionOfObjectValues(AttributeSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"customSecurityAttributeDefinitions", n => { CustomSecurityAttributeDefinitions = n.GetCollectionOfObjectValues(CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deletedItems", n => { DeletedItems = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"deviceLocalCredentials", n => { DeviceLocalCredentials = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"federationConfigurations", n => { FederationConfigurations = n.GetCollectionOfObjectValues(IdentityProviderBase.CreateFromDiscriminatorValue)?.ToList(); } }, - {"onPremisesSynchronization", n => { OnPremisesSynchronization = n.GetCollectionOfObjectValues(OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "administrativeUnits", n => { AdministrativeUnits = n.GetCollectionOfObjectValues(AdministrativeUnit.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributeSets", n => { AttributeSets = n.GetCollectionOfObjectValues(AttributeSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "customSecurityAttributeDefinitions", n => { CustomSecurityAttributeDefinitions = n.GetCollectionOfObjectValues(CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deletedItems", n => { DeletedItems = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "deviceLocalCredentials", n => { DeviceLocalCredentials = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "federationConfigurations", n => { FederationConfigurations = n.GetCollectionOfObjectValues(IdentityProviderBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "onPremisesSynchronization", n => { OnPremisesSynchronization = n.GetCollectionOfObjectValues(OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(CompanySubscription.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -105,6 +117,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("deviceLocalCredentials", DeviceLocalCredentials); writer.WriteCollectionOfObjectValues("federationConfigurations", FederationConfigurations); writer.WriteCollectionOfObjectValues("onPremisesSynchronization", OnPremisesSynchronization); + writer.WriteCollectionOfObjectValues("subscriptions", Subscriptions); } } } diff --git a/src/generated/Models/DirectoryObjectCollectionResponse.cs b/src/generated/Models/DirectoryObjectCollectionResponse.cs index 70a9aa5b59..629bce7c9e 100644 --- a/src/generated/Models/DirectoryObjectCollectionResponse.cs +++ b/src/generated/Models/DirectoryObjectCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryObjectCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryObjectCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryObjectPartnerReference.cs b/src/generated/Models/DirectoryObjectPartnerReference.cs index c0e72a551d..54b611bf66 100644 --- a/src/generated/Models/DirectoryObjectPartnerReference.cs +++ b/src/generated/Models/DirectoryObjectPartnerReference.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryObjectPartnerReference : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryObjectPartnerReference : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// Description of the object returned. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -58,10 +61,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalPartnerTenantId", n => { ExternalPartnerTenantId = n.GetGuidValue(); } }, - {"objectType", n => { ObjectType = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalPartnerTenantId", n => { ExternalPartnerTenantId = n.GetGuidValue(); } }, + { "objectType", n => { ObjectType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DirectoryRole.cs b/src/generated/Models/DirectoryRole.cs index e06c2ad137..fced17b084 100644 --- a/src/generated/Models/DirectoryRole.cs +++ b/src/generated/Models/DirectoryRole.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryRole : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryRole : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// The description for the directory role. Read-only. Supports $filter (eq), $search, $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -72,11 +75,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roleTemplateId", n => { RoleTemplateId = n.GetStringValue(); } }, - {"scopedMembers", n => { ScopedMembers = n.GetCollectionOfObjectValues(ScopedRoleMembership.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roleTemplateId", n => { RoleTemplateId = n.GetStringValue(); } }, + { "scopedMembers", n => { ScopedMembers = n.GetCollectionOfObjectValues(ScopedRoleMembership.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryRoleCollectionResponse.cs b/src/generated/Models/DirectoryRoleCollectionResponse.cs index 3016541ef0..8944ef2700 100644 --- a/src/generated/Models/DirectoryRoleCollectionResponse.cs +++ b/src/generated/Models/DirectoryRoleCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryRoleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryRoleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRole.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRole.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DirectoryRoleTemplate.cs b/src/generated/Models/DirectoryRoleTemplate.cs index 8c818bd6e0..793e545ec5 100644 --- a/src/generated/Models/DirectoryRoleTemplate.cs +++ b/src/generated/Models/DirectoryRoleTemplate.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryRoleTemplate : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryRoleTemplate : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// The description to set for the directory role. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DirectoryRoleTemplateCollectionResponse.cs b/src/generated/Models/DirectoryRoleTemplateCollectionResponse.cs index f6b283cd0d..2e65f11e88 100644 --- a/src/generated/Models/DirectoryRoleTemplateCollectionResponse.cs +++ b/src/generated/Models/DirectoryRoleTemplateCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DirectoryRoleTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DirectoryRoleTemplateCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRoleTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DirectoryRoleTemplate.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DisableAndDeleteUserApplyAction.cs b/src/generated/Models/DisableAndDeleteUserApplyAction.cs index e02abcbc31..62255f8677 100644 --- a/src/generated/Models/DisableAndDeleteUserApplyAction.cs +++ b/src/generated/Models/DisableAndDeleteUserApplyAction.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DisableAndDeleteUserApplyAction : AccessReviewApplyAction, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DisableAndDeleteUserApplyAction : AccessReviewApplyAction, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/DiskType.cs b/src/generated/Models/DiskType.cs index 0e58d9bb95..acdf60191c 100644 --- a/src/generated/Models/DiskType.cs +++ b/src/generated/Models/DiskType.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DiskType + #pragma warning restore CS1591 { /// Enum member for unknown or default diskType. [EnumMember(Value = "unknown")] diff --git a/src/generated/Models/DisplayNameLocalization.cs b/src/generated/Models/DisplayNameLocalization.cs index 5dae1ffab2..7c66ff77ea 100644 --- a/src/generated/Models/DisplayNameLocalization.cs +++ b/src/generated/Models/DisplayNameLocalization.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DisplayNameLocalization : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DisplayNameLocalization : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"languageTag", n => { LanguageTag = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DocumentSet.cs b/src/generated/Models/DocumentSet.cs index 5d010e6020..b786afffd1 100644 --- a/src/generated/Models/DocumentSet.cs +++ b/src/generated/Models/DocumentSet.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DocumentSet : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DocumentSet : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -86,14 +89,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedContentTypes", n => { AllowedContentTypes = n.GetCollectionOfObjectValues(ContentTypeInfo.CreateFromDiscriminatorValue)?.ToList(); } }, - {"defaultContents", n => { DefaultContents = n.GetCollectionOfObjectValues(DocumentSetContent.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"propagateWelcomePageChanges", n => { PropagateWelcomePageChanges = n.GetBoolValue(); } }, - {"sharedColumns", n => { SharedColumns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"shouldPrefixNameToFile", n => { ShouldPrefixNameToFile = n.GetBoolValue(); } }, - {"welcomePageColumns", n => { WelcomePageColumns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, - {"welcomePageUrl", n => { WelcomePageUrl = n.GetStringValue(); } }, + { "allowedContentTypes", n => { AllowedContentTypes = n.GetCollectionOfObjectValues(ContentTypeInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + { "defaultContents", n => { DefaultContents = n.GetCollectionOfObjectValues(DocumentSetContent.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "propagateWelcomePageChanges", n => { PropagateWelcomePageChanges = n.GetBoolValue(); } }, + { "sharedColumns", n => { SharedColumns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "shouldPrefixNameToFile", n => { ShouldPrefixNameToFile = n.GetBoolValue(); } }, + { "welcomePageColumns", n => { WelcomePageColumns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + { "welcomePageUrl", n => { WelcomePageUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DocumentSetContent.cs b/src/generated/Models/DocumentSetContent.cs index 46e73ee662..002f82a7d5 100644 --- a/src/generated/Models/DocumentSetContent.cs +++ b/src/generated/Models/DocumentSetContent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DocumentSetContent : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DocumentSetContent : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"contentType", n => { ContentType = n.GetObjectValue(ContentTypeInfo.CreateFromDiscriminatorValue); } }, - {"fileName", n => { FileName = n.GetStringValue(); } }, - {"folderName", n => { FolderName = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetObjectValue(ContentTypeInfo.CreateFromDiscriminatorValue); } }, + { "fileName", n => { FileName = n.GetStringValue(); } }, + { "folderName", n => { FolderName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DocumentSetVersion.cs b/src/generated/Models/DocumentSetVersion.cs index a2cde27f8d..7eef3c262a 100644 --- a/src/generated/Models/DocumentSetVersion.cs +++ b/src/generated/Models/DocumentSetVersion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DocumentSetVersion : ListItemVersion, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DocumentSetVersion : ListItemVersion, IParsable + #pragma warning restore CS1591 { /// Comment about the captured version. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -60,11 +63,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"comment", n => { Comment = n.GetStringValue(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"items", n => { Items = n.GetCollectionOfObjectValues(DocumentSetVersionItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"shouldCaptureMinorVersion", n => { ShouldCaptureMinorVersion = n.GetBoolValue(); } }, + { "comment", n => { Comment = n.GetStringValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "items", n => { Items = n.GetCollectionOfObjectValues(DocumentSetVersionItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "shouldCaptureMinorVersion", n => { ShouldCaptureMinorVersion = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/DocumentSetVersionCollectionResponse.cs b/src/generated/Models/DocumentSetVersionCollectionResponse.cs index dec8227455..ef42067310 100644 --- a/src/generated/Models/DocumentSetVersionCollectionResponse.cs +++ b/src/generated/Models/DocumentSetVersionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DocumentSetVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DocumentSetVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DocumentSetVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DocumentSetVersion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DocumentSetVersionItem.cs b/src/generated/Models/DocumentSetVersionItem.cs index 2b9d6d9c10..c833682398 100644 --- a/src/generated/Models/DocumentSetVersionItem.cs +++ b/src/generated/Models/DocumentSetVersionItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DocumentSetVersionItem : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DocumentSetVersionItem : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"itemId", n => { ItemId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"title", n => { Title = n.GetStringValue(); } }, - {"versionId", n => { VersionId = n.GetStringValue(); } }, + { "itemId", n => { ItemId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + { "versionId", n => { VersionId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Domain.cs b/src/generated/Models/Domain.cs index cec4bfb3a7..5e35830c88 100644 --- a/src/generated/Models/Domain.cs +++ b/src/generated/Models/Domain.cs @@ -4,10 +4,13 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Domain : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Domain : Entity, IParsable + #pragma warning restore CS1591 { - /// Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. + /// Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Directory.AccessAsUser.All delegated permission. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AuthenticationType { get; set; } @@ -23,7 +26,7 @@ public class Domain : Entity, IParsable #else public string AvailabilityStatus { get; set; } #endif - /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DomainNameReferences { get; set; } @@ -39,11 +42,11 @@ public class Domain : Entity, IParsable #else public List FederationConfiguration { get; set; } #endif - /// The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable + /// The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable public bool? IsAdminManaged { get; set; } - /// true if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + /// true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable public bool? IsDefault { get; set; } - /// true if this is the initial domain created by Microsoft Online Services (contoso.com). There is only one initial domain per company. Not nullable + /// true if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable public bool? IsInitial { get; set; } /// true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable public bool? IsRoot { get; set; } @@ -65,9 +68,9 @@ public class Domain : Entity, IParsable #else public string Model { get; set; } #endif - /// Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. + /// Specifies the number of days before a user receives notification that their password will expire. If the property isn't set, a default value of 14 days is used. public int? PasswordNotificationWindowInDays { get; set; } - /// Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. + /// Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used. public int? PasswordValidityPeriodInDays { get; set; } /// DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,7 +88,7 @@ public class Domain : Entity, IParsable #else public DomainState State { get; set; } #endif - /// The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. + /// The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SupportedServices { get; set; } @@ -119,23 +122,23 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"authenticationType", n => { AuthenticationType = n.GetStringValue(); } }, - {"availabilityStatus", n => { AvailabilityStatus = n.GetStringValue(); } }, - {"domainNameReferences", n => { DomainNameReferences = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, - {"federationConfiguration", n => { FederationConfiguration = n.GetCollectionOfObjectValues(InternalDomainFederation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isAdminManaged", n => { IsAdminManaged = n.GetBoolValue(); } }, - {"isDefault", n => { IsDefault = n.GetBoolValue(); } }, - {"isInitial", n => { IsInitial = n.GetBoolValue(); } }, - {"isRoot", n => { IsRoot = n.GetBoolValue(); } }, - {"isVerified", n => { IsVerified = n.GetBoolValue(); } }, - {"manufacturer", n => { Manufacturer = n.GetStringValue(); } }, - {"model", n => { Model = n.GetStringValue(); } }, - {"passwordNotificationWindowInDays", n => { PasswordNotificationWindowInDays = n.GetIntValue(); } }, - {"passwordValidityPeriodInDays", n => { PasswordValidityPeriodInDays = n.GetIntValue(); } }, - {"serviceConfigurationRecords", n => { ServiceConfigurationRecords = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, - {"state", n => { State = n.GetObjectValue(DomainState.CreateFromDiscriminatorValue); } }, - {"supportedServices", n => { SupportedServices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"verificationDnsRecords", n => { VerificationDnsRecords = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "authenticationType", n => { AuthenticationType = n.GetStringValue(); } }, + { "availabilityStatus", n => { AvailabilityStatus = n.GetStringValue(); } }, + { "domainNameReferences", n => { DomainNameReferences = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + { "federationConfiguration", n => { FederationConfiguration = n.GetCollectionOfObjectValues(InternalDomainFederation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isAdminManaged", n => { IsAdminManaged = n.GetBoolValue(); } }, + { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, + { "isInitial", n => { IsInitial = n.GetBoolValue(); } }, + { "isRoot", n => { IsRoot = n.GetBoolValue(); } }, + { "isVerified", n => { IsVerified = n.GetBoolValue(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "model", n => { Model = n.GetStringValue(); } }, + { "passwordNotificationWindowInDays", n => { PasswordNotificationWindowInDays = n.GetIntValue(); } }, + { "passwordValidityPeriodInDays", n => { PasswordValidityPeriodInDays = n.GetIntValue(); } }, + { "serviceConfigurationRecords", n => { ServiceConfigurationRecords = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "state", n => { State = n.GetObjectValue(DomainState.CreateFromDiscriminatorValue); } }, + { "supportedServices", n => { SupportedServices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "verificationDnsRecords", n => { VerificationDnsRecords = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DomainCollectionResponse.cs b/src/generated/Models/DomainCollectionResponse.cs index 1021ec4a1c..b0b6799702 100644 --- a/src/generated/Models/DomainCollectionResponse.cs +++ b/src/generated/Models/DomainCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Domain.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Domain.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsCnameRecord.cs b/src/generated/Models/DomainDnsCnameRecord.cs index b3014e8ebf..a4534937ed 100644 --- a/src/generated/Models/DomainDnsCnameRecord.cs +++ b/src/generated/Models/DomainDnsCnameRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsCnameRecord : DomainDnsRecord, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsCnameRecord : DomainDnsRecord, IParsable + #pragma warning restore CS1591 { /// The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"canonicalName", n => { CanonicalName = n.GetStringValue(); } }, + { "canonicalName", n => { CanonicalName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsMxRecord.cs b/src/generated/Models/DomainDnsMxRecord.cs index d9f2f62d6e..d0aec80aa9 100644 --- a/src/generated/Models/DomainDnsMxRecord.cs +++ b/src/generated/Models/DomainDnsMxRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsMxRecord : DomainDnsRecord, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsMxRecord : DomainDnsRecord, IParsable + #pragma warning restore CS1591 { /// Value used when configuring the answer/destination/value of the MX record at the DNS host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"mailExchange", n => { MailExchange = n.GetStringValue(); } }, - {"preference", n => { Preference = n.GetIntValue(); } }, + { "mailExchange", n => { MailExchange = n.GetStringValue(); } }, + { "preference", n => { Preference = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsRecord.cs b/src/generated/Models/DomainDnsRecord.cs index d5f45d8414..e83d155b7c 100644 --- a/src/generated/Models/DomainDnsRecord.cs +++ b/src/generated/Models/DomainDnsRecord.cs @@ -4,10 +4,13 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsRecord : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsRecord : Entity, IParsable + #pragma warning restore CS1591 { - /// If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain. + /// If false, the customer must configure this record at the DNS host for Microsoft Online Services to operate correctly with the domain. public bool? IsOptional { get; set; } /// Value used when configuring the name of the DNS record at the DNS host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -62,11 +65,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"isOptional", n => { IsOptional = n.GetBoolValue(); } }, - {"label", n => { Label = n.GetStringValue(); } }, - {"recordType", n => { RecordType = n.GetStringValue(); } }, - {"supportedService", n => { SupportedService = n.GetStringValue(); } }, - {"ttl", n => { Ttl = n.GetIntValue(); } }, + { "isOptional", n => { IsOptional = n.GetBoolValue(); } }, + { "label", n => { Label = n.GetStringValue(); } }, + { "recordType", n => { RecordType = n.GetStringValue(); } }, + { "supportedService", n => { SupportedService = n.GetStringValue(); } }, + { "ttl", n => { Ttl = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsRecordCollectionResponse.cs b/src/generated/Models/DomainDnsRecordCollectionResponse.cs index 9c66379931..4115768e3a 100644 --- a/src/generated/Models/DomainDnsRecordCollectionResponse.cs +++ b/src/generated/Models/DomainDnsRecordCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsRecordCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsRecordCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DomainDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsSrvRecord.cs b/src/generated/Models/DomainDnsSrvRecord.cs index 7800172a70..7c5465c8a6 100644 --- a/src/generated/Models/DomainDnsSrvRecord.cs +++ b/src/generated/Models/DomainDnsSrvRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsSrvRecord : DomainDnsRecord, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsSrvRecord : DomainDnsRecord, IParsable + #pragma warning restore CS1591 { /// Value to use when configuring the Target property of the SRV record at the DNS host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -55,12 +58,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"nameTarget", n => { NameTarget = n.GetStringValue(); } }, - {"port", n => { Port = n.GetIntValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"service", n => { Service = n.GetStringValue(); } }, - {"weight", n => { Weight = n.GetIntValue(); } }, + { "nameTarget", n => { NameTarget = n.GetStringValue(); } }, + { "port", n => { Port = n.GetIntValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "service", n => { Service = n.GetStringValue(); } }, + { "weight", n => { Weight = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsTxtRecord.cs b/src/generated/Models/DomainDnsTxtRecord.cs index 8f65c93787..8ee7badf9f 100644 --- a/src/generated/Models/DomainDnsTxtRecord.cs +++ b/src/generated/Models/DomainDnsTxtRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsTxtRecord : DomainDnsRecord, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsTxtRecord : DomainDnsRecord, IParsable + #pragma warning restore CS1591 { /// Value used when configuring the text property at the DNS host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"text", n => { Text = n.GetStringValue(); } }, + { "text", n => { Text = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DomainDnsUnavailableRecord.cs b/src/generated/Models/DomainDnsUnavailableRecord.cs index 3ab55ae33e..50efeadfee 100644 --- a/src/generated/Models/DomainDnsUnavailableRecord.cs +++ b/src/generated/Models/DomainDnsUnavailableRecord.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainDnsUnavailableRecord : DomainDnsRecord, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainDnsUnavailableRecord : DomainDnsRecord, IParsable + #pragma warning restore CS1591 { /// Provides the reason why the DomainDnsUnavailableRecord entity is returned. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DomainIdentitySource.cs b/src/generated/Models/DomainIdentitySource.cs index 4b072bc8a9..c6816aecf4 100644 --- a/src/generated/Models/DomainIdentitySource.cs +++ b/src/generated/Models/DomainIdentitySource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainIdentitySource : IdentitySource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainIdentitySource : IdentitySource, IParsable + #pragma warning restore CS1591 { /// The name of the identity source, typically also the domain name. Read only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"domainName", n => { DomainName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domainName", n => { DomainName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DomainState.cs b/src/generated/Models/DomainState.cs index cf87d2fedb..7362f65ed8 100644 --- a/src/generated/Models/DomainState.cs +++ b/src/generated/Models/DomainState.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DomainState : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DomainState : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -19,7 +22,7 @@ public class DomainState : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// Type of asynchronous operation. The values can be ForceDelete or Verification + /// Type of asynchronous operation. The values can be ForceDelete or Verification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Operation { get; set; } @@ -27,7 +30,7 @@ public class DomainState : IAdditionalDataHolder, IParsable #else public string Operation { get; set; } #endif - /// Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + /// Current status of the operation. Scheduled - Operation is scheduled but hasn't started. InProgress - Task is in progress. Failed - The operation failed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Status { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"operation", n => { Operation = n.GetStringValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, + { "lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operation", n => { Operation = n.GetStringValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Drive.cs b/src/generated/Models/Drive.cs index 304dcafb48..1276fc8188 100644 --- a/src/generated/Models/Drive.cs +++ b/src/generated/Models/Drive.cs @@ -4,10 +4,13 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Drive : BaseItem, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Drive : BaseItem, IParsable + #pragma warning restore CS1591 { - /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + /// Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Bundles { get; set; } @@ -120,17 +123,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"bundles", n => { Bundles = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"driveType", n => { DriveType = n.GetStringValue(); } }, - {"following", n => { Following = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"items", n => { Items = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"list", n => { List = n.GetObjectValue(ApiSdk.Models.List.CreateFromDiscriminatorValue); } }, - {"owner", n => { Owner = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"quota", n => { Quota = n.GetObjectValue(ApiSdk.Models.Quota.CreateFromDiscriminatorValue); } }, - {"root", n => { Root = n.GetObjectValue(DriveItem.CreateFromDiscriminatorValue); } }, - {"sharePointIds", n => { SharePointIds = n.GetObjectValue(ApiSdk.Models.SharepointIds.CreateFromDiscriminatorValue); } }, - {"special", n => { Special = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"system", n => { System = n.GetObjectValue(SystemFacet.CreateFromDiscriminatorValue); } }, + { "bundles", n => { Bundles = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "driveType", n => { DriveType = n.GetStringValue(); } }, + { "following", n => { Following = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "items", n => { Items = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "list", n => { List = n.GetObjectValue(ApiSdk.Models.List.CreateFromDiscriminatorValue); } }, + { "owner", n => { Owner = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "quota", n => { Quota = n.GetObjectValue(ApiSdk.Models.Quota.CreateFromDiscriminatorValue); } }, + { "root", n => { Root = n.GetObjectValue(DriveItem.CreateFromDiscriminatorValue); } }, + { "sharePointIds", n => { SharePointIds = n.GetObjectValue(ApiSdk.Models.SharepointIds.CreateFromDiscriminatorValue); } }, + { "special", n => { Special = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "system", n => { System = n.GetObjectValue(SystemFacet.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DriveCollectionResponse.cs b/src/generated/Models/DriveCollectionResponse.cs index fbd847ec08..c5c978dd2f 100644 --- a/src/generated/Models/DriveCollectionResponse.cs +++ b/src/generated/Models/DriveCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Drive.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Drive.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DriveItem.cs b/src/generated/Models/DriveItem.cs index 4f5f16e60b..50c891db34 100644 --- a/src/generated/Models/DriveItem.cs +++ b/src/generated/Models/DriveItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItem : BaseItem, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItem : BaseItem, IParsable + #pragma warning restore CS1591 { /// Analytics about the view activities that took place on this item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -225,7 +228,7 @@ public class DriveItem : BaseItem, IParsable #else public List Subscriptions { get; set; } #endif - /// Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. + /// Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Thumbnails { get; set; } @@ -233,7 +236,7 @@ public class DriveItem : BaseItem, IParsable #else public List Thumbnails { get; set; } #endif - /// The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + /// The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Versions { get; set; } @@ -290,39 +293,39 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"analytics", n => { Analytics = n.GetObjectValue(ItemAnalytics.CreateFromDiscriminatorValue); } }, - {"audio", n => { Audio = n.GetObjectValue(ApiSdk.Models.Audio.CreateFromDiscriminatorValue); } }, - {"bundle", n => { Bundle = n.GetObjectValue(ApiSdk.Models.Bundle.CreateFromDiscriminatorValue); } }, - {"cTag", n => { CTag = n.GetStringValue(); } }, - {"children", n => { Children = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"deleted", n => { Deleted = n.GetObjectValue(ApiSdk.Models.Deleted.CreateFromDiscriminatorValue); } }, - {"file", n => { File = n.GetObjectValue(FileObject.CreateFromDiscriminatorValue); } }, - {"fileSystemInfo", n => { FileSystemInfo = n.GetObjectValue(ApiSdk.Models.FileSystemInfo.CreateFromDiscriminatorValue); } }, - {"folder", n => { Folder = n.GetObjectValue(ApiSdk.Models.Folder.CreateFromDiscriminatorValue); } }, - {"image", n => { Image = n.GetObjectValue(ApiSdk.Models.Image.CreateFromDiscriminatorValue); } }, - {"listItem", n => { ListItem = n.GetObjectValue(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue); } }, - {"location", n => { Location = n.GetObjectValue(GeoCoordinates.CreateFromDiscriminatorValue); } }, - {"malware", n => { Malware = n.GetObjectValue(ApiSdk.Models.Malware.CreateFromDiscriminatorValue); } }, - {"package", n => { Package = n.GetObjectValue(ApiSdk.Models.Package.CreateFromDiscriminatorValue); } }, - {"pendingOperations", n => { PendingOperations = n.GetObjectValue(ApiSdk.Models.PendingOperations.CreateFromDiscriminatorValue); } }, - {"permissions", n => { Permissions = n.GetCollectionOfObjectValues(Permission.CreateFromDiscriminatorValue)?.ToList(); } }, - {"photo", n => { Photo = n.GetObjectValue(ApiSdk.Models.Photo.CreateFromDiscriminatorValue); } }, - {"publication", n => { Publication = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, - {"remoteItem", n => { RemoteItem = n.GetObjectValue(ApiSdk.Models.RemoteItem.CreateFromDiscriminatorValue); } }, - {"retentionLabel", n => { RetentionLabel = n.GetObjectValue(ItemRetentionLabel.CreateFromDiscriminatorValue); } }, - {"root", n => { Root = n.GetObjectValue(ApiSdk.Models.Root.CreateFromDiscriminatorValue); } }, - {"searchResult", n => { SearchResult = n.GetObjectValue(ApiSdk.Models.SearchResult.CreateFromDiscriminatorValue); } }, - {"shared", n => { Shared = n.GetObjectValue(ApiSdk.Models.Shared.CreateFromDiscriminatorValue); } }, - {"sharepointIds", n => { SharepointIds = n.GetObjectValue(ApiSdk.Models.SharepointIds.CreateFromDiscriminatorValue); } }, - {"size", n => { Size = n.GetLongValue(); } }, - {"specialFolder", n => { SpecialFolder = n.GetObjectValue(ApiSdk.Models.SpecialFolder.CreateFromDiscriminatorValue); } }, - {"subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(Subscription.CreateFromDiscriminatorValue)?.ToList(); } }, - {"thumbnails", n => { Thumbnails = n.GetCollectionOfObjectValues(ThumbnailSet.CreateFromDiscriminatorValue)?.ToList(); } }, - {"versions", n => { Versions = n.GetCollectionOfObjectValues(DriveItemVersion.CreateFromDiscriminatorValue)?.ToList(); } }, - {"video", n => { Video = n.GetObjectValue(ApiSdk.Models.Video.CreateFromDiscriminatorValue); } }, - {"webDavUrl", n => { WebDavUrl = n.GetStringValue(); } }, - {"workbook", n => { Workbook = n.GetObjectValue(ApiSdk.Models.Workbook.CreateFromDiscriminatorValue); } }, + { "analytics", n => { Analytics = n.GetObjectValue(ItemAnalytics.CreateFromDiscriminatorValue); } }, + { "audio", n => { Audio = n.GetObjectValue(ApiSdk.Models.Audio.CreateFromDiscriminatorValue); } }, + { "bundle", n => { Bundle = n.GetObjectValue(ApiSdk.Models.Bundle.CreateFromDiscriminatorValue); } }, + { "cTag", n => { CTag = n.GetStringValue(); } }, + { "children", n => { Children = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "deleted", n => { Deleted = n.GetObjectValue(ApiSdk.Models.Deleted.CreateFromDiscriminatorValue); } }, + { "file", n => { File = n.GetObjectValue(FileObject.CreateFromDiscriminatorValue); } }, + { "fileSystemInfo", n => { FileSystemInfo = n.GetObjectValue(ApiSdk.Models.FileSystemInfo.CreateFromDiscriminatorValue); } }, + { "folder", n => { Folder = n.GetObjectValue(ApiSdk.Models.Folder.CreateFromDiscriminatorValue); } }, + { "image", n => { Image = n.GetObjectValue(ApiSdk.Models.Image.CreateFromDiscriminatorValue); } }, + { "listItem", n => { ListItem = n.GetObjectValue(ApiSdk.Models.ListItem.CreateFromDiscriminatorValue); } }, + { "location", n => { Location = n.GetObjectValue(GeoCoordinates.CreateFromDiscriminatorValue); } }, + { "malware", n => { Malware = n.GetObjectValue(ApiSdk.Models.Malware.CreateFromDiscriminatorValue); } }, + { "package", n => { Package = n.GetObjectValue(ApiSdk.Models.Package.CreateFromDiscriminatorValue); } }, + { "pendingOperations", n => { PendingOperations = n.GetObjectValue(ApiSdk.Models.PendingOperations.CreateFromDiscriminatorValue); } }, + { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(Permission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "photo", n => { Photo = n.GetObjectValue(ApiSdk.Models.Photo.CreateFromDiscriminatorValue); } }, + { "publication", n => { Publication = n.GetObjectValue(PublicationFacet.CreateFromDiscriminatorValue); } }, + { "remoteItem", n => { RemoteItem = n.GetObjectValue(ApiSdk.Models.RemoteItem.CreateFromDiscriminatorValue); } }, + { "retentionLabel", n => { RetentionLabel = n.GetObjectValue(ItemRetentionLabel.CreateFromDiscriminatorValue); } }, + { "root", n => { Root = n.GetObjectValue(ApiSdk.Models.Root.CreateFromDiscriminatorValue); } }, + { "searchResult", n => { SearchResult = n.GetObjectValue(ApiSdk.Models.SearchResult.CreateFromDiscriminatorValue); } }, + { "shared", n => { Shared = n.GetObjectValue(ApiSdk.Models.Shared.CreateFromDiscriminatorValue); } }, + { "sharepointIds", n => { SharepointIds = n.GetObjectValue(ApiSdk.Models.SharepointIds.CreateFromDiscriminatorValue); } }, + { "size", n => { Size = n.GetLongValue(); } }, + { "specialFolder", n => { SpecialFolder = n.GetObjectValue(ApiSdk.Models.SpecialFolder.CreateFromDiscriminatorValue); } }, + { "subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(Subscription.CreateFromDiscriminatorValue)?.ToList(); } }, + { "thumbnails", n => { Thumbnails = n.GetCollectionOfObjectValues(ThumbnailSet.CreateFromDiscriminatorValue)?.ToList(); } }, + { "versions", n => { Versions = n.GetCollectionOfObjectValues(DriveItemVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "video", n => { Video = n.GetObjectValue(ApiSdk.Models.Video.CreateFromDiscriminatorValue); } }, + { "webDavUrl", n => { WebDavUrl = n.GetStringValue(); } }, + { "workbook", n => { Workbook = n.GetObjectValue(ApiSdk.Models.Workbook.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/DriveItemCollectionResponse.cs b/src/generated/Models/DriveItemCollectionResponse.cs index 428f5ab68e..af3ffcdfb8 100644 --- a/src/generated/Models/DriveItemCollectionResponse.cs +++ b/src/generated/Models/DriveItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItemCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DriveItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DriveItemSource.cs b/src/generated/Models/DriveItemSource.cs index 434acdef3c..c62313b76b 100644 --- a/src/generated/Models/DriveItemSource.cs +++ b/src/generated/Models/DriveItemSource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItemSource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItemSource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"application", n => { Application = n.GetEnumValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "application", n => { Application = n.GetEnumValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DriveItemSourceApplication.cs b/src/generated/Models/DriveItemSourceApplication.cs index a8334b07f7..f2065b1049 100644 --- a/src/generated/Models/DriveItemSourceApplication.cs +++ b/src/generated/Models/DriveItemSourceApplication.cs @@ -1,30 +1,55 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum DriveItemSourceApplication + #pragma warning restore CS1591 { [EnumMember(Value = "teams")] + #pragma warning disable CS1591 Teams, + #pragma warning restore CS1591 [EnumMember(Value = "yammer")] + #pragma warning disable CS1591 Yammer, + #pragma warning restore CS1591 [EnumMember(Value = "sharePoint")] + #pragma warning disable CS1591 SharePoint, + #pragma warning restore CS1591 [EnumMember(Value = "oneDrive")] + #pragma warning disable CS1591 OneDrive, + #pragma warning restore CS1591 [EnumMember(Value = "stream")] + #pragma warning disable CS1591 Stream, + #pragma warning restore CS1591 [EnumMember(Value = "powerPoint")] + #pragma warning disable CS1591 PowerPoint, + #pragma warning restore CS1591 [EnumMember(Value = "office")] + #pragma warning disable CS1591 Office, + #pragma warning restore CS1591 [EnumMember(Value = "loki")] + #pragma warning disable CS1591 Loki, + #pragma warning restore CS1591 [EnumMember(Value = "loop")] + #pragma warning disable CS1591 Loop, + #pragma warning restore CS1591 [EnumMember(Value = "other")] + #pragma warning disable CS1591 Other, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/DriveItemUploadableProperties.cs b/src/generated/Models/DriveItemUploadableProperties.cs index dd21264044..c52bee513d 100644 --- a/src/generated/Models/DriveItemUploadableProperties.cs +++ b/src/generated/Models/DriveItemUploadableProperties.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItemUploadableProperties : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItemUploadableProperties : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -84,13 +87,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"description", n => { Description = n.GetStringValue(); } }, - {"driveItemSource", n => { DriveItemSource = n.GetObjectValue(ApiSdk.Models.DriveItemSource.CreateFromDiscriminatorValue); } }, - {"fileSize", n => { FileSize = n.GetLongValue(); } }, - {"fileSystemInfo", n => { FileSystemInfo = n.GetObjectValue(ApiSdk.Models.FileSystemInfo.CreateFromDiscriminatorValue); } }, - {"mediaSource", n => { MediaSource = n.GetObjectValue(ApiSdk.Models.MediaSource.CreateFromDiscriminatorValue); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "driveItemSource", n => { DriveItemSource = n.GetObjectValue(ApiSdk.Models.DriveItemSource.CreateFromDiscriminatorValue); } }, + { "fileSize", n => { FileSize = n.GetLongValue(); } }, + { "fileSystemInfo", n => { FileSystemInfo = n.GetObjectValue(ApiSdk.Models.FileSystemInfo.CreateFromDiscriminatorValue); } }, + { "mediaSource", n => { MediaSource = n.GetObjectValue(ApiSdk.Models.MediaSource.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/DriveItemVersion.cs b/src/generated/Models/DriveItemVersion.cs index edac16c6b0..dd350e9fc9 100644 --- a/src/generated/Models/DriveItemVersion.cs +++ b/src/generated/Models/DriveItemVersion.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItemVersion : BaseItemVersion, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItemVersion : BaseItemVersion, IParsable + #pragma warning restore CS1591 { /// The content stream for this version of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"size", n => { Size = n.GetLongValue(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "size", n => { Size = n.GetLongValue(); } }, }; } /// diff --git a/src/generated/Models/DriveItemVersionCollectionResponse.cs b/src/generated/Models/DriveItemVersionCollectionResponse.cs index 09295da6d5..d115203789 100644 --- a/src/generated/Models/DriveItemVersionCollectionResponse.cs +++ b/src/generated/Models/DriveItemVersionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveItemVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveItemVersionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(DriveItemVersion.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(DriveItemVersion.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/DriveRecipient.cs b/src/generated/Models/DriveRecipient.cs index 4b4be6336e..30bdd2894e 100644 --- a/src/generated/Models/DriveRecipient.cs +++ b/src/generated/Models/DriveRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class DriveRecipient : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class DriveRecipient : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -66,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alias", n => { Alias = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"objectId", n => { ObjectId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "objectId", n => { ObjectId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EBookInstallSummary.cs b/src/generated/Models/EBookInstallSummary.cs index e29137126c..d9551329d5 100644 --- a/src/generated/Models/EBookInstallSummary.cs +++ b/src/generated/Models/EBookInstallSummary.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Contains properties for the installation summary of a book for a device. /// - public class EBookInstallSummary : Entity, IParsable + public class EBookInstallSummary : Entity, IParsable { /// Number of Devices that have failed to install this book. public int? FailedDeviceCount { get; set; } @@ -40,12 +41,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"failedDeviceCount", n => { FailedDeviceCount = n.GetIntValue(); } }, - {"failedUserCount", n => { FailedUserCount = n.GetIntValue(); } }, - {"installedDeviceCount", n => { InstalledDeviceCount = n.GetIntValue(); } }, - {"installedUserCount", n => { InstalledUserCount = n.GetIntValue(); } }, - {"notInstalledDeviceCount", n => { NotInstalledDeviceCount = n.GetIntValue(); } }, - {"notInstalledUserCount", n => { NotInstalledUserCount = n.GetIntValue(); } }, + { "failedDeviceCount", n => { FailedDeviceCount = n.GetIntValue(); } }, + { "failedUserCount", n => { FailedUserCount = n.GetIntValue(); } }, + { "installedDeviceCount", n => { InstalledDeviceCount = n.GetIntValue(); } }, + { "installedUserCount", n => { InstalledUserCount = n.GetIntValue(); } }, + { "notInstalledDeviceCount", n => { NotInstalledDeviceCount = n.GetIntValue(); } }, + { "notInstalledUserCount", n => { NotInstalledUserCount = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/Edge.cs b/src/generated/Models/Edge.cs index 580948159d..53a19c5a5f 100644 --- a/src/generated/Models/Edge.cs +++ b/src/generated/Models/Edge.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Edge : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Edge : Entity, IParsable + #pragma warning restore CS1591 { /// A container for Internet Explorer mode resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"internetExplorerMode", n => { InternetExplorerMode = n.GetObjectValue(ApiSdk.Models.InternetExplorerMode.CreateFromDiscriminatorValue); } }, + { "internetExplorerMode", n => { InternetExplorerMode = n.GetObjectValue(ApiSdk.Models.InternetExplorerMode.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EdgeCookiePolicy.cs b/src/generated/Models/EdgeCookiePolicy.cs index 56c0ab1d61..8dd2cfa66c 100644 --- a/src/generated/Models/EdgeCookiePolicy.cs +++ b/src/generated/Models/EdgeCookiePolicy.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values to specify which cookies are allowed in Microsoft Edge. public enum EdgeCookiePolicy { diff --git a/src/generated/Models/EdgeSearchEngine.cs b/src/generated/Models/EdgeSearchEngine.cs index 4293bfc2b1..ca979f7e86 100644 --- a/src/generated/Models/EdgeSearchEngine.cs +++ b/src/generated/Models/EdgeSearchEngine.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Allows IT admins to set a predefined default search engine for MDM-Controlled devices. /// - public class EdgeSearchEngine : EdgeSearchEngineBase, IParsable + public class EdgeSearchEngine : EdgeSearchEngineBase, IParsable { /// Allows IT admind to set a predefined default search engine for MDM-Controlled devices public ApiSdk.Models.EdgeSearchEngineType? EdgeSearchEngineType { get; set; } @@ -37,7 +38,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"edgeSearchEngineType", n => { EdgeSearchEngineType = n.GetEnumValue(); } }, + { "edgeSearchEngineType", n => { EdgeSearchEngineType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EdgeSearchEngineBase.cs b/src/generated/Models/EdgeSearchEngineBase.cs index ab9793b13b..c905d70e94 100644 --- a/src/generated/Models/EdgeSearchEngineBase.cs +++ b/src/generated/Models/EdgeSearchEngineBase.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. /// - public class EdgeSearchEngineBase : IAdditionalDataHolder, IParsable + public class EdgeSearchEngineBase : IAdditionalDataHolder, IParsable { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -51,7 +52,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EdgeSearchEngineCustom.cs b/src/generated/Models/EdgeSearchEngineCustom.cs index cda269463e..f30b172000 100644 --- a/src/generated/Models/EdgeSearchEngineCustom.cs +++ b/src/generated/Models/EdgeSearchEngineCustom.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Allows IT admins to set a custom default search engine for MDM-Controlled devices. /// - public class EdgeSearchEngineCustom : EdgeSearchEngineBase, IParsable + public class EdgeSearchEngineCustom : EdgeSearchEngineBase, IParsable { /// Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,7 +44,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"edgeSearchEngineOpenSearchXmlUrl", n => { EdgeSearchEngineOpenSearchXmlUrl = n.GetStringValue(); } }, + { "edgeSearchEngineOpenSearchXmlUrl", n => { EdgeSearchEngineOpenSearchXmlUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EdgeSearchEngineType.cs b/src/generated/Models/EdgeSearchEngineType.cs index 11d0172381..c9f07ce3f4 100644 --- a/src/generated/Models/EdgeSearchEngineType.cs +++ b/src/generated/Models/EdgeSearchEngineType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Allows IT admind to set a predefined default search engine for MDM-Controlled devices public enum EdgeSearchEngineType { diff --git a/src/generated/Models/EditionUpgradeConfiguration.cs b/src/generated/Models/EditionUpgradeConfiguration.cs index 05254ec40a..0be3e9ad37 100644 --- a/src/generated/Models/EditionUpgradeConfiguration.cs +++ b/src/generated/Models/EditionUpgradeConfiguration.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Windows 10 Edition Upgrade configuration. /// - public class EditionUpgradeConfiguration : DeviceConfiguration, IParsable + public class EditionUpgradeConfiguration : DeviceConfiguration, IParsable { /// Edition Upgrade License File Content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -55,10 +56,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"license", n => { License = n.GetStringValue(); } }, - {"licenseType", n => { LicenseType = n.GetEnumValue(); } }, - {"productKey", n => { ProductKey = n.GetStringValue(); } }, - {"targetEdition", n => { TargetEdition = n.GetEnumValue(); } }, + { "license", n => { License = n.GetStringValue(); } }, + { "licenseType", n => { LicenseType = n.GetEnumValue(); } }, + { "productKey", n => { ProductKey = n.GetStringValue(); } }, + { "targetEdition", n => { TargetEdition = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EditionUpgradeLicenseType.cs b/src/generated/Models/EditionUpgradeLicenseType.cs index 94dbf306ca..0cd27ea9dd 100644 --- a/src/generated/Models/EditionUpgradeLicenseType.cs +++ b/src/generated/Models/EditionUpgradeLicenseType.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Edition Upgrade License type public enum EditionUpgradeLicenseType { diff --git a/src/generated/Models/EducationAddToCalendarOptions.cs b/src/generated/Models/EducationAddToCalendarOptions.cs index f9170b98bf..dc8cf76434 100644 --- a/src/generated/Models/EducationAddToCalendarOptions.cs +++ b/src/generated/Models/EducationAddToCalendarOptions.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationAddToCalendarOptions + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "studentsAndPublisher")] + #pragma warning disable CS1591 StudentsAndPublisher, + #pragma warning restore CS1591 [EnumMember(Value = "studentsAndTeamOwners")] + #pragma warning disable CS1591 StudentsAndTeamOwners, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "studentsOnly")] + #pragma warning disable CS1591 StudentsOnly, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationAddedStudentAction.cs b/src/generated/Models/EducationAddedStudentAction.cs index f2d057abef..b1f5e2ee23 100644 --- a/src/generated/Models/EducationAddedStudentAction.cs +++ b/src/generated/Models/EducationAddedStudentAction.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationAddedStudentAction + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "assignIfOpen")] + #pragma warning disable CS1591 AssignIfOpen, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationAssignment.cs b/src/generated/Models/EducationAssignment.cs index 785363e498..30888238b1 100644 --- a/src/generated/Models/EducationAssignment.cs +++ b/src/generated/Models/EducationAssignment.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignment : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignment : Entity, IParsable + #pragma warning restore CS1591 { /// Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none. Supported values are: none, assignIfOpen. For example, a teacher can use assignIfOpen to indicate that an assignment should be assigned to any new student who joins the class while the assignment is still open, and none to indicate that an assignment shouldn't be assigned to new students. public EducationAddedStudentAction? AddedStudentAction { get; set; } @@ -183,34 +186,34 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"addToCalendarAction", n => { AddToCalendarAction = n.GetEnumValue(); } }, - {"addedStudentAction", n => { AddedStudentAction = n.GetEnumValue(); } }, - {"allowLateSubmissions", n => { AllowLateSubmissions = n.GetBoolValue(); } }, - {"allowStudentsToAddResourcesToSubmission", n => { AllowStudentsToAddResourcesToSubmission = n.GetBoolValue(); } }, - {"assignDateTime", n => { AssignDateTime = n.GetDateTimeOffsetValue(); } }, - {"assignTo", n => { AssignTo = n.GetObjectValue(EducationAssignmentRecipient.CreateFromDiscriminatorValue); } }, - {"assignedDateTime", n => { AssignedDateTime = n.GetDateTimeOffsetValue(); } }, - {"categories", n => { Categories = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"classId", n => { ClassId = n.GetStringValue(); } }, - {"closeDateTime", n => { CloseDateTime = n.GetDateTimeOffsetValue(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, - {"feedbackResourcesFolderUrl", n => { FeedbackResourcesFolderUrl = n.GetStringValue(); } }, - {"grading", n => { Grading = n.GetObjectValue(EducationAssignmentGradeType.CreateFromDiscriminatorValue); } }, - {"gradingCategory", n => { GradingCategory = n.GetObjectValue(EducationGradingCategory.CreateFromDiscriminatorValue); } }, - {"instructions", n => { Instructions = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"moduleUrl", n => { ModuleUrl = n.GetStringValue(); } }, - {"notificationChannelUrl", n => { NotificationChannelUrl = n.GetStringValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(EducationAssignmentResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, - {"rubric", n => { Rubric = n.GetObjectValue(EducationRubric.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"submissions", n => { Submissions = n.GetCollectionOfObjectValues(EducationSubmission.CreateFromDiscriminatorValue)?.ToList(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "addToCalendarAction", n => { AddToCalendarAction = n.GetEnumValue(); } }, + { "addedStudentAction", n => { AddedStudentAction = n.GetEnumValue(); } }, + { "allowLateSubmissions", n => { AllowLateSubmissions = n.GetBoolValue(); } }, + { "allowStudentsToAddResourcesToSubmission", n => { AllowStudentsToAddResourcesToSubmission = n.GetBoolValue(); } }, + { "assignDateTime", n => { AssignDateTime = n.GetDateTimeOffsetValue(); } }, + { "assignTo", n => { AssignTo = n.GetObjectValue(EducationAssignmentRecipient.CreateFromDiscriminatorValue); } }, + { "assignedDateTime", n => { AssignedDateTime = n.GetDateTimeOffsetValue(); } }, + { "categories", n => { Categories = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "classId", n => { ClassId = n.GetStringValue(); } }, + { "closeDateTime", n => { CloseDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetDateTimeOffsetValue(); } }, + { "feedbackResourcesFolderUrl", n => { FeedbackResourcesFolderUrl = n.GetStringValue(); } }, + { "grading", n => { Grading = n.GetObjectValue(EducationAssignmentGradeType.CreateFromDiscriminatorValue); } }, + { "gradingCategory", n => { GradingCategory = n.GetObjectValue(EducationGradingCategory.CreateFromDiscriminatorValue); } }, + { "instructions", n => { Instructions = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "moduleUrl", n => { ModuleUrl = n.GetStringValue(); } }, + { "notificationChannelUrl", n => { NotificationChannelUrl = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(EducationAssignmentResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, + { "rubric", n => { Rubric = n.GetObjectValue(EducationRubric.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "submissions", n => { Submissions = n.GetCollectionOfObjectValues(EducationSubmission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentClassRecipient.cs b/src/generated/Models/EducationAssignmentClassRecipient.cs index f5df68e114..dde681b861 100644 --- a/src/generated/Models/EducationAssignmentClassRecipient.cs +++ b/src/generated/Models/EducationAssignmentClassRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentClassRecipient : EducationAssignmentRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentClassRecipient : EducationAssignmentRecipient, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/EducationAssignmentCollectionResponse.cs b/src/generated/Models/EducationAssignmentCollectionResponse.cs index a6b89cecbb..b42f057844 100644 --- a/src/generated/Models/EducationAssignmentCollectionResponse.cs +++ b/src/generated/Models/EducationAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentDefaults.cs b/src/generated/Models/EducationAssignmentDefaults.cs index fccab0c773..5e1706af33 100644 --- a/src/generated/Models/EducationAssignmentDefaults.cs +++ b/src/generated/Models/EducationAssignmentDefaults.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentDefaults : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentDefaults : Entity, IParsable + #pragma warning restore CS1591 { /// Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. public EducationAddedStudentAction? AddedStudentAction { get; set; } @@ -40,10 +43,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"addToCalendarAction", n => { AddToCalendarAction = n.GetEnumValue(); } }, - {"addedStudentAction", n => { AddedStudentAction = n.GetEnumValue(); } }, - {"dueTime", n => { DueTime = n.GetTimeValue(); } }, - {"notificationChannelUrl", n => { NotificationChannelUrl = n.GetStringValue(); } }, + { "addToCalendarAction", n => { AddToCalendarAction = n.GetEnumValue(); } }, + { "addedStudentAction", n => { AddedStudentAction = n.GetEnumValue(); } }, + { "dueTime", n => { DueTime = n.GetTimeValue(); } }, + { "notificationChannelUrl", n => { NotificationChannelUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentGrade.cs b/src/generated/Models/EducationAssignmentGrade.cs index e65bb1e9fc..e88e48d75e 100644 --- a/src/generated/Models/EducationAssignmentGrade.cs +++ b/src/generated/Models/EducationAssignmentGrade.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentGrade : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentGrade : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -57,9 +60,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"gradedBy", n => { GradedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"gradedDateTime", n => { GradedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "gradedBy", n => { GradedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "gradedDateTime", n => { GradedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentGradeType.cs b/src/generated/Models/EducationAssignmentGradeType.cs index 4f58ffafa8..ffb553c383 100644 --- a/src/generated/Models/EducationAssignmentGradeType.cs +++ b/src/generated/Models/EducationAssignmentGradeType.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentGradeType : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentGradeType : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentGroupRecipient.cs b/src/generated/Models/EducationAssignmentGroupRecipient.cs index c22426df32..49cc5438fb 100644 --- a/src/generated/Models/EducationAssignmentGroupRecipient.cs +++ b/src/generated/Models/EducationAssignmentGroupRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentGroupRecipient : EducationAssignmentRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentGroupRecipient : EducationAssignmentRecipient, IParsable + #pragma warning restore CS1591 { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/EducationAssignmentIndividualRecipient.cs b/src/generated/Models/EducationAssignmentIndividualRecipient.cs index 2a5f4a9b6a..864b2b412a 100644 --- a/src/generated/Models/EducationAssignmentIndividualRecipient.cs +++ b/src/generated/Models/EducationAssignmentIndividualRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentIndividualRecipient : EducationAssignmentRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentIndividualRecipient : EducationAssignmentRecipient, IParsable + #pragma warning restore CS1591 { /// A collection of IDs of the recipients. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"recipients", n => { Recipients = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentPointsGrade.cs b/src/generated/Models/EducationAssignmentPointsGrade.cs index 31e0d04dae..34421226ed 100644 --- a/src/generated/Models/EducationAssignmentPointsGrade.cs +++ b/src/generated/Models/EducationAssignmentPointsGrade.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentPointsGrade : EducationAssignmentGrade, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentPointsGrade : EducationAssignmentGrade, IParsable + #pragma warning restore CS1591 { /// Number of points a teacher is giving this submission object. public float? Points { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"points", n => { Points = n.GetFloatValue(); } }, + { "points", n => { Points = n.GetFloatValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentPointsGradeType.cs b/src/generated/Models/EducationAssignmentPointsGradeType.cs index ca5a628467..27048ed9d9 100644 --- a/src/generated/Models/EducationAssignmentPointsGradeType.cs +++ b/src/generated/Models/EducationAssignmentPointsGradeType.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentPointsGradeType : EducationAssignmentGradeType, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentPointsGradeType : EducationAssignmentGradeType, IParsable + #pragma warning restore CS1591 { /// Max points possible for this assignment. public float? MaxPoints { get; set; } @@ -34,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"maxPoints", n => { MaxPoints = n.GetFloatValue(); } }, + { "maxPoints", n => { MaxPoints = n.GetFloatValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentRecipient.cs b/src/generated/Models/EducationAssignmentRecipient.cs index 265e53ff57..3ac6e904d6 100644 --- a/src/generated/Models/EducationAssignmentRecipient.cs +++ b/src/generated/Models/EducationAssignmentRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentRecipient : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentRecipient : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -49,7 +52,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentResource.cs b/src/generated/Models/EducationAssignmentResource.cs index c71d9ff239..56096ff512 100644 --- a/src/generated/Models/EducationAssignmentResource.cs +++ b/src/generated/Models/EducationAssignmentResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentResource : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentResource : Entity, IParsable + #pragma warning restore CS1591 { /// Indicates whether this resource should be copied to each student submission for modification and submission. Required public bool? DistributeForStudentWork { get; set; } @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"distributeForStudentWork", n => { DistributeForStudentWork = n.GetBoolValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, + { "distributeForStudentWork", n => { DistributeForStudentWork = n.GetBoolValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentResourceCollectionResponse.cs b/src/generated/Models/EducationAssignmentResourceCollectionResponse.cs index 17bd4d46b9..90aac9d77b 100644 --- a/src/generated/Models/EducationAssignmentResourceCollectionResponse.cs +++ b/src/generated/Models/EducationAssignmentResourceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignmentResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationAssignmentResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentSettings.cs b/src/generated/Models/EducationAssignmentSettings.cs index 88e588e78a..67c163e9ca 100644 --- a/src/generated/Models/EducationAssignmentSettings.cs +++ b/src/generated/Models/EducationAssignmentSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationAssignmentSettings : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationAssignmentSettings : Entity, IParsable + #pragma warning restore CS1591 { /// When set, enables users to weight assignments differently when computing a class average grade. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"gradingCategories", n => { GradingCategories = n.GetCollectionOfObjectValues(EducationGradingCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"submissionAnimationDisabled", n => { SubmissionAnimationDisabled = n.GetBoolValue(); } }, + { "gradingCategories", n => { GradingCategories = n.GetCollectionOfObjectValues(EducationGradingCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "submissionAnimationDisabled", n => { SubmissionAnimationDisabled = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/EducationAssignmentStatus.cs b/src/generated/Models/EducationAssignmentStatus.cs index d501534208..42874afbb3 100644 --- a/src/generated/Models/EducationAssignmentStatus.cs +++ b/src/generated/Models/EducationAssignmentStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationAssignmentStatus + #pragma warning restore CS1591 { [EnumMember(Value = "draft")] + #pragma warning disable CS1591 Draft, + #pragma warning restore CS1591 [EnumMember(Value = "published")] + #pragma warning disable CS1591 Published, + #pragma warning restore CS1591 [EnumMember(Value = "assigned")] + #pragma warning disable CS1591 Assigned, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "inactive")] + #pragma warning disable CS1591 Inactive, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationCategory.cs b/src/generated/Models/EducationCategory.cs index d925356b15..2f749d2ea1 100644 --- a/src/generated/Models/EducationCategory.cs +++ b/src/generated/Models/EducationCategory.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationCategory : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationCategory : Entity, IParsable + #pragma warning restore CS1591 { /// Unique identifier for the category. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationCategoryCollectionResponse.cs b/src/generated/Models/EducationCategoryCollectionResponse.cs index b1993bf412..499d542172 100644 --- a/src/generated/Models/EducationCategoryCollectionResponse.cs +++ b/src/generated/Models/EducationCategoryCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationChannelResource.cs b/src/generated/Models/EducationChannelResource.cs index 73d3e53674..990edae379 100644 --- a/src/generated/Models/EducationChannelResource.cs +++ b/src/generated/Models/EducationChannelResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationChannelResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationChannelResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// URL of the channel resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"url", n => { Url = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationClass.cs b/src/generated/Models/EducationClass.cs index 58a2505aa0..9d2376c533 100644 --- a/src/generated/Models/EducationClass.cs +++ b/src/generated/Models/EducationClass.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationClass : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationClass : Entity, IParsable + #pragma warning restore CS1591 { /// All categories associated with this class. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,27 +190,27 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignmentCategories", n => { AssignmentCategories = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignmentDefaults", n => { AssignmentDefaults = n.GetObjectValue(EducationAssignmentDefaults.CreateFromDiscriminatorValue); } }, - {"assignmentSettings", n => { AssignmentSettings = n.GetObjectValue(EducationAssignmentSettings.CreateFromDiscriminatorValue); } }, - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"classCode", n => { ClassCode = n.GetStringValue(); } }, - {"course", n => { Course = n.GetObjectValue(EducationCourse.CreateFromDiscriminatorValue); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"externalName", n => { ExternalName = n.GetStringValue(); } }, - {"externalSource", n => { ExternalSource = n.GetEnumValue(); } }, - {"externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, - {"grade", n => { Grade = n.GetStringValue(); } }, - {"group", n => { Group = n.GetObjectValue(ApiSdk.Models.Group.CreateFromDiscriminatorValue); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, - {"modules", n => { Modules = n.GetCollectionOfObjectValues(EducationModule.CreateFromDiscriminatorValue)?.ToList(); } }, - {"schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, - {"teachers", n => { Teachers = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, - {"term", n => { Term = n.GetObjectValue(EducationTerm.CreateFromDiscriminatorValue); } }, + { "assignmentCategories", n => { AssignmentCategories = n.GetCollectionOfObjectValues(EducationCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignmentDefaults", n => { AssignmentDefaults = n.GetObjectValue(EducationAssignmentDefaults.CreateFromDiscriminatorValue); } }, + { "assignmentSettings", n => { AssignmentSettings = n.GetObjectValue(EducationAssignmentSettings.CreateFromDiscriminatorValue); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "classCode", n => { ClassCode = n.GetStringValue(); } }, + { "course", n => { Course = n.GetObjectValue(EducationCourse.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "externalName", n => { ExternalName = n.GetStringValue(); } }, + { "externalSource", n => { ExternalSource = n.GetEnumValue(); } }, + { "externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, + { "grade", n => { Grade = n.GetStringValue(); } }, + { "group", n => { Group = n.GetObjectValue(ApiSdk.Models.Group.CreateFromDiscriminatorValue); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "modules", n => { Modules = n.GetCollectionOfObjectValues(EducationModule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, + { "teachers", n => { Teachers = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "term", n => { Term = n.GetObjectValue(EducationTerm.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationClassCollectionResponse.cs b/src/generated/Models/EducationClassCollectionResponse.cs index a3b728e8a3..40fc7c957e 100644 --- a/src/generated/Models/EducationClassCollectionResponse.cs +++ b/src/generated/Models/EducationClassCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationClassCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationClassCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationCourse.cs b/src/generated/Models/EducationCourse.cs index 590fe64fd0..e8875f1221 100644 --- a/src/generated/Models/EducationCourse.cs +++ b/src/generated/Models/EducationCourse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationCourse : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationCourse : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -82,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"courseNumber", n => { CourseNumber = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, + { "courseNumber", n => { CourseNumber = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationExcelResource.cs b/src/generated/Models/EducationExcelResource.cs index 3fdb633aa3..605f89e158 100644 --- a/src/generated/Models/EducationExcelResource.cs +++ b/src/generated/Models/EducationExcelResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationExcelResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationExcelResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Pointer to the Excel file object. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fileUrl", n => { FileUrl = n.GetStringValue(); } }, + { "fileUrl", n => { FileUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationExternalResource.cs b/src/generated/Models/EducationExternalResource.cs index e657e9b05e..15386784ba 100644 --- a/src/generated/Models/EducationExternalResource.cs +++ b/src/generated/Models/EducationExternalResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationExternalResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationExternalResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Location of the resource. Required #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationExternalSource.cs b/src/generated/Models/EducationExternalSource.cs index d218091d73..89fb33e62b 100644 --- a/src/generated/Models/EducationExternalSource.cs +++ b/src/generated/Models/EducationExternalSource.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationExternalSource + #pragma warning restore CS1591 { [EnumMember(Value = "sis")] + #pragma warning disable CS1591 Sis, + #pragma warning restore CS1591 [EnumMember(Value = "manual")] + #pragma warning disable CS1591 Manual, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationFeedback.cs b/src/generated/Models/EducationFeedback.cs index 4001a590c1..485ce885ce 100644 --- a/src/generated/Models/EducationFeedback.cs +++ b/src/generated/Models/EducationFeedback.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationFeedback : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationFeedback : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"feedbackBy", n => { FeedbackBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"feedbackDateTime", n => { FeedbackDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"text", n => { Text = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, + { "feedbackBy", n => { FeedbackBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "feedbackDateTime", n => { FeedbackDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "text", n => { Text = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationFeedbackOutcome.cs b/src/generated/Models/EducationFeedbackOutcome.cs index d7c7010c7a..b4fd1dd787 100644 --- a/src/generated/Models/EducationFeedbackOutcome.cs +++ b/src/generated/Models/EducationFeedbackOutcome.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationFeedbackOutcome : EducationOutcome, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationFeedbackOutcome : EducationOutcome, IParsable + #pragma warning restore CS1591 { /// Teacher's written feedback to the student. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"feedback", n => { Feedback = n.GetObjectValue(EducationFeedback.CreateFromDiscriminatorValue); } }, - {"publishedFeedback", n => { PublishedFeedback = n.GetObjectValue(EducationFeedback.CreateFromDiscriminatorValue); } }, + { "feedback", n => { Feedback = n.GetObjectValue(EducationFeedback.CreateFromDiscriminatorValue); } }, + { "publishedFeedback", n => { PublishedFeedback = n.GetObjectValue(EducationFeedback.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationFeedbackResourceOutcome.cs b/src/generated/Models/EducationFeedbackResourceOutcome.cs index 6b5eaa31c5..73650dded1 100644 --- a/src/generated/Models/EducationFeedbackResourceOutcome.cs +++ b/src/generated/Models/EducationFeedbackResourceOutcome.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationFeedbackResourceOutcome : EducationOutcome, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationFeedbackResourceOutcome : EducationOutcome, IParsable + #pragma warning restore CS1591 { /// The actual feedback resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"feedbackResource", n => { FeedbackResource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, - {"resourceStatus", n => { ResourceStatus = n.GetEnumValue(); } }, + { "feedbackResource", n => { FeedbackResource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, + { "resourceStatus", n => { ResourceStatus = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EducationFeedbackResourceOutcomeStatus.cs b/src/generated/Models/EducationFeedbackResourceOutcomeStatus.cs index 768d700642..68871cc08d 100644 --- a/src/generated/Models/EducationFeedbackResourceOutcomeStatus.cs +++ b/src/generated/Models/EducationFeedbackResourceOutcomeStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationFeedbackResourceOutcomeStatus + #pragma warning restore CS1591 { [EnumMember(Value = "notPublished")] + #pragma warning disable CS1591 NotPublished, + #pragma warning restore CS1591 [EnumMember(Value = "pendingPublish")] + #pragma warning disable CS1591 PendingPublish, + #pragma warning restore CS1591 [EnumMember(Value = "published")] + #pragma warning disable CS1591 Published, + #pragma warning restore CS1591 [EnumMember(Value = "failedPublish")] + #pragma warning disable CS1591 FailedPublish, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationFileResource.cs b/src/generated/Models/EducationFileResource.cs index f3cc3ff4a6..efbf13009f 100644 --- a/src/generated/Models/EducationFileResource.cs +++ b/src/generated/Models/EducationFileResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationFileResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationFileResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Location on disk of the file resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fileUrl", n => { FileUrl = n.GetStringValue(); } }, + { "fileUrl", n => { FileUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationGender.cs b/src/generated/Models/EducationGender.cs index cb7156d38f..c8f2921318 100644 --- a/src/generated/Models/EducationGender.cs +++ b/src/generated/Models/EducationGender.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationGender + #pragma warning restore CS1591 { [EnumMember(Value = "female")] + #pragma warning disable CS1591 Female, + #pragma warning restore CS1591 [EnumMember(Value = "male")] + #pragma warning disable CS1591 Male, + #pragma warning restore CS1591 [EnumMember(Value = "other")] + #pragma warning disable CS1591 Other, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationGradingCategory.cs b/src/generated/Models/EducationGradingCategory.cs index 839545cee3..cdf2b4ded5 100644 --- a/src/generated/Models/EducationGradingCategory.cs +++ b/src/generated/Models/EducationGradingCategory.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationGradingCategory : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationGradingCategory : Entity, IParsable + #pragma warning restore CS1591 { /// The name of the grading category. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"percentageWeight", n => { PercentageWeight = n.GetIntValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "percentageWeight", n => { PercentageWeight = n.GetIntValue(); } }, }; } /// diff --git a/src/generated/Models/EducationGradingCategoryCollectionResponse.cs b/src/generated/Models/EducationGradingCategoryCollectionResponse.cs index 74066187e2..fd948c2357 100644 --- a/src/generated/Models/EducationGradingCategoryCollectionResponse.cs +++ b/src/generated/Models/EducationGradingCategoryCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationGradingCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationGradingCategoryCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationGradingCategory.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationGradingCategory.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationItemBody.cs b/src/generated/Models/EducationItemBody.cs index bc568b06f7..3c9d7730ae 100644 --- a/src/generated/Models/EducationItemBody.cs +++ b/src/generated/Models/EducationItemBody.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationItemBody : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationItemBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"content", n => { Content = n.GetStringValue(); } }, - {"contentType", n => { ContentType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "content", n => { Content = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationLinkResource.cs b/src/generated/Models/EducationLinkResource.cs index 89d35cf2d0..c9b7441302 100644 --- a/src/generated/Models/EducationLinkResource.cs +++ b/src/generated/Models/EducationLinkResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationLinkResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationLinkResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// URL to the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"link", n => { Link = n.GetStringValue(); } }, + { "link", n => { Link = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationLinkedAssignmentResource.cs b/src/generated/Models/EducationLinkedAssignmentResource.cs index a84ff86926..ee71762138 100644 --- a/src/generated/Models/EducationLinkedAssignmentResource.cs +++ b/src/generated/Models/EducationLinkedAssignmentResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationLinkedAssignmentResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationLinkedAssignmentResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// URL of the actual assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"url", n => { Url = n.GetStringValue(); } }, + { "url", n => { Url = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationMediaResource.cs b/src/generated/Models/EducationMediaResource.cs index fc75e04c53..4b4decf6f3 100644 --- a/src/generated/Models/EducationMediaResource.cs +++ b/src/generated/Models/EducationMediaResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationMediaResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationMediaResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Location of the file on shared point folder. Required #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fileUrl", n => { FileUrl = n.GetStringValue(); } }, + { "fileUrl", n => { FileUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationModule.cs b/src/generated/Models/EducationModule.cs index ee9bbf0b9f..01fa0cb970 100644 --- a/src/generated/Models/EducationModule.cs +++ b/src/generated/Models/EducationModule.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationModule : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationModule : Entity, IParsable + #pragma warning restore CS1591 { /// The display name of the user that created the module. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -81,16 +84,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"isPinned", n => { IsPinned = n.GetBoolValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(EducationModuleResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isPinned", n => { IsPinned = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(EducationModuleResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EducationModuleCollectionResponse.cs b/src/generated/Models/EducationModuleCollectionResponse.cs index 83b9a4a76a..962d55138e 100644 --- a/src/generated/Models/EducationModuleCollectionResponse.cs +++ b/src/generated/Models/EducationModuleCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationModuleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationModuleCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationModule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationModule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationModuleResource.cs b/src/generated/Models/EducationModuleResource.cs index d0326f4e9a..9fb895ace4 100644 --- a/src/generated/Models/EducationModuleResource.cs +++ b/src/generated/Models/EducationModuleResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationModuleResource : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationModuleResource : Entity, IParsable + #pragma warning restore CS1591 { /// Resource object that is with this module. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, + { "resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationModuleResourceCollectionResponse.cs b/src/generated/Models/EducationModuleResourceCollectionResponse.cs index 0eade55790..fd03d0c193 100644 --- a/src/generated/Models/EducationModuleResourceCollectionResponse.cs +++ b/src/generated/Models/EducationModuleResourceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationModuleResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationModuleResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationModuleResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationModuleResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationModuleStatus.cs b/src/generated/Models/EducationModuleStatus.cs index d88512d3d3..561bc7553b 100644 --- a/src/generated/Models/EducationModuleStatus.cs +++ b/src/generated/Models/EducationModuleStatus.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationModuleStatus + #pragma warning restore CS1591 { [EnumMember(Value = "draft")] + #pragma warning disable CS1591 Draft, + #pragma warning restore CS1591 [EnumMember(Value = "published")] + #pragma warning disable CS1591 Published, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationOnPremisesInfo.cs b/src/generated/Models/EducationOnPremisesInfo.cs index ef3af62c32..653415f263 100644 --- a/src/generated/Models/EducationOnPremisesInfo.cs +++ b/src/generated/Models/EducationOnPremisesInfo.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationOnPremisesInfo : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationOnPremisesInfo : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"immutableId", n => { ImmutableId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "immutableId", n => { ImmutableId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationOrganization.cs b/src/generated/Models/EducationOrganization.cs index d374ff7d6d..d69fa27e7a 100644 --- a/src/generated/Models/EducationOrganization.cs +++ b/src/generated/Models/EducationOrganization.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationOrganization : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationOrganization : Entity, IParsable + #pragma warning restore CS1591 { /// Organization description. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -56,10 +59,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalSource", n => { ExternalSource = n.GetEnumValue(); } }, - {"externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalSource", n => { ExternalSource = n.GetEnumValue(); } }, + { "externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationOutcome.cs b/src/generated/Models/EducationOutcome.cs index eefde38319..66643eb7a7 100644 --- a/src/generated/Models/EducationOutcome.cs +++ b/src/generated/Models/EducationOutcome.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationOutcome : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationOutcome : Entity, IParsable + #pragma warning restore CS1591 { /// The individual who updated the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,8 +46,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/EducationOutcomeCollectionResponse.cs b/src/generated/Models/EducationOutcomeCollectionResponse.cs index e96644dabb..dfa78320ab 100644 --- a/src/generated/Models/EducationOutcomeCollectionResponse.cs +++ b/src/generated/Models/EducationOutcomeCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationOutcomeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationOutcomeCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationOutcome.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationOutcome.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationPointsOutcome.cs b/src/generated/Models/EducationPointsOutcome.cs index 403a06cea4..5944086597 100644 --- a/src/generated/Models/EducationPointsOutcome.cs +++ b/src/generated/Models/EducationPointsOutcome.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationPointsOutcome : EducationOutcome, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationPointsOutcome : EducationOutcome, IParsable + #pragma warning restore CS1591 { /// The numeric grade the teacher has given the student for this assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"points", n => { Points = n.GetObjectValue(EducationAssignmentPointsGrade.CreateFromDiscriminatorValue); } }, - {"publishedPoints", n => { PublishedPoints = n.GetObjectValue(EducationAssignmentPointsGrade.CreateFromDiscriminatorValue); } }, + { "points", n => { Points = n.GetObjectValue(EducationAssignmentPointsGrade.CreateFromDiscriminatorValue); } }, + { "publishedPoints", n => { PublishedPoints = n.GetObjectValue(EducationAssignmentPointsGrade.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationPowerPointResource.cs b/src/generated/Models/EducationPowerPointResource.cs index 9db0753b5e..1fcf471b8f 100644 --- a/src/generated/Models/EducationPowerPointResource.cs +++ b/src/generated/Models/EducationPowerPointResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationPowerPointResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationPowerPointResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Location of the file on disk. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fileUrl", n => { FileUrl = n.GetStringValue(); } }, + { "fileUrl", n => { FileUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationResource.cs b/src/generated/Models/EducationResource.cs index ccb58b7f63..7abdc36ffc 100644 --- a/src/generated/Models/EducationResource.cs +++ b/src/generated/Models/EducationResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationResource : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationResource : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -84,12 +87,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationRoot.cs b/src/generated/Models/EducationRoot.cs index 570e73aa39..c4c25c07c1 100644 --- a/src/generated/Models/EducationRoot.cs +++ b/src/generated/Models/EducationRoot.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationRoot : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationRoot : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -74,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, - {"me", n => { Me = n.GetObjectValue(EducationUser.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, - {"users", n => { Users = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "me", n => { Me = n.GetObjectValue(EducationUser.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationRubric.cs b/src/generated/Models/EducationRubric.cs index fd2fd6d867..23c692957f 100644 --- a/src/generated/Models/EducationRubric.cs +++ b/src/generated/Models/EducationRubric.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationRubric : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationRubric : Entity, IParsable + #pragma warning restore CS1591 { /// The user who created this resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,15 +88,15 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"grading", n => { Grading = n.GetObjectValue(EducationAssignmentGradeType.CreateFromDiscriminatorValue); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"levels", n => { Levels = n.GetCollectionOfObjectValues(RubricLevel.CreateFromDiscriminatorValue)?.ToList(); } }, - {"qualities", n => { Qualities = n.GetCollectionOfObjectValues(RubricQuality.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetObjectValue(EducationItemBody.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "grading", n => { Grading = n.GetObjectValue(EducationAssignmentGradeType.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "levels", n => { Levels = n.GetCollectionOfObjectValues(RubricLevel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "qualities", n => { Qualities = n.GetCollectionOfObjectValues(RubricQuality.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationRubricCollectionResponse.cs b/src/generated/Models/EducationRubricCollectionResponse.cs index 0e14adb9dd..d53204cf7b 100644 --- a/src/generated/Models/EducationRubricCollectionResponse.cs +++ b/src/generated/Models/EducationRubricCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationRubricCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationRubricCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationRubric.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationRubric.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationRubricOutcome.cs b/src/generated/Models/EducationRubricOutcome.cs index bab2872e22..82790046a8 100644 --- a/src/generated/Models/EducationRubricOutcome.cs +++ b/src/generated/Models/EducationRubricOutcome.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationRubricOutcome : EducationOutcome, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationRubricOutcome : EducationOutcome, IParsable + #pragma warning restore CS1591 { /// A copy of the rubricQualityFeedback property that is made when the grade is released to the student. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -64,10 +67,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"publishedRubricQualityFeedback", n => { PublishedRubricQualityFeedback = n.GetCollectionOfObjectValues(RubricQualityFeedbackModel.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publishedRubricQualitySelectedLevels", n => { PublishedRubricQualitySelectedLevels = n.GetCollectionOfObjectValues(RubricQualitySelectedColumnModel.CreateFromDiscriminatorValue)?.ToList(); } }, - {"rubricQualityFeedback", n => { RubricQualityFeedback = n.GetCollectionOfObjectValues(RubricQualityFeedbackModel.CreateFromDiscriminatorValue)?.ToList(); } }, - {"rubricQualitySelectedLevels", n => { RubricQualitySelectedLevels = n.GetCollectionOfObjectValues(RubricQualitySelectedColumnModel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publishedRubricQualityFeedback", n => { PublishedRubricQualityFeedback = n.GetCollectionOfObjectValues(RubricQualityFeedbackModel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publishedRubricQualitySelectedLevels", n => { PublishedRubricQualitySelectedLevels = n.GetCollectionOfObjectValues(RubricQualitySelectedColumnModel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "rubricQualityFeedback", n => { RubricQualityFeedback = n.GetCollectionOfObjectValues(RubricQualityFeedbackModel.CreateFromDiscriminatorValue)?.ToList(); } }, + { "rubricQualitySelectedLevels", n => { RubricQualitySelectedLevels = n.GetCollectionOfObjectValues(RubricQualitySelectedColumnModel.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationSchool.cs b/src/generated/Models/EducationSchool.cs index c2f7ec426d..ae5a8413c5 100644 --- a/src/generated/Models/EducationSchool.cs +++ b/src/generated/Models/EducationSchool.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSchool : EducationOrganization, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSchool : EducationOrganization, IParsable + #pragma warning restore CS1591 { /// Address of the school. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,20 +147,20 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"address", n => { Address = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"administrativeUnit", n => { AdministrativeUnit = n.GetObjectValue(ApiSdk.Models.AdministrativeUnit.CreateFromDiscriminatorValue); } }, - {"classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"externalPrincipalId", n => { ExternalPrincipalId = n.GetStringValue(); } }, - {"fax", n => { Fax = n.GetStringValue(); } }, - {"highestGrade", n => { HighestGrade = n.GetStringValue(); } }, - {"lowestGrade", n => { LowestGrade = n.GetStringValue(); } }, - {"phone", n => { Phone = n.GetStringValue(); } }, - {"principalEmail", n => { PrincipalEmail = n.GetStringValue(); } }, - {"principalName", n => { PrincipalName = n.GetStringValue(); } }, - {"schoolNumber", n => { SchoolNumber = n.GetStringValue(); } }, - {"users", n => { Users = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "address", n => { Address = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "administrativeUnit", n => { AdministrativeUnit = n.GetObjectValue(ApiSdk.Models.AdministrativeUnit.CreateFromDiscriminatorValue); } }, + { "classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "externalPrincipalId", n => { ExternalPrincipalId = n.GetStringValue(); } }, + { "fax", n => { Fax = n.GetStringValue(); } }, + { "highestGrade", n => { HighestGrade = n.GetStringValue(); } }, + { "lowestGrade", n => { LowestGrade = n.GetStringValue(); } }, + { "phone", n => { Phone = n.GetStringValue(); } }, + { "principalEmail", n => { PrincipalEmail = n.GetStringValue(); } }, + { "principalName", n => { PrincipalName = n.GetStringValue(); } }, + { "schoolNumber", n => { SchoolNumber = n.GetStringValue(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationSchoolCollectionResponse.cs b/src/generated/Models/EducationSchoolCollectionResponse.cs index 1e480a6649..029b553314 100644 --- a/src/generated/Models/EducationSchoolCollectionResponse.cs +++ b/src/generated/Models/EducationSchoolCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSchoolCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSchoolCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationStudent.cs b/src/generated/Models/EducationStudent.cs index 3648c49bca..7519e5ecf2 100644 --- a/src/generated/Models/EducationStudent.cs +++ b/src/generated/Models/EducationStudent.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationStudent : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationStudent : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -79,13 +82,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"birthDate", n => { BirthDate = n.GetDateValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"gender", n => { Gender = n.GetEnumValue(); } }, - {"grade", n => { Grade = n.GetStringValue(); } }, - {"graduationYear", n => { GraduationYear = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"studentNumber", n => { StudentNumber = n.GetStringValue(); } }, + { "birthDate", n => { BirthDate = n.GetDateValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "gender", n => { Gender = n.GetEnumValue(); } }, + { "grade", n => { Grade = n.GetStringValue(); } }, + { "graduationYear", n => { GraduationYear = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "studentNumber", n => { StudentNumber = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmission.cs b/src/generated/Models/EducationSubmission.cs index 3ce7d8c7b6..511b12d29d 100644 --- a/src/generated/Models/EducationSubmission.cs +++ b/src/generated/Models/EducationSubmission.cs @@ -4,9 +4,22 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmission : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmission : Entity, IParsable + #pragma warning restore CS1591 { + /// The user that marked the submission as excused. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public IdentitySet? ExcusedBy { get; private set; } +#nullable restore +#else + public IdentitySet ExcusedBy { get; private set; } +#endif + /// The time that the submission was excused. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? ExcusedDateTime { get; private set; } /// The outcomes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -59,7 +72,7 @@ public class EducationSubmission : Entity, IParsable #endif /// Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? ReturnedDateTime { get; private set; } - /// Read-only. Possible values are: working, submitted, returned, and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reassigned. + /// Read-only. Possible values are: excused, reassigned, returned, submitted and working. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. public EducationSubmissionStatus? Status { get; private set; } /// User who moved the resource into the submitted state. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,21 +128,23 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"outcomes", n => { Outcomes = n.GetCollectionOfObjectValues(EducationOutcome.CreateFromDiscriminatorValue)?.ToList(); } }, - {"reassignedBy", n => { ReassignedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"reassignedDateTime", n => { ReassignedDateTime = n.GetDateTimeOffsetValue(); } }, - {"recipient", n => { Recipient = n.GetObjectValue(EducationSubmissionRecipient.CreateFromDiscriminatorValue); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, - {"returnedBy", n => { ReturnedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"returnedDateTime", n => { ReturnedDateTime = n.GetDateTimeOffsetValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"submittedBy", n => { SubmittedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"submittedDateTime", n => { SubmittedDateTime = n.GetDateTimeOffsetValue(); } }, - {"submittedResources", n => { SubmittedResources = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"unsubmittedBy", n => { UnsubmittedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"unsubmittedDateTime", n => { UnsubmittedDateTime = n.GetDateTimeOffsetValue(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "excusedBy", n => { ExcusedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "excusedDateTime", n => { ExcusedDateTime = n.GetDateTimeOffsetValue(); } }, + { "outcomes", n => { Outcomes = n.GetCollectionOfObjectValues(EducationOutcome.CreateFromDiscriminatorValue)?.ToList(); } }, + { "reassignedBy", n => { ReassignedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "reassignedDateTime", n => { ReassignedDateTime = n.GetDateTimeOffsetValue(); } }, + { "recipient", n => { Recipient = n.GetObjectValue(EducationSubmissionRecipient.CreateFromDiscriminatorValue); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourcesFolderUrl", n => { ResourcesFolderUrl = n.GetStringValue(); } }, + { "returnedBy", n => { ReturnedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "returnedDateTime", n => { ReturnedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "submittedBy", n => { SubmittedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "submittedDateTime", n => { SubmittedDateTime = n.GetDateTimeOffsetValue(); } }, + { "submittedResources", n => { SubmittedResources = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "unsubmittedBy", n => { UnsubmittedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "unsubmittedDateTime", n => { UnsubmittedDateTime = n.GetDateTimeOffsetValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionCollectionResponse.cs b/src/generated/Models/EducationSubmissionCollectionResponse.cs index 025d4efa20..ccec442255 100644 --- a/src/generated/Models/EducationSubmissionCollectionResponse.cs +++ b/src/generated/Models/EducationSubmissionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmissionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmissionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationSubmission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationSubmission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionIndividualRecipient.cs b/src/generated/Models/EducationSubmissionIndividualRecipient.cs index 69bd08c9a7..1b14f7353d 100644 --- a/src/generated/Models/EducationSubmissionIndividualRecipient.cs +++ b/src/generated/Models/EducationSubmissionIndividualRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmissionIndividualRecipient : EducationSubmissionRecipient, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmissionIndividualRecipient : EducationSubmissionRecipient, IParsable + #pragma warning restore CS1591 { /// User ID of the user to whom the submission is assigned. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"userId", n => { UserId = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionRecipient.cs b/src/generated/Models/EducationSubmissionRecipient.cs index ac1cf5cc60..d44277ff08 100644 --- a/src/generated/Models/EducationSubmissionRecipient.cs +++ b/src/generated/Models/EducationSubmissionRecipient.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmissionRecipient : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmissionRecipient : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -47,7 +50,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionResource.cs b/src/generated/Models/EducationSubmissionResource.cs index 22d5a0d513..5092135f46 100644 --- a/src/generated/Models/EducationSubmissionResource.cs +++ b/src/generated/Models/EducationSubmissionResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmissionResource : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmissionResource : Entity, IParsable + #pragma warning restore CS1591 { /// Pointer to the assignment from which the resource was copied, and if null, the student uploaded the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,8 +44,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"assignmentResourceUrl", n => { AssignmentResourceUrl = n.GetStringValue(); } }, - {"resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, + { "assignmentResourceUrl", n => { AssignmentResourceUrl = n.GetStringValue(); } }, + { "resource", n => { Resource = n.GetObjectValue(EducationResource.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionResourceCollectionResponse.cs b/src/generated/Models/EducationSubmissionResourceCollectionResponse.cs index f1f2b9fc53..200d7294fe 100644 --- a/src/generated/Models/EducationSubmissionResourceCollectionResponse.cs +++ b/src/generated/Models/EducationSubmissionResourceCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationSubmissionResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationSubmissionResourceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationSubmissionResource.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationSubmissionStatus.cs b/src/generated/Models/EducationSubmissionStatus.cs index f5b750190c..b9de759cfd 100644 --- a/src/generated/Models/EducationSubmissionStatus.cs +++ b/src/generated/Models/EducationSubmissionStatus.cs @@ -1,20 +1,39 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationSubmissionStatus + #pragma warning restore CS1591 { [EnumMember(Value = "working")] + #pragma warning disable CS1591 Working, + #pragma warning restore CS1591 [EnumMember(Value = "submitted")] + #pragma warning disable CS1591 Submitted, + #pragma warning restore CS1591 [EnumMember(Value = "released")] + #pragma warning disable CS1591 Released, + #pragma warning restore CS1591 [EnumMember(Value = "returned")] + #pragma warning disable CS1591 Returned, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "reassigned")] + #pragma warning disable CS1591 Reassigned, + #pragma warning restore CS1591 + [EnumMember(Value = "excused")] + #pragma warning disable CS1591 + Excused, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationTeacher.cs b/src/generated/Models/EducationTeacher.cs index eee848094a..30ce5fffa3 100644 --- a/src/generated/Models/EducationTeacher.cs +++ b/src/generated/Models/EducationTeacher.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationTeacher : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationTeacher : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"teacherNumber", n => { TeacherNumber = n.GetStringValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "teacherNumber", n => { TeacherNumber = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationTeamsAppResource.cs b/src/generated/Models/EducationTeamsAppResource.cs index b5806b8390..43c44876af 100644 --- a/src/generated/Models/EducationTeamsAppResource.cs +++ b/src/generated/Models/EducationTeamsAppResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationTeamsAppResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationTeamsAppResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// URL that points to the icon of the app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -64,10 +67,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appIconWebUrl", n => { AppIconWebUrl = n.GetStringValue(); } }, - {"appId", n => { AppId = n.GetStringValue(); } }, - {"teamsEmbeddedContentUrl", n => { TeamsEmbeddedContentUrl = n.GetStringValue(); } }, - {"webUrl", n => { WebUrl = n.GetStringValue(); } }, + { "appIconWebUrl", n => { AppIconWebUrl = n.GetStringValue(); } }, + { "appId", n => { AppId = n.GetStringValue(); } }, + { "teamsEmbeddedContentUrl", n => { TeamsEmbeddedContentUrl = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationTerm.cs b/src/generated/Models/EducationTerm.cs index 1deae0dabe..bb8002c671 100644 --- a/src/generated/Models/EducationTerm.cs +++ b/src/generated/Models/EducationTerm.cs @@ -5,8 +5,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationTerm : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationTerm : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -63,11 +66,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"endDate", n => { EndDate = n.GetDateValue(); } }, - {"externalId", n => { ExternalId = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"startDate", n => { StartDate = n.GetDateValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endDate", n => { EndDate = n.GetDateValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDate", n => { StartDate = n.GetDateValue(); } }, }; } /// diff --git a/src/generated/Models/EducationUser.cs b/src/generated/Models/EducationUser.cs index 348c77fb41..b2f1d9f064 100644 --- a/src/generated/Models/EducationUser.cs +++ b/src/generated/Models/EducationUser.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationUser : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationUser : Entity, IParsable + #pragma warning restore CS1591 { /// True if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. public bool? AccountEnabled { get; set; } @@ -131,7 +134,7 @@ public class EducationUser : Entity, IParsable #else public string MobilePhone { get; set; } #endif - /// The officeLocation property + /// The office location for the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OfficeLocation { get; set; } @@ -181,7 +184,7 @@ public class EducationUser : Entity, IParsable #else public List ProvisionedPlans { get; set; } #endif - /// The refreshTokensValidFromDateTime property + /// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by requesting the authorized endpoint. Returned only on $select. Read-only. public DateTimeOffset? RefreshTokensValidFromDateTime { get; set; } /// Related records associated with the user. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -299,44 +302,44 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, - {"assignedLicenses", n => { AssignedLicenses = n.GetCollectionOfObjectValues(AssignedLicense.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignedPlans", n => { AssignedPlans = n.GetCollectionOfObjectValues(AssignedPlan.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"businessPhones", n => { BusinessPhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, - {"createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, - {"department", n => { Department = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"externalSource", n => { ExternalSource = n.GetEnumValue(); } }, - {"externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, - {"givenName", n => { GivenName = n.GetStringValue(); } }, - {"mail", n => { Mail = n.GetStringValue(); } }, - {"mailNickname", n => { MailNickname = n.GetStringValue(); } }, - {"mailingAddress", n => { MailingAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"middleName", n => { MiddleName = n.GetStringValue(); } }, - {"mobilePhone", n => { MobilePhone = n.GetStringValue(); } }, - {"officeLocation", n => { OfficeLocation = n.GetStringValue(); } }, - {"onPremisesInfo", n => { OnPremisesInfo = n.GetObjectValue(EducationOnPremisesInfo.CreateFromDiscriminatorValue); } }, - {"passwordPolicies", n => { PasswordPolicies = n.GetStringValue(); } }, - {"passwordProfile", n => { PasswordProfile = n.GetObjectValue(ApiSdk.Models.PasswordProfile.CreateFromDiscriminatorValue); } }, - {"preferredLanguage", n => { PreferredLanguage = n.GetStringValue(); } }, - {"primaryRole", n => { PrimaryRole = n.GetEnumValue(); } }, - {"provisionedPlans", n => { ProvisionedPlans = n.GetCollectionOfObjectValues(ProvisionedPlan.CreateFromDiscriminatorValue)?.ToList(); } }, - {"refreshTokensValidFromDateTime", n => { RefreshTokensValidFromDateTime = n.GetDateTimeOffsetValue(); } }, - {"relatedContacts", n => { RelatedContacts = n.GetCollectionOfObjectValues(RelatedContact.CreateFromDiscriminatorValue)?.ToList(); } }, - {"residenceAddress", n => { ResidenceAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, - {"rubrics", n => { Rubrics = n.GetCollectionOfObjectValues(EducationRubric.CreateFromDiscriminatorValue)?.ToList(); } }, - {"schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, - {"showInAddressList", n => { ShowInAddressList = n.GetBoolValue(); } }, - {"student", n => { Student = n.GetObjectValue(EducationStudent.CreateFromDiscriminatorValue); } }, - {"surname", n => { Surname = n.GetStringValue(); } }, - {"taughtClasses", n => { TaughtClasses = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, - {"teacher", n => { Teacher = n.GetObjectValue(EducationTeacher.CreateFromDiscriminatorValue); } }, - {"usageLocation", n => { UsageLocation = n.GetStringValue(); } }, - {"user", n => { User = n.GetObjectValue(ApiSdk.Models.User.CreateFromDiscriminatorValue); } }, - {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - {"userType", n => { UserType = n.GetStringValue(); } }, + { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, + { "assignedLicenses", n => { AssignedLicenses = n.GetCollectionOfObjectValues(AssignedLicense.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignedPlans", n => { AssignedPlans = n.GetCollectionOfObjectValues(AssignedPlan.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(EducationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "businessPhones", n => { BusinessPhones = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "classes", n => { Classes = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(IdentitySet.CreateFromDiscriminatorValue); } }, + { "department", n => { Department = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "externalSource", n => { ExternalSource = n.GetEnumValue(); } }, + { "externalSourceDetail", n => { ExternalSourceDetail = n.GetStringValue(); } }, + { "givenName", n => { GivenName = n.GetStringValue(); } }, + { "mail", n => { Mail = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "mailingAddress", n => { MailingAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "middleName", n => { MiddleName = n.GetStringValue(); } }, + { "mobilePhone", n => { MobilePhone = n.GetStringValue(); } }, + { "officeLocation", n => { OfficeLocation = n.GetStringValue(); } }, + { "onPremisesInfo", n => { OnPremisesInfo = n.GetObjectValue(EducationOnPremisesInfo.CreateFromDiscriminatorValue); } }, + { "passwordPolicies", n => { PasswordPolicies = n.GetStringValue(); } }, + { "passwordProfile", n => { PasswordProfile = n.GetObjectValue(ApiSdk.Models.PasswordProfile.CreateFromDiscriminatorValue); } }, + { "preferredLanguage", n => { PreferredLanguage = n.GetStringValue(); } }, + { "primaryRole", n => { PrimaryRole = n.GetEnumValue(); } }, + { "provisionedPlans", n => { ProvisionedPlans = n.GetCollectionOfObjectValues(ProvisionedPlan.CreateFromDiscriminatorValue)?.ToList(); } }, + { "refreshTokensValidFromDateTime", n => { RefreshTokensValidFromDateTime = n.GetDateTimeOffsetValue(); } }, + { "relatedContacts", n => { RelatedContacts = n.GetCollectionOfObjectValues(RelatedContact.CreateFromDiscriminatorValue)?.ToList(); } }, + { "residenceAddress", n => { ResidenceAddress = n.GetObjectValue(PhysicalAddress.CreateFromDiscriminatorValue); } }, + { "rubrics", n => { Rubrics = n.GetCollectionOfObjectValues(EducationRubric.CreateFromDiscriminatorValue)?.ToList(); } }, + { "schools", n => { Schools = n.GetCollectionOfObjectValues(EducationSchool.CreateFromDiscriminatorValue)?.ToList(); } }, + { "showInAddressList", n => { ShowInAddressList = n.GetBoolValue(); } }, + { "student", n => { Student = n.GetObjectValue(EducationStudent.CreateFromDiscriminatorValue); } }, + { "surname", n => { Surname = n.GetStringValue(); } }, + { "taughtClasses", n => { TaughtClasses = n.GetCollectionOfObjectValues(EducationClass.CreateFromDiscriminatorValue)?.ToList(); } }, + { "teacher", n => { Teacher = n.GetObjectValue(EducationTeacher.CreateFromDiscriminatorValue); } }, + { "usageLocation", n => { UsageLocation = n.GetStringValue(); } }, + { "user", n => { User = n.GetObjectValue(ApiSdk.Models.User.CreateFromDiscriminatorValue); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + { "userType", n => { UserType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EducationUserCollectionResponse.cs b/src/generated/Models/EducationUserCollectionResponse.cs index 403dfff6f6..4e0290728b 100644 --- a/src/generated/Models/EducationUserCollectionResponse.cs +++ b/src/generated/Models/EducationUserCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationUserCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationUserCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EducationUser.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EducationUserRole.cs b/src/generated/Models/EducationUserRole.cs index 4852d3cd40..6ef9396406 100644 --- a/src/generated/Models/EducationUserRole.cs +++ b/src/generated/Models/EducationUserRole.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EducationUserRole + #pragma warning restore CS1591 { [EnumMember(Value = "student")] + #pragma warning disable CS1591 Student, + #pragma warning restore CS1591 [EnumMember(Value = "teacher")] + #pragma warning disable CS1591 Teacher, + #pragma warning restore CS1591 [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EducationWordResource.cs b/src/generated/Models/EducationWordResource.cs index 77048409df..543758e8cc 100644 --- a/src/generated/Models/EducationWordResource.cs +++ b/src/generated/Models/EducationWordResource.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EducationWordResource : EducationResource, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EducationWordResource : EducationResource, IParsable + #pragma warning restore CS1591 { /// Location of the file on disk. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fileUrl", n => { FileUrl = n.GetStringValue(); } }, + { "fileUrl", n => { FileUrl = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailAddress.cs b/src/generated/Models/EmailAddress.cs index 262ab63086..f3f116c573 100644 --- a/src/generated/Models/EmailAddress.cs +++ b/src/generated/Models/EmailAddress.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailAddress : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailAddress : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"address", n => { Address = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "address", n => { Address = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailAuthenticationMethod.cs b/src/generated/Models/EmailAuthenticationMethod.cs index 9944484094..8b382b83b2 100644 --- a/src/generated/Models/EmailAuthenticationMethod.cs +++ b/src/generated/Models/EmailAuthenticationMethod.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailAuthenticationMethod : AuthenticationMethod, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailAuthenticationMethod : AuthenticationMethod, IParsable + #pragma warning restore CS1591 { /// The email address registered to this user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailAuthenticationMethodCollectionResponse.cs b/src/generated/Models/EmailAuthenticationMethodCollectionResponse.cs index b2f8faf512..4d2d55e589 100644 --- a/src/generated/Models/EmailAuthenticationMethodCollectionResponse.cs +++ b/src/generated/Models/EmailAuthenticationMethodCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailAuthenticationMethodCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailAuthenticationMethodCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EmailAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EmailAuthenticationMethod.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EmailAuthenticationMethodConfiguration.cs b/src/generated/Models/EmailAuthenticationMethodConfiguration.cs index 47d8555b63..08663e89af 100644 --- a/src/generated/Models/EmailAuthenticationMethodConfiguration.cs +++ b/src/generated/Models/EmailAuthenticationMethodConfiguration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailAuthenticationMethodConfiguration : AuthenticationMethodConfiguration, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailAuthenticationMethodConfiguration : AuthenticationMethodConfiguration, IParsable + #pragma warning restore CS1591 { /// Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. public ExternalEmailOtpState? AllowExternalIdToUseEmailOtp { get; set; } @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowExternalIdToUseEmailOtp", n => { AllowExternalIdToUseEmailOtp = n.GetEnumValue(); } }, - {"includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.ToList(); } }, + { "allowExternalIdToUseEmailOtp", n => { AllowExternalIdToUseEmailOtp = n.GetEnumValue(); } }, + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EmailFileAssessmentRequest.cs b/src/generated/Models/EmailFileAssessmentRequest.cs index 98a7aff5d8..a24d750b9b 100644 --- a/src/generated/Models/EmailFileAssessmentRequest.cs +++ b/src/generated/Models/EmailFileAssessmentRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailFileAssessmentRequest : ThreatAssessmentRequest, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailFileAssessmentRequest : ThreatAssessmentRequest, IParsable + #pragma warning restore CS1591 { /// Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -50,9 +53,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"contentData", n => { ContentData = n.GetStringValue(); } }, - {"destinationRoutingReason", n => { DestinationRoutingReason = n.GetEnumValue(); } }, - {"recipientEmail", n => { RecipientEmail = n.GetStringValue(); } }, + { "contentData", n => { ContentData = n.GetStringValue(); } }, + { "destinationRoutingReason", n => { DestinationRoutingReason = n.GetEnumValue(); } }, + { "recipientEmail", n => { RecipientEmail = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailIdentity.cs b/src/generated/Models/EmailIdentity.cs index b2acb90d66..7ae0deef2a 100644 --- a/src/generated/Models/EmailIdentity.cs +++ b/src/generated/Models/EmailIdentity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailIdentity : Identity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailIdentity : Identity, IParsable + #pragma warning restore CS1591 { /// Email address of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -40,7 +43,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"email", n => { Email = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailPayloadDetail.cs b/src/generated/Models/EmailPayloadDetail.cs index 0864895e16..c30d465f6e 100644 --- a/src/generated/Models/EmailPayloadDetail.cs +++ b/src/generated/Models/EmailPayloadDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailPayloadDetail : PayloadDetail, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailPayloadDetail : PayloadDetail, IParsable + #pragma warning restore CS1591 { /// Email address of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -58,10 +61,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"fromEmail", n => { FromEmail = n.GetStringValue(); } }, - {"fromName", n => { FromName = n.GetStringValue(); } }, - {"isExternalSender", n => { IsExternalSender = n.GetBoolValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, + { "fromEmail", n => { FromEmail = n.GetStringValue(); } }, + { "fromName", n => { FromName = n.GetStringValue(); } }, + { "isExternalSender", n => { IsExternalSender = n.GetBoolValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmailRole.cs b/src/generated/Models/EmailRole.cs index e6401c0207..de403fd6f8 100644 --- a/src/generated/Models/EmailRole.cs +++ b/src/generated/Models/EmailRole.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EmailRole + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "sender")] + #pragma warning disable CS1591 Sender, + #pragma warning restore CS1591 [EnumMember(Value = "recipient")] + #pragma warning disable CS1591 Recipient, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EmailSettings.cs b/src/generated/Models/EmailSettings.cs index 9617d3a32e..0dd2a1b35c 100644 --- a/src/generated/Models/EmailSettings.cs +++ b/src/generated/Models/EmailSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmailSettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmailSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"senderDomain", n => { SenderDomain = n.GetStringValue(); } }, - {"useCompanyBranding", n => { UseCompanyBranding = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "senderDomain", n => { SenderDomain = n.GetStringValue(); } }, + { "useCompanyBranding", n => { UseCompanyBranding = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/EmployeeExperience.cs b/src/generated/Models/EmployeeExperience.cs index c6dc59fc08..cac714f8ed 100644 --- a/src/generated/Models/EmployeeExperience.cs +++ b/src/generated/Models/EmployeeExperience.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmployeeExperience : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmployeeExperience : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(LearningCourseActivity.CreateFromDiscriminatorValue)?.ToList(); } }, - {"learningProviders", n => { LearningProviders = n.GetCollectionOfObjectValues(LearningProvider.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(LearningCourseActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "learningProviders", n => { LearningProviders = n.GetCollectionOfObjectValues(LearningProvider.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EmployeeExperienceUser.cs b/src/generated/Models/EmployeeExperienceUser.cs index f2326497ea..07f063edf5 100644 --- a/src/generated/Models/EmployeeExperienceUser.cs +++ b/src/generated/Models/EmployeeExperienceUser.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmployeeExperienceUser : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmployeeExperienceUser : Entity, IParsable + #pragma warning restore CS1591 { /// The learningCourseActivities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(LearningCourseActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(LearningCourseActivity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EmployeeOrgData.cs b/src/generated/Models/EmployeeOrgData.cs index 820189ef43..dd6005a89e 100644 --- a/src/generated/Models/EmployeeOrgData.cs +++ b/src/generated/Models/EmployeeOrgData.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EmployeeOrgData : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EmployeeOrgData : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"costCenter", n => { CostCenter = n.GetStringValue(); } }, - {"division", n => { Division = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "costCenter", n => { CostCenter = n.GetStringValue(); } }, + { "division", n => { Division = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/Enablement.cs b/src/generated/Models/Enablement.cs index 453d0f5b7a..4d4ced4c2b 100644 --- a/src/generated/Models/Enablement.cs +++ b/src/generated/Models/Enablement.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// Possible values of a property public enum Enablement { diff --git a/src/generated/Models/EndUserNotification.cs b/src/generated/Models/EndUserNotification.cs index 064a930570..3c903697fe 100644 --- a/src/generated/Models/EndUserNotification.cs +++ b/src/generated/Models/EndUserNotification.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndUserNotification : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndUserNotification : Entity, IParsable + #pragma warning restore CS1591 { /// Identity of the user who created the notification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -83,17 +86,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"createdBy", n => { CreatedBy = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, - {"createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"details", n => { Details = n.GetCollectionOfObjectValues(EndUserNotificationDetail.CreateFromDiscriminatorValue)?.ToList(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, - {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - {"notificationType", n => { NotificationType = n.GetEnumValue(); } }, - {"source", n => { Source = n.GetEnumValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"supportedLocales", n => { SupportedLocales = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "details", n => { Details = n.GetCollectionOfObjectValues(EndUserNotificationDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "notificationType", n => { NotificationType = n.GetEnumValue(); } }, + { "source", n => { Source = n.GetEnumValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "supportedLocales", n => { SupportedLocales = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EndUserNotificationCollectionResponse.cs b/src/generated/Models/EndUserNotificationCollectionResponse.cs index 97354bd178..1d22bce0cf 100644 --- a/src/generated/Models/EndUserNotificationCollectionResponse.cs +++ b/src/generated/Models/EndUserNotificationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndUserNotificationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndUserNotificationCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EndUserNotification.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EndUserNotification.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EndUserNotificationDetail.cs b/src/generated/Models/EndUserNotificationDetail.cs index fe713dbc8c..f757acf981 100644 --- a/src/generated/Models/EndUserNotificationDetail.cs +++ b/src/generated/Models/EndUserNotificationDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndUserNotificationDetail : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndUserNotificationDetail : Entity, IParsable + #pragma warning restore CS1591 { /// Email HTML content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -67,12 +70,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"emailContent", n => { EmailContent = n.GetStringValue(); } }, - {"isDefaultLangauge", n => { IsDefaultLangauge = n.GetBoolValue(); } }, - {"language", n => { Language = n.GetStringValue(); } }, - {"locale", n => { Locale = n.GetStringValue(); } }, - {"sentFrom", n => { SentFrom = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, + { "emailContent", n => { EmailContent = n.GetStringValue(); } }, + { "isDefaultLangauge", n => { IsDefaultLangauge = n.GetBoolValue(); } }, + { "language", n => { Language = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "sentFrom", n => { SentFrom = n.GetObjectValue(EmailIdentity.CreateFromDiscriminatorValue); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EndUserNotificationDetailCollectionResponse.cs b/src/generated/Models/EndUserNotificationDetailCollectionResponse.cs index 651eadc234..bc173ced6d 100644 --- a/src/generated/Models/EndUserNotificationDetailCollectionResponse.cs +++ b/src/generated/Models/EndUserNotificationDetailCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndUserNotificationDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndUserNotificationDetailCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EndUserNotificationDetail.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EndUserNotificationDetail.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EndUserNotificationPreference.cs b/src/generated/Models/EndUserNotificationPreference.cs index fd2a5109a8..69123976a3 100644 --- a/src/generated/Models/EndUserNotificationPreference.cs +++ b/src/generated/Models/EndUserNotificationPreference.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EndUserNotificationPreference + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "microsoft")] + #pragma warning disable CS1591 Microsoft, + #pragma warning restore CS1591 [EnumMember(Value = "custom")] + #pragma warning disable CS1591 Custom, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EndUserNotificationSetting.cs b/src/generated/Models/EndUserNotificationSetting.cs index 4745863e84..e0860df3b8 100644 --- a/src/generated/Models/EndUserNotificationSetting.cs +++ b/src/generated/Models/EndUserNotificationSetting.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndUserNotificationSetting : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndUserNotificationSetting : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"notificationPreference", n => { NotificationPreference = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"positiveReinforcement", n => { PositiveReinforcement = n.GetObjectValue(PositiveReinforcementNotification.CreateFromDiscriminatorValue); } }, - {"settingType", n => { SettingType = n.GetEnumValue(); } }, + { "notificationPreference", n => { NotificationPreference = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "positiveReinforcement", n => { PositiveReinforcement = n.GetObjectValue(PositiveReinforcementNotification.CreateFromDiscriminatorValue); } }, + { "settingType", n => { SettingType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EndUserNotificationSettingType.cs b/src/generated/Models/EndUserNotificationSettingType.cs index c0893bc57a..7f056f7991 100644 --- a/src/generated/Models/EndUserNotificationSettingType.cs +++ b/src/generated/Models/EndUserNotificationSettingType.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EndUserNotificationSettingType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "noTraining")] + #pragma warning disable CS1591 NoTraining, + #pragma warning restore CS1591 [EnumMember(Value = "trainingSelected")] + #pragma warning disable CS1591 TrainingSelected, + #pragma warning restore CS1591 [EnumMember(Value = "noNotification")] + #pragma warning disable CS1591 NoNotification, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EndUserNotificationType.cs b/src/generated/Models/EndUserNotificationType.cs index 832109de21..0198c79577 100644 --- a/src/generated/Models/EndUserNotificationType.cs +++ b/src/generated/Models/EndUserNotificationType.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EndUserNotificationType + #pragma warning restore CS1591 { [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 Unknown, + #pragma warning restore CS1591 [EnumMember(Value = "positiveReinforcement")] + #pragma warning disable CS1591 PositiveReinforcement, + #pragma warning restore CS1591 [EnumMember(Value = "noTraining")] + #pragma warning disable CS1591 NoTraining, + #pragma warning restore CS1591 [EnumMember(Value = "trainingAssignment")] + #pragma warning disable CS1591 TrainingAssignment, + #pragma warning restore CS1591 [EnumMember(Value = "trainingReminder")] + #pragma warning disable CS1591 TrainingReminder, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/Endpoint.cs b/src/generated/Models/Endpoint.cs index 5df40a7d0a..a8f78d312b 100644 --- a/src/generated/Models/Endpoint.cs +++ b/src/generated/Models/Endpoint.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Endpoint : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Endpoint : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// The capability property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -72,11 +75,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"capability", n => { Capability = n.GetStringValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"providerName", n => { ProviderName = n.GetStringValue(); } }, - {"providerResourceId", n => { ProviderResourceId = n.GetStringValue(); } }, - {"uri", n => { Uri = n.GetStringValue(); } }, + { "capability", n => { Capability = n.GetStringValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "providerName", n => { ProviderName = n.GetStringValue(); } }, + { "providerResourceId", n => { ProviderResourceId = n.GetStringValue(); } }, + { "uri", n => { Uri = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EndpointCollectionResponse.cs b/src/generated/Models/EndpointCollectionResponse.cs index bdd7714c81..89a255bd79 100644 --- a/src/generated/Models/EndpointCollectionResponse.cs +++ b/src/generated/Models/EndpointCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EndpointCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EndpointCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Endpoint.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Endpoint.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EndpointType.cs b/src/generated/Models/EndpointType.cs index 82459e5997..d82c964f9e 100644 --- a/src/generated/Models/EndpointType.cs +++ b/src/generated/Models/EndpointType.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EndpointType + #pragma warning restore CS1591 { [EnumMember(Value = "default")] + #pragma warning disable CS1591 Default, + #pragma warning restore CS1591 [EnumMember(Value = "voicemail")] + #pragma warning disable CS1591 Voicemail, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusiness")] + #pragma warning disable CS1591 SkypeForBusiness, + #pragma warning restore CS1591 [EnumMember(Value = "skypeForBusinessVoipPhone")] + #pragma warning disable CS1591 SkypeForBusinessVoipPhone, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EnrollmentConfigurationAssignment.cs b/src/generated/Models/EnrollmentConfigurationAssignment.cs index d2df737cd4..0799b18a9b 100644 --- a/src/generated/Models/EnrollmentConfigurationAssignment.cs +++ b/src/generated/Models/EnrollmentConfigurationAssignment.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Enrollment Configuration Assignment /// - public class EnrollmentConfigurationAssignment : Entity, IParsable + public class EnrollmentConfigurationAssignment : Entity, IParsable { /// Represents an assignment to managed devices in the tenant #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "target", n => { Target = n.GetObjectValue(DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EnrollmentConfigurationAssignmentCollectionResponse.cs b/src/generated/Models/EnrollmentConfigurationAssignmentCollectionResponse.cs index 7fe8f829b7..2a9e0ab90a 100644 --- a/src/generated/Models/EnrollmentConfigurationAssignmentCollectionResponse.cs +++ b/src/generated/Models/EnrollmentConfigurationAssignmentCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EnrollmentConfigurationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EnrollmentConfigurationAssignmentCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EnrollmentState.cs b/src/generated/Models/EnrollmentState.cs index c2501cc8fe..5205dd9c94 100644 --- a/src/generated/Models/EnrollmentState.cs +++ b/src/generated/Models/EnrollmentState.cs @@ -1,8 +1,11 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EnrollmentState + #pragma warning restore CS1591 { /// Device enrollment state is unknown [EnumMember(Value = "unknown")] diff --git a/src/generated/Models/EnrollmentTroubleshootingEvent.cs b/src/generated/Models/EnrollmentTroubleshootingEvent.cs index b55138f35a..48bd4ef454 100644 --- a/src/generated/Models/EnrollmentTroubleshootingEvent.cs +++ b/src/generated/Models/EnrollmentTroubleshootingEvent.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Event representing an enrollment failure. /// - public class EnrollmentTroubleshootingEvent : DeviceManagementTroubleshootingEvent, IParsable + public class EnrollmentTroubleshootingEvent : DeviceManagementTroubleshootingEvent, IParsable { /// Azure AD device identifier. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,14 +81,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"deviceId", n => { DeviceId = n.GetStringValue(); } }, - {"enrollmentType", n => { EnrollmentType = n.GetEnumValue(); } }, - {"failureCategory", n => { FailureCategory = n.GetEnumValue(); } }, - {"failureReason", n => { FailureReason = n.GetStringValue(); } }, - {"managedDeviceIdentifier", n => { ManagedDeviceIdentifier = n.GetStringValue(); } }, - {"operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, - {"osVersion", n => { OsVersion = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "enrollmentType", n => { EnrollmentType = n.GetEnumValue(); } }, + { "failureCategory", n => { FailureCategory = n.GetEnumValue(); } }, + { "failureReason", n => { FailureReason = n.GetStringValue(); } }, + { "managedDeviceIdentifier", n => { ManagedDeviceIdentifier = n.GetStringValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "osVersion", n => { OsVersion = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EnterpriseCodeSigningCertificate.cs b/src/generated/Models/EnterpriseCodeSigningCertificate.cs index 37b9ccf51c..46d69a21f6 100644 --- a/src/generated/Models/EnterpriseCodeSigningCertificate.cs +++ b/src/generated/Models/EnterpriseCodeSigningCertificate.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EnterpriseCodeSigningCertificate : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EnterpriseCodeSigningCertificate : Entity, IParsable + #pragma warning restore CS1591 { /// The Windows Enterprise Code-Signing Certificate in the raw data format. Set to null once certificate has been uploaded and other properties have been populated. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -71,14 +74,14 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"content", n => { Content = n.GetByteArrayValue(); } }, - {"expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, - {"issuer", n => { Issuer = n.GetStringValue(); } }, - {"issuerName", n => { IssuerName = n.GetStringValue(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, - {"subjectName", n => { SubjectName = n.GetStringValue(); } }, - {"uploadDateTime", n => { UploadDateTime = n.GetDateTimeOffsetValue(); } }, + { "content", n => { Content = n.GetByteArrayValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "issuer", n => { Issuer = n.GetStringValue(); } }, + { "issuerName", n => { IssuerName = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "subjectName", n => { SubjectName = n.GetStringValue(); } }, + { "uploadDateTime", n => { UploadDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/EntitlementManagement.cs b/src/generated/Models/EntitlementManagement.cs index 28dc101e19..8f328a6487 100644 --- a/src/generated/Models/EntitlementManagement.cs +++ b/src/generated/Models/EntitlementManagement.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EntitlementManagement : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EntitlementManagement : Entity, IParsable + #pragma warning restore CS1591 { /// Approval stages for decisions associated with access package assignment requests. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -121,18 +124,18 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"accessPackageAssignmentApprovals", n => { AccessPackageAssignmentApprovals = n.GetCollectionOfObjectValues(Approval.CreateFromDiscriminatorValue)?.ToList(); } }, - {"accessPackages", n => { AccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignmentPolicies", n => { AssignmentPolicies = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignmentRequests", n => { AssignmentRequests = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, - {"assignments", n => { Assignments = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"catalogs", n => { Catalogs = n.GetCollectionOfObjectValues(AccessPackageCatalog.CreateFromDiscriminatorValue)?.ToList(); } }, - {"connectedOrganizations", n => { ConnectedOrganizations = n.GetCollectionOfObjectValues(ConnectedOrganization.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourceEnvironments", n => { ResourceEnvironments = n.GetCollectionOfObjectValues(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourceRequests", n => { ResourceRequests = n.GetCollectionOfObjectValues(AccessPackageResourceRequest.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, - {"settings", n => { Settings = n.GetObjectValue(EntitlementManagementSettings.CreateFromDiscriminatorValue); } }, + { "accessPackageAssignmentApprovals", n => { AccessPackageAssignmentApprovals = n.GetCollectionOfObjectValues(Approval.CreateFromDiscriminatorValue)?.ToList(); } }, + { "accessPackages", n => { AccessPackages = n.GetCollectionOfObjectValues(AccessPackage.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignmentPolicies", n => { AssignmentPolicies = n.GetCollectionOfObjectValues(AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignmentRequests", n => { AssignmentRequests = n.GetCollectionOfObjectValues(AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(AccessPackageAssignment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "catalogs", n => { Catalogs = n.GetCollectionOfObjectValues(AccessPackageCatalog.CreateFromDiscriminatorValue)?.ToList(); } }, + { "connectedOrganizations", n => { ConnectedOrganizations = n.GetCollectionOfObjectValues(ConnectedOrganization.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourceEnvironments", n => { ResourceEnvironments = n.GetCollectionOfObjectValues(AccessPackageResourceEnvironment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourceRequests", n => { ResourceRequests = n.GetCollectionOfObjectValues(AccessPackageResourceRequest.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(AccessPackageResource.CreateFromDiscriminatorValue)?.ToList(); } }, + { "settings", n => { Settings = n.GetObjectValue(EntitlementManagementSettings.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/EntitlementManagementSchedule.cs b/src/generated/Models/EntitlementManagementSchedule.cs index 26982b158f..516205923e 100644 --- a/src/generated/Models/EntitlementManagementSchedule.cs +++ b/src/generated/Models/EntitlementManagementSchedule.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EntitlementManagementSchedule : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EntitlementManagementSchedule : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"expiration", n => { Expiration = n.GetObjectValue(ExpirationPattern.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "expiration", n => { Expiration = n.GetObjectValue(ExpirationPattern.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// diff --git a/src/generated/Models/EntitlementManagementSettings.cs b/src/generated/Models/EntitlementManagementSettings.cs index 930aee431e..0138c5998c 100644 --- a/src/generated/Models/EntitlementManagementSettings.cs +++ b/src/generated/Models/EntitlementManagementSettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EntitlementManagementSettings : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EntitlementManagementSettings : Entity, IParsable + #pragma warning restore CS1591 { /// If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically many days, after an external user is blocked from sign in before their account is deleted. public TimeSpan? DurationUntilExternalUserDeletedAfterBlocked { get; set; } @@ -29,8 +32,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"durationUntilExternalUserDeletedAfterBlocked", n => { DurationUntilExternalUserDeletedAfterBlocked = n.GetTimeSpanValue(); } }, - {"externalUserLifecycleAction", n => { ExternalUserLifecycleAction = n.GetEnumValue(); } }, + { "durationUntilExternalUserDeletedAfterBlocked", n => { DurationUntilExternalUserDeletedAfterBlocked = n.GetTimeSpanValue(); } }, + { "externalUserLifecycleAction", n => { ExternalUserLifecycleAction = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/Entity.cs b/src/generated/Models/Entity.cs index e0f1c34839..f019ea724f 100644 --- a/src/generated/Models/Entity.cs +++ b/src/generated/Models/Entity.cs @@ -12,8 +12,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Entity : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Entity : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -131,6 +134,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.authentication" => new Authentication(), "#microsoft.graph.authenticationCombinationConfiguration" => new AuthenticationCombinationConfiguration(), "#microsoft.graph.authenticationContextClassReference" => new AuthenticationContextClassReference(), + "#microsoft.graph.authenticationEventListener" => new AuthenticationEventListener(), "#microsoft.graph.authenticationFlowsPolicy" => new AuthenticationFlowsPolicy(), "#microsoft.graph.authenticationMethod" => new AuthenticationMethod(), "#microsoft.graph.authenticationMethodConfiguration" => new AuthenticationMethodConfiguration(), @@ -198,6 +202,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.columnDefinition" => new ColumnDefinition(), "#microsoft.graph.columnLink" => new ColumnLink(), "#microsoft.graph.commsOperation" => new CommsOperation(), + "#microsoft.graph.companySubscription" => new CompanySubscription(), "#microsoft.graph.complianceManagementPartner" => new ComplianceManagementPartner(), "#microsoft.graph.conditionalAccessPolicy" => new ConditionalAccessPolicy(), "#microsoft.graph.conditionalAccessRoot" => new ConditionalAccessRoot(), @@ -214,6 +219,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.countryNamedLocation" => new CountryNamedLocation(), "#microsoft.graph.crossTenantAccessPolicy" => new CrossTenantAccessPolicy(), "#microsoft.graph.crossTenantAccessPolicyConfigurationDefault" => new CrossTenantAccessPolicyConfigurationDefault(), + "#microsoft.graph.customAuthenticationExtension" => new CustomAuthenticationExtension(), "#microsoft.graph.customCalloutExtension" => new CustomCalloutExtension(), "#microsoft.graph.customExtensionStageSetting" => new CustomExtensionStageSetting(), "#microsoft.graph.customSecurityAttributeDefinition" => new CustomSecurityAttributeDefinition(), @@ -480,6 +486,11 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.mobileContainedApp" => new MobileContainedApp(), "#microsoft.graph.mobileLobApp" => new MobileLobApp(), "#microsoft.graph.mobileThreatDefenseConnector" => new MobileThreatDefenseConnector(), + "#microsoft.graph.multiTenantOrganization" => new MultiTenantOrganization(), + "#microsoft.graph.multiTenantOrganizationIdentitySyncPolicyTemplate" => new MultiTenantOrganizationIdentitySyncPolicyTemplate(), + "#microsoft.graph.multiTenantOrganizationJoinRequestRecord" => new MultiTenantOrganizationJoinRequestRecord(), + "#microsoft.graph.multiTenantOrganizationMember" => new MultiTenantOrganizationMember(), + "#microsoft.graph.multiTenantOrganizationPartnerConfigurationTemplate" => new MultiTenantOrganizationPartnerConfigurationTemplate(), "#microsoft.graph.multiValueLegacyExtendedProperty" => new MultiValueLegacyExtendedProperty(), "#microsoft.graph.muteParticipantOperation" => new MuteParticipantOperation(), "#microsoft.graph.namedLocation" => new NamedLocation(), @@ -500,6 +511,8 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.onlineMeetingBase" => new OnlineMeetingBase(), "#microsoft.graph.onPremisesConditionalAccessSettings" => new OnPremisesConditionalAccessSettings(), "#microsoft.graph.onPremisesDirectorySynchronization" => new OnPremisesDirectorySynchronization(), + "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new OnTokenIssuanceStartCustomExtension(), + "#microsoft.graph.onTokenIssuanceStartListener" => new OnTokenIssuanceStartListener(), "#microsoft.graph.openShift" => new OpenShift(), "#microsoft.graph.openShiftChangeRequest" => new OpenShiftChangeRequest(), "#microsoft.graph.openTypeExtension" => new OpenTypeExtension(), @@ -551,6 +564,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.playPromptOperation" => new PlayPromptOperation(), "#microsoft.graph.policyBase" => new PolicyBase(), "#microsoft.graph.policyRoot" => new PolicyRoot(), + "#microsoft.graph.policyTemplate" => new PolicyTemplate(), "#microsoft.graph.post" => new Post(), "#microsoft.graph.presence" => new Presence(), "#microsoft.graph.printConnector" => new PrintConnector(), @@ -653,6 +667,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.security.filePlanDescriptor" => new FilePlanDescriptor(), "#microsoft.graph.security.filePlanDescriptorTemplate" => new FilePlanDescriptorTemplate(), "#microsoft.graph.security.filePlanReferenceTemplate" => new ApiSdk.Models.Security.FilePlanReferenceTemplate(), + "#microsoft.graph.security.healthIssue" => new HealthIssue(), "#microsoft.graph.security.host" => new ApiSdk.Models.Security.Host(), "#microsoft.graph.security.hostComponent" => new HostComponent(), "#microsoft.graph.security.hostCookie" => new HostCookie(), @@ -662,6 +677,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) "#microsoft.graph.security.hostReputation" => new HostReputation(), "#microsoft.graph.security.hostSslCertificate" => new HostSslCertificate(), "#microsoft.graph.security.hostTracker" => new HostTracker(), + "#microsoft.graph.security.identityContainer" => new ApiSdk.Models.Security.IdentityContainer(), "#microsoft.graph.security.incident" => new Incident(), "#microsoft.graph.security.indicator" => new Indicator(), "#microsoft.graph.security.intelligenceProfile" => new IntelligenceProfile(), @@ -947,8 +963,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EntityType.cs b/src/generated/Models/EntityType.cs index fdb337f6d4..911cdb9695 100644 --- a/src/generated/Models/EntityType.cs +++ b/src/generated/Models/EntityType.cs @@ -1,34 +1,63 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EntityType + #pragma warning restore CS1591 { [EnumMember(Value = "event")] + #pragma warning disable CS1591 Event, + #pragma warning restore CS1591 [EnumMember(Value = "message")] + #pragma warning disable CS1591 Message, + #pragma warning restore CS1591 [EnumMember(Value = "driveItem")] + #pragma warning disable CS1591 DriveItem, + #pragma warning restore CS1591 [EnumMember(Value = "externalItem")] + #pragma warning disable CS1591 ExternalItem, + #pragma warning restore CS1591 [EnumMember(Value = "site")] + #pragma warning disable CS1591 Site, + #pragma warning restore CS1591 [EnumMember(Value = "list")] + #pragma warning disable CS1591 List, + #pragma warning restore CS1591 [EnumMember(Value = "listItem")] + #pragma warning disable CS1591 ListItem, + #pragma warning restore CS1591 [EnumMember(Value = "drive")] + #pragma warning disable CS1591 Drive, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "chatMessage")] + #pragma warning disable CS1591 ChatMessage, + #pragma warning restore CS1591 [EnumMember(Value = "person")] + #pragma warning disable CS1591 Person, + #pragma warning restore CS1591 [EnumMember(Value = "acronym")] + #pragma warning disable CS1591 Acronym, + #pragma warning restore CS1591 [EnumMember(Value = "bookmark")] + #pragma warning disable CS1591 Bookmark, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/EnumeratedDeviceRegistrationMembership.cs b/src/generated/Models/EnumeratedDeviceRegistrationMembership.cs index 49f94becb3..175ec98f0c 100644 --- a/src/generated/Models/EnumeratedDeviceRegistrationMembership.cs +++ b/src/generated/Models/EnumeratedDeviceRegistrationMembership.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EnumeratedDeviceRegistrationMembership : DeviceRegistrationMembership, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EnumeratedDeviceRegistrationMembership : DeviceRegistrationMembership, IParsable + #pragma warning restore CS1591 { /// The groups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"groups", n => { Groups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"users", n => { Users = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "groups", n => { Groups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "users", n => { Users = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Event.cs b/src/generated/Models/Event.cs index 97374893f0..36fc33ca1e 100644 --- a/src/generated/Models/Event.cs +++ b/src/generated/Models/Event.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Event : OutlookItem, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Event : OutlookItem, IParsable + #pragma warning restore CS1591 { /// true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. Default is true. public bool? AllowNewTimeProposals { get; set; } @@ -266,48 +269,48 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowNewTimeProposals", n => { AllowNewTimeProposals = n.GetBoolValue(); } }, - {"attachments", n => { Attachments = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } }, - {"attendees", n => { Attendees = n.GetCollectionOfObjectValues(Attendee.CreateFromDiscriminatorValue)?.ToList(); } }, - {"body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, - {"bodyPreview", n => { BodyPreview = n.GetStringValue(); } }, - {"calendar", n => { Calendar = n.GetObjectValue(ApiSdk.Models.Calendar.CreateFromDiscriminatorValue); } }, - {"end", n => { End = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, - {"hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, - {"hideAttendees", n => { HideAttendees = n.GetBoolValue(); } }, - {"iCalUId", n => { ICalUId = n.GetStringValue(); } }, - {"importance", n => { Importance = n.GetEnumValue(); } }, - {"instances", n => { Instances = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, - {"isAllDay", n => { IsAllDay = n.GetBoolValue(); } }, - {"isCancelled", n => { IsCancelled = n.GetBoolValue(); } }, - {"isDraft", n => { IsDraft = n.GetBoolValue(); } }, - {"isOnlineMeeting", n => { IsOnlineMeeting = n.GetBoolValue(); } }, - {"isOrganizer", n => { IsOrganizer = n.GetBoolValue(); } }, - {"isReminderOn", n => { IsReminderOn = n.GetBoolValue(); } }, - {"location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, - {"locations", n => { Locations = n.GetCollectionOfObjectValues(ApiSdk.Models.Location.CreateFromDiscriminatorValue)?.ToList(); } }, - {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"onlineMeeting", n => { OnlineMeeting = n.GetObjectValue(OnlineMeetingInfo.CreateFromDiscriminatorValue); } }, - {"onlineMeetingProvider", n => { OnlineMeetingProvider = n.GetEnumValue(); } }, - {"onlineMeetingUrl", n => { OnlineMeetingUrl = n.GetStringValue(); } }, - {"organizer", n => { Organizer = n.GetObjectValue(Recipient.CreateFromDiscriminatorValue); } }, - {"originalEndTimeZone", n => { OriginalEndTimeZone = n.GetStringValue(); } }, - {"originalStart", n => { OriginalStart = n.GetDateTimeOffsetValue(); } }, - {"originalStartTimeZone", n => { OriginalStartTimeZone = n.GetStringValue(); } }, - {"recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, - {"reminderMinutesBeforeStart", n => { ReminderMinutesBeforeStart = n.GetIntValue(); } }, - {"responseRequested", n => { ResponseRequested = n.GetBoolValue(); } }, - {"responseStatus", n => { ResponseStatus = n.GetObjectValue(ApiSdk.Models.ResponseStatus.CreateFromDiscriminatorValue); } }, - {"sensitivity", n => { Sensitivity = n.GetEnumValue(); } }, - {"seriesMasterId", n => { SeriesMasterId = n.GetStringValue(); } }, - {"showAs", n => { ShowAs = n.GetEnumValue(); } }, - {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, - {"start", n => { Start = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"subject", n => { Subject = n.GetStringValue(); } }, - {"transactionId", n => { TransactionId = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, - {"webLink", n => { WebLink = n.GetStringValue(); } }, + { "allowNewTimeProposals", n => { AllowNewTimeProposals = n.GetBoolValue(); } }, + { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attendees", n => { Attendees = n.GetCollectionOfObjectValues(Attendee.CreateFromDiscriminatorValue)?.ToList(); } }, + { "body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } }, + { "bodyPreview", n => { BodyPreview = n.GetStringValue(); } }, + { "calendar", n => { Calendar = n.GetObjectValue(ApiSdk.Models.Calendar.CreateFromDiscriminatorValue); } }, + { "end", n => { End = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } }, + { "hideAttendees", n => { HideAttendees = n.GetBoolValue(); } }, + { "iCalUId", n => { ICalUId = n.GetStringValue(); } }, + { "importance", n => { Importance = n.GetEnumValue(); } }, + { "instances", n => { Instances = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "isAllDay", n => { IsAllDay = n.GetBoolValue(); } }, + { "isCancelled", n => { IsCancelled = n.GetBoolValue(); } }, + { "isDraft", n => { IsDraft = n.GetBoolValue(); } }, + { "isOnlineMeeting", n => { IsOnlineMeeting = n.GetBoolValue(); } }, + { "isOrganizer", n => { IsOrganizer = n.GetBoolValue(); } }, + { "isReminderOn", n => { IsReminderOn = n.GetBoolValue(); } }, + { "location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(ApiSdk.Models.Location.CreateFromDiscriminatorValue)?.ToList(); } }, + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "onlineMeeting", n => { OnlineMeeting = n.GetObjectValue(OnlineMeetingInfo.CreateFromDiscriminatorValue); } }, + { "onlineMeetingProvider", n => { OnlineMeetingProvider = n.GetEnumValue(); } }, + { "onlineMeetingUrl", n => { OnlineMeetingUrl = n.GetStringValue(); } }, + { "organizer", n => { Organizer = n.GetObjectValue(Recipient.CreateFromDiscriminatorValue); } }, + { "originalEndTimeZone", n => { OriginalEndTimeZone = n.GetStringValue(); } }, + { "originalStart", n => { OriginalStart = n.GetDateTimeOffsetValue(); } }, + { "originalStartTimeZone", n => { OriginalStartTimeZone = n.GetStringValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "reminderMinutesBeforeStart", n => { ReminderMinutesBeforeStart = n.GetIntValue(); } }, + { "responseRequested", n => { ResponseRequested = n.GetBoolValue(); } }, + { "responseStatus", n => { ResponseStatus = n.GetObjectValue(ApiSdk.Models.ResponseStatus.CreateFromDiscriminatorValue); } }, + { "sensitivity", n => { Sensitivity = n.GetEnumValue(); } }, + { "seriesMasterId", n => { SeriesMasterId = n.GetStringValue(); } }, + { "showAs", n => { ShowAs = n.GetEnumValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "start", n => { Start = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "transactionId", n => { TransactionId = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "webLink", n => { WebLink = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EventCollectionResponse.cs b/src/generated/Models/EventCollectionResponse.cs index 620175005f..55a98468a8 100644 --- a/src/generated/Models/EventCollectionResponse.cs +++ b/src/generated/Models/EventCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EventCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Event.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/EventMessage.cs b/src/generated/Models/EventMessage.cs index 5180cd87e9..fff13e083d 100644 --- a/src/generated/Models/EventMessage.cs +++ b/src/generated/Models/EventMessage.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EventMessage : Message, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EventMessage : Message, IParsable + #pragma warning restore CS1591 { /// The endDateTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -88,16 +91,16 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"event", n => { Event = n.GetObjectValue(ApiSdk.Models.Event.CreateFromDiscriminatorValue); } }, - {"isAllDay", n => { IsAllDay = n.GetBoolValue(); } }, - {"isDelegated", n => { IsDelegated = n.GetBoolValue(); } }, - {"isOutOfDate", n => { IsOutOfDate = n.GetBoolValue(); } }, - {"location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, - {"meetingMessageType", n => { MeetingMessageType = n.GetEnumValue(); } }, - {"recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, - {"startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "event", n => { Event = n.GetObjectValue(ApiSdk.Models.Event.CreateFromDiscriminatorValue); } }, + { "isAllDay", n => { IsAllDay = n.GetBoolValue(); } }, + { "isDelegated", n => { IsDelegated = n.GetBoolValue(); } }, + { "isOutOfDate", n => { IsOutOfDate = n.GetBoolValue(); } }, + { "location", n => { Location = n.GetObjectValue(ApiSdk.Models.Location.CreateFromDiscriminatorValue); } }, + { "meetingMessageType", n => { MeetingMessageType = n.GetEnumValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(PatternedRecurrence.CreateFromDiscriminatorValue); } }, + { "startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EventMessageDetail.cs b/src/generated/Models/EventMessageDetail.cs index a224022089..9187245667 100644 --- a/src/generated/Models/EventMessageDetail.cs +++ b/src/generated/Models/EventMessageDetail.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EventMessageDetail : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EventMessageDetail : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,7 +79,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/EventMessageRequest.cs b/src/generated/Models/EventMessageRequest.cs index 037b5cf4c1..b70c9ada3a 100644 --- a/src/generated/Models/EventMessageRequest.cs +++ b/src/generated/Models/EventMessageRequest.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EventMessageRequest : EventMessage, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EventMessageRequest : EventMessage, IParsable + #pragma warning restore CS1591 { /// True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. public bool? AllowNewTimeProposals { get; set; } @@ -62,12 +65,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"allowNewTimeProposals", n => { AllowNewTimeProposals = n.GetBoolValue(); } }, - {"meetingRequestType", n => { MeetingRequestType = n.GetEnumValue(); } }, - {"previousEndDateTime", n => { PreviousEndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"previousLocation", n => { PreviousLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, - {"previousStartDateTime", n => { PreviousStartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"responseRequested", n => { ResponseRequested = n.GetBoolValue(); } }, + { "allowNewTimeProposals", n => { AllowNewTimeProposals = n.GetBoolValue(); } }, + { "meetingRequestType", n => { MeetingRequestType = n.GetEnumValue(); } }, + { "previousEndDateTime", n => { PreviousEndDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "previousLocation", n => { PreviousLocation = n.GetObjectValue(Location.CreateFromDiscriminatorValue); } }, + { "previousStartDateTime", n => { PreviousStartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "responseRequested", n => { ResponseRequested = n.GetBoolValue(); } }, }; } /// diff --git a/src/generated/Models/EventMessageResponse.cs b/src/generated/Models/EventMessageResponse.cs index 6344f13780..b9510c5f09 100644 --- a/src/generated/Models/EventMessageResponse.cs +++ b/src/generated/Models/EventMessageResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class EventMessageResponse : EventMessage, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class EventMessageResponse : EventMessage, IParsable + #pragma warning restore CS1591 { /// An alternate date/time proposed by an invitee for a meeting request to start and end. Read-only. Not filterable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,8 +45,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"responseType", n => { ResponseType = n.GetEnumValue(); } }, + { "proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + { "responseType", n => { ResponseType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/EventType.cs b/src/generated/Models/EventType.cs index aaabd37624..e882a9483c 100644 --- a/src/generated/Models/EventType.cs +++ b/src/generated/Models/EventType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum EventType + #pragma warning restore CS1591 { [EnumMember(Value = "singleInstance")] + #pragma warning disable CS1591 SingleInstance, + #pragma warning restore CS1591 [EnumMember(Value = "occurrence")] + #pragma warning disable CS1591 Occurrence, + #pragma warning restore CS1591 [EnumMember(Value = "exception")] + #pragma warning disable CS1591 Exception, + #pragma warning restore CS1591 [EnumMember(Value = "seriesMaster")] + #pragma warning disable CS1591 SeriesMaster, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExchangeIdFormat.cs b/src/generated/Models/ExchangeIdFormat.cs index b5df3d0463..243a2604dd 100644 --- a/src/generated/Models/ExchangeIdFormat.cs +++ b/src/generated/Models/ExchangeIdFormat.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ExchangeIdFormat + #pragma warning restore CS1591 { [EnumMember(Value = "entryId")] + #pragma warning disable CS1591 EntryId, + #pragma warning restore CS1591 [EnumMember(Value = "ewsId")] + #pragma warning disable CS1591 EwsId, + #pragma warning restore CS1591 [EnumMember(Value = "immutableEntryId")] + #pragma warning disable CS1591 ImmutableEntryId, + #pragma warning restore CS1591 [EnumMember(Value = "restId")] + #pragma warning disable CS1591 RestId, + #pragma warning restore CS1591 [EnumMember(Value = "restImmutableEntryId")] + #pragma warning disable CS1591 RestImmutableEntryId, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExcludeTarget.cs b/src/generated/Models/ExcludeTarget.cs index e58cfdcaa3..60fdb86bc2 100644 --- a/src/generated/Models/ExcludeTarget.cs +++ b/src/generated/Models/ExcludeTarget.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExcludeTarget : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExcludeTarget : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"targetType", n => { TargetType = n.GetEnumValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targetType", n => { TargetType = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExclusionGroupAssignmentTarget.cs b/src/generated/Models/ExclusionGroupAssignmentTarget.cs index 6e63bfd092..411f825025 100644 --- a/src/generated/Models/ExclusionGroupAssignmentTarget.cs +++ b/src/generated/Models/ExclusionGroupAssignmentTarget.cs @@ -4,11 +4,12 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ /// /// Represents a group that should be excluded from an assignment. /// - public class ExclusionGroupAssignmentTarget : GroupAssignmentTarget, IParsable + public class ExclusionGroupAssignmentTarget : GroupAssignmentTarget, IParsable { /// /// Instantiates a new and sets the default values. diff --git a/src/generated/Models/ExpirationPattern.cs b/src/generated/Models/ExpirationPattern.cs index 002956cbf5..0b2da0a79e 100644 --- a/src/generated/Models/ExpirationPattern.cs +++ b/src/generated/Models/ExpirationPattern.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExpirationPattern : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExpirationPattern : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -48,10 +51,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"duration", n => { Duration = n.GetTimeSpanValue(); } }, - {"endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "duration", n => { Duration = n.GetTimeSpanValue(); } }, + { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExpirationPatternType.cs b/src/generated/Models/ExpirationPatternType.cs index d393a11f87..eb16d452db 100644 --- a/src/generated/Models/ExpirationPatternType.cs +++ b/src/generated/Models/ExpirationPatternType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ExpirationPatternType + #pragma warning restore CS1591 { [EnumMember(Value = "notSpecified")] + #pragma warning disable CS1591 NotSpecified, + #pragma warning restore CS1591 [EnumMember(Value = "noExpiration")] + #pragma warning disable CS1591 NoExpiration, + #pragma warning restore CS1591 [EnumMember(Value = "afterDateTime")] + #pragma warning disable CS1591 AfterDateTime, + #pragma warning restore CS1591 [EnumMember(Value = "afterDuration")] + #pragma warning disable CS1591 AfterDuration, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExpressionInputObject.cs b/src/generated/Models/ExpressionInputObject.cs index 9c53a69f78..58d36973ba 100644 --- a/src/generated/Models/ExpressionInputObject.cs +++ b/src/generated/Models/ExpressionInputObject.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExpressionInputObject : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExpressionInputObject : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"definition", n => { Definition = n.GetObjectValue(ObjectDefinition.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"properties", n => { Properties = n.GetCollectionOfObjectValues(StringKeyObjectValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, + { "definition", n => { Definition = n.GetObjectValue(ObjectDefinition.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetCollectionOfObjectValues(StringKeyObjectValuePair.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/Extension.cs b/src/generated/Models/Extension.cs index 8e76808710..a1a6aba3fe 100644 --- a/src/generated/Models/Extension.cs +++ b/src/generated/Models/Extension.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class Extension : Entity, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class Extension : Entity, IParsable + #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/generated/Models/ExtensionCollectionResponse.cs b/src/generated/Models/ExtensionCollectionResponse.cs index cf0ba89d47..b4911ac6b8 100644 --- a/src/generated/Models/ExtensionCollectionResponse.cs +++ b/src/generated/Models/ExtensionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExtensionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExtensionCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExtensionProperty.cs b/src/generated/Models/ExtensionProperty.cs index 3e80ac39f5..2d72dbfb80 100644 --- a/src/generated/Models/ExtensionProperty.cs +++ b/src/generated/Models/ExtensionProperty.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExtensionProperty : DirectoryObject, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExtensionProperty : DirectoryObject, IParsable + #pragma warning restore CS1591 { /// Display name of the application object on which this extension property is defined. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -68,12 +71,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"appDisplayName", n => { AppDisplayName = n.GetStringValue(); } }, - {"dataType", n => { DataType = n.GetStringValue(); } }, - {"isMultiValued", n => { IsMultiValued = n.GetBoolValue(); } }, - {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"targetObjects", n => { TargetObjects = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "appDisplayName", n => { AppDisplayName = n.GetStringValue(); } }, + { "dataType", n => { DataType = n.GetStringValue(); } }, + { "isMultiValued", n => { IsMultiValued = n.GetBoolValue(); } }, + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "targetObjects", n => { TargetObjects = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExtensionPropertyCollectionResponse.cs b/src/generated/Models/ExtensionPropertyCollectionResponse.cs index 5242116763..b67c3b75a0 100644 --- a/src/generated/Models/ExtensionPropertyCollectionResponse.cs +++ b/src/generated/Models/ExtensionPropertyCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExtensionPropertyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExtensionPropertyCollectionResponse : BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExtensionProperty.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExtensionSchemaProperty.cs b/src/generated/Models/ExtensionSchemaProperty.cs index d2a7fbaed3..f588b3d074 100644 --- a/src/generated/Models/ExtensionSchemaProperty.cs +++ b/src/generated/Models/ExtensionSchemaProperty.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models { - public class ExtensionSchemaProperty : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 + public class ExtensionSchemaProperty : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -25,7 +28,7 @@ public class ExtensionSchemaProperty : IAdditionalDataHolder, IParsable #else public string OdataType { get; set; } #endif - /// The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table in the Supported property data types section for more details. + /// The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer, or String. For more information, see Supported property data types. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type { get; set; } @@ -58,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"name", n => { Name = n.GetStringValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalAudienceScope.cs b/src/generated/Models/ExternalAudienceScope.cs index 0cd35a0902..8ce01c0a2f 100644 --- a/src/generated/Models/ExternalAudienceScope.cs +++ b/src/generated/Models/ExternalAudienceScope.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models { +namespace ApiSdk.Models +{ + #pragma warning disable CS1591 public enum ExternalAudienceScope + #pragma warning restore CS1591 { [EnumMember(Value = "none")] + #pragma warning disable CS1591 None, + #pragma warning restore CS1591 [EnumMember(Value = "contactsOnly")] + #pragma warning disable CS1591 ContactsOnly, + #pragma warning restore CS1591 [EnumMember(Value = "all")] + #pragma warning disable CS1591 All, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/AccessType.cs b/src/generated/Models/ExternalConnectors/AccessType.cs index a743339363..a0b62fa4e8 100644 --- a/src/generated/Models/ExternalConnectors/AccessType.cs +++ b/src/generated/Models/ExternalConnectors/AccessType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum AccessType + #pragma warning restore CS1591 { [EnumMember(Value = "grant")] + #pragma warning disable CS1591 Grant, + #pragma warning restore CS1591 [EnumMember(Value = "deny")] + #pragma warning disable CS1591 Deny, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/Acl.cs b/src/generated/Models/ExternalConnectors/Acl.cs index 60ce92643d..4b846e5b98 100644 --- a/src/generated/Models/ExternalConnectors/Acl.cs +++ b/src/generated/Models/ExternalConnectors/Acl.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class Acl : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class Acl : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// The accessType property public ApiSdk.Models.ExternalConnectors.AccessType? AccessType { get; set; } @@ -54,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"accessType", n => { AccessType = n.GetEnumValue(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "accessType", n => { AccessType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/AclType.cs b/src/generated/Models/ExternalConnectors/AclType.cs index 70767a5217..87763b8387 100644 --- a/src/generated/Models/ExternalConnectors/AclType.cs +++ b/src/generated/Models/ExternalConnectors/AclType.cs @@ -1,20 +1,35 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum AclType + #pragma warning restore CS1591 { [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "group")] + #pragma warning disable CS1591 Group, + #pragma warning restore CS1591 [EnumMember(Value = "everyone")] + #pragma warning disable CS1591 Everyone, + #pragma warning restore CS1591 [EnumMember(Value = "everyoneExceptGuests")] + #pragma warning disable CS1591 EveryoneExceptGuests, + #pragma warning restore CS1591 [EnumMember(Value = "externalGroup")] + #pragma warning disable CS1591 ExternalGroup, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/ActivitySettings.cs b/src/generated/Models/ExternalConnectors/ActivitySettings.cs index 64f3d168b8..655aa04de5 100644 --- a/src/generated/Models/ExternalConnectors/ActivitySettings.cs +++ b/src/generated/Models/ExternalConnectors/ActivitySettings.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ActivitySettings : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ActivitySettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"urlToItemResolvers", n => { UrlToItemResolvers = n.GetCollectionOfObjectValues(UrlToItemResolverBase.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "urlToItemResolvers", n => { UrlToItemResolvers = n.GetCollectionOfObjectValues(UrlToItemResolverBase.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/Configuration.cs b/src/generated/Models/ExternalConnectors/Configuration.cs index 8898ac9437..f569b8605a 100644 --- a/src/generated/Models/ExternalConnectors/Configuration.cs +++ b/src/generated/Models/ExternalConnectors/Configuration.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class Configuration : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class Configuration : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"authorizedAppIds", n => { AuthorizedAppIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "authorizedAppIds", n => { AuthorizedAppIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ConnectionOperation.cs b/src/generated/Models/ExternalConnectors/ConnectionOperation.cs index 6a38e6a018..c75b17e2ae 100644 --- a/src/generated/Models/ExternalConnectors/ConnectionOperation.cs +++ b/src/generated/Models/ExternalConnectors/ConnectionOperation.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ConnectionOperation : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ConnectionOperation : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// If status is failed, provides more information about the error that caused the failure. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"error", n => { Error = n.GetObjectValue(ApiSdk.Models.PublicError.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "error", n => { Error = n.GetObjectValue(ApiSdk.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ConnectionOperationCollectionResponse.cs b/src/generated/Models/ExternalConnectors/ConnectionOperationCollectionResponse.cs index dcc4ade08e..5a32ded928 100644 --- a/src/generated/Models/ExternalConnectors/ConnectionOperationCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/ConnectionOperationCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ConnectionOperationCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ConnectionOperationCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ConnectionOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ConnectionOperation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ConnectionOperationStatus.cs b/src/generated/Models/ExternalConnectors/ConnectionOperationStatus.cs index a68f748c81..ad7c3d925b 100644 --- a/src/generated/Models/ExternalConnectors/ConnectionOperationStatus.cs +++ b/src/generated/Models/ExternalConnectors/ConnectionOperationStatus.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum ConnectionOperationStatus + #pragma warning restore CS1591 { [EnumMember(Value = "unspecified")] + #pragma warning disable CS1591 Unspecified, + #pragma warning restore CS1591 [EnumMember(Value = "inprogress")] + #pragma warning disable CS1591 Inprogress, + #pragma warning restore CS1591 [EnumMember(Value = "completed")] + #pragma warning disable CS1591 Completed, + #pragma warning restore CS1591 [EnumMember(Value = "failed")] + #pragma warning disable CS1591 Failed, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/ConnectionState.cs b/src/generated/Models/ExternalConnectors/ConnectionState.cs index 54635a026d..23e56fefc6 100644 --- a/src/generated/Models/ExternalConnectors/ConnectionState.cs +++ b/src/generated/Models/ExternalConnectors/ConnectionState.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum ConnectionState + #pragma warning restore CS1591 { [EnumMember(Value = "draft")] + #pragma warning disable CS1591 Draft, + #pragma warning restore CS1591 [EnumMember(Value = "ready")] + #pragma warning disable CS1591 Ready, + #pragma warning restore CS1591 [EnumMember(Value = "obsolete")] + #pragma warning disable CS1591 Obsolete, + #pragma warning restore CS1591 [EnumMember(Value = "limitExceeded")] + #pragma warning disable CS1591 LimitExceeded, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/DisplayTemplate.cs b/src/generated/Models/ExternalConnectors/DisplayTemplate.cs index c85aae0bd2..e6264c96ac 100644 --- a/src/generated/Models/ExternalConnectors/DisplayTemplate.cs +++ b/src/generated/Models/ExternalConnectors/DisplayTemplate.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class DisplayTemplate : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class DisplayTemplate : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -68,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"layout", n => { Layout = n.GetObjectValue(ApiSdk.Models.Json.CreateFromDiscriminatorValue); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"rules", n => { Rules = n.GetCollectionOfObjectValues(PropertyRule.CreateFromDiscriminatorValue)?.ToList(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "layout", n => { Layout = n.GetObjectValue(ApiSdk.Models.Json.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "rules", n => { Rules = n.GetCollectionOfObjectValues(PropertyRule.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/External.cs b/src/generated/Models/ExternalConnectors/External.cs index 6d1651581e..2ac5a59670 100644 --- a/src/generated/Models/ExternalConnectors/External.cs +++ b/src/generated/Models/ExternalConnectors/External.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class External : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class External : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"connections", n => { Connections = n.GetCollectionOfObjectValues(ExternalConnection.CreateFromDiscriminatorValue)?.ToList(); } }, - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "connections", n => { Connections = n.GetCollectionOfObjectValues(ExternalConnection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalActivity.cs b/src/generated/Models/ExternalConnectors/ExternalActivity.cs index 854c382911..3645817549 100644 --- a/src/generated/Models/ExternalConnectors/ExternalActivity.cs +++ b/src/generated/Models/ExternalConnectors/ExternalActivity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalActivity : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalActivity : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Represents an identity used to identify who is responsible for the activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -42,9 +45,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"performedBy", n => { PerformedBy = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, - {"startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, + { "performedBy", n => { PerformedBy = n.GetObjectValue(Identity.CreateFromDiscriminatorValue); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalActivityCollectionResponse.cs b/src/generated/Models/ExternalConnectors/ExternalActivityCollectionResponse.cs index 89658c5bd5..3db91a7ea3 100644 --- a/src/generated/Models/ExternalConnectors/ExternalActivityCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/ExternalActivityCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalActivityCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalActivityCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalActivityResult.cs b/src/generated/Models/ExternalConnectors/ExternalActivityResult.cs index 9a36765be0..8a5981709b 100644 --- a/src/generated/Models/ExternalConnectors/ExternalActivityResult.cs +++ b/src/generated/Models/ExternalConnectors/ExternalActivityResult.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalActivityResult : ExternalActivity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalActivityResult : ExternalActivity, IParsable + #pragma warning restore CS1591 { /// Error information that explains the failure to process an external activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"error", n => { Error = n.GetObjectValue(ApiSdk.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "error", n => { Error = n.GetObjectValue(ApiSdk.Models.PublicError.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalActivityType.cs b/src/generated/Models/ExternalConnectors/ExternalActivityType.cs index fc188ba837..9df638e5a6 100644 --- a/src/generated/Models/ExternalConnectors/ExternalActivityType.cs +++ b/src/generated/Models/ExternalConnectors/ExternalActivityType.cs @@ -1,18 +1,31 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum ExternalActivityType + #pragma warning restore CS1591 { [EnumMember(Value = "viewed")] + #pragma warning disable CS1591 Viewed, + #pragma warning restore CS1591 [EnumMember(Value = "modified")] + #pragma warning disable CS1591 Modified, + #pragma warning restore CS1591 [EnumMember(Value = "created")] + #pragma warning disable CS1591 Created, + #pragma warning restore CS1591 [EnumMember(Value = "commented")] + #pragma warning disable CS1591 Commented, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/ExternalConnection.cs b/src/generated/Models/ExternalConnectors/ExternalConnection.cs index e46bee0575..ff30ff1491 100644 --- a/src/generated/Models/ExternalConnectors/ExternalConnection.cs +++ b/src/generated/Models/ExternalConnectors/ExternalConnection.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalConnection : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalConnection : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Collects configurable settings related to activities involving connector content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -107,17 +110,17 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"activitySettings", n => { ActivitySettings = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.ActivitySettings.CreateFromDiscriminatorValue); } }, - {"configuration", n => { Configuration = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Configuration.CreateFromDiscriminatorValue); } }, - {"connectorId", n => { ConnectorId = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"groups", n => { Groups = n.GetCollectionOfObjectValues(ExternalGroup.CreateFromDiscriminatorValue)?.ToList(); } }, - {"items", n => { Items = n.GetCollectionOfObjectValues(ExternalItem.CreateFromDiscriminatorValue)?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"operations", n => { Operations = n.GetCollectionOfObjectValues(ConnectionOperation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"schema", n => { Schema = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue); } }, - {"searchSettings", n => { SearchSettings = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.SearchSettings.CreateFromDiscriminatorValue); } }, - {"state", n => { State = n.GetEnumValue(); } }, + { "activitySettings", n => { ActivitySettings = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.ActivitySettings.CreateFromDiscriminatorValue); } }, + { "configuration", n => { Configuration = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Configuration.CreateFromDiscriminatorValue); } }, + { "connectorId", n => { ConnectorId = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "groups", n => { Groups = n.GetCollectionOfObjectValues(ExternalGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "items", n => { Items = n.GetCollectionOfObjectValues(ExternalItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(ConnectionOperation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "schema", n => { Schema = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue); } }, + { "searchSettings", n => { SearchSettings = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.SearchSettings.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalConnectionCollectionResponse.cs b/src/generated/Models/ExternalConnectors/ExternalConnectionCollectionResponse.cs index e5715888af..557a9927c5 100644 --- a/src/generated/Models/ExternalConnectors/ExternalConnectionCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/ExternalConnectionCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalConnectionCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalConnectionCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalConnection.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalConnection.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalGroup.cs b/src/generated/Models/ExternalConnectors/ExternalGroup.cs index 988956ad41..6dab6ef6d4 100644 --- a/src/generated/Models/ExternalConnectors/ExternalGroup.cs +++ b/src/generated/Models/ExternalConnectors/ExternalGroup.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalGroup : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalGroup : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// The description of the external group. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -49,9 +52,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"members", n => { Members = n.GetCollectionOfObjectValues(Identity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(Identity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalGroupCollectionResponse.cs b/src/generated/Models/ExternalConnectors/ExternalGroupCollectionResponse.cs index e832e0d319..ba1e4caee6 100644 --- a/src/generated/Models/ExternalConnectors/ExternalGroupCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/ExternalGroupCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalGroupCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalGroupCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalGroup.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalItem.cs b/src/generated/Models/ExternalConnectors/ExternalItem.cs index a1f96bf045..bad063299c 100644 --- a/src/generated/Models/ExternalConnectors/ExternalItem.cs +++ b/src/generated/Models/ExternalConnectors/ExternalItem.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalItem : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalItem : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// An array of access control entries. Each entry specifies the access granted to a user or group. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -57,10 +60,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"acl", n => { Acl = n.GetCollectionOfObjectValues(ApiSdk.Models.ExternalConnectors.Acl.CreateFromDiscriminatorValue)?.ToList(); } }, - {"activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, - {"content", n => { Content = n.GetObjectValue(ExternalItemContent.CreateFromDiscriminatorValue); } }, - {"properties", n => { Properties = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Properties.CreateFromDiscriminatorValue); } }, + { "acl", n => { Acl = n.GetCollectionOfObjectValues(ApiSdk.Models.ExternalConnectors.Acl.CreateFromDiscriminatorValue)?.ToList(); } }, + { "activities", n => { Activities = n.GetCollectionOfObjectValues(ExternalActivity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "content", n => { Content = n.GetObjectValue(ExternalItemContent.CreateFromDiscriminatorValue); } }, + { "properties", n => { Properties = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.Properties.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalItemCollectionResponse.cs b/src/generated/Models/ExternalConnectors/ExternalItemCollectionResponse.cs index cba4d800fe..a031acf183 100644 --- a/src/generated/Models/ExternalConnectors/ExternalItemCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/ExternalItemCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalItemCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalItemCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(ExternalItem.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(ExternalItem.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalItemContent.cs b/src/generated/Models/ExternalConnectors/ExternalItemContent.cs index d02555bd17..095152878a 100644 --- a/src/generated/Models/ExternalConnectors/ExternalItemContent.cs +++ b/src/generated/Models/ExternalConnectors/ExternalItemContent.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ExternalItemContent : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ExternalItemContent : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -52,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, - {"type", n => { Type = n.GetEnumValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/ExternalItemContentType.cs b/src/generated/Models/ExternalConnectors/ExternalItemContentType.cs index bb3fd19304..b1b0bd31af 100644 --- a/src/generated/Models/ExternalConnectors/ExternalItemContentType.cs +++ b/src/generated/Models/ExternalConnectors/ExternalItemContentType.cs @@ -1,14 +1,23 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum ExternalItemContentType + #pragma warning restore CS1591 { [EnumMember(Value = "text")] + #pragma warning disable CS1591 Text, + #pragma warning restore CS1591 [EnumMember(Value = "html")] + #pragma warning disable CS1591 Html, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/Identity.cs b/src/generated/Models/ExternalConnectors/Identity.cs index ee7712a7e8..63e9e6a33a 100644 --- a/src/generated/Models/ExternalConnectors/Identity.cs +++ b/src/generated/Models/ExternalConnectors/Identity.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class Identity : ApiSdk.Models.Entity, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class Identity : ApiSdk.Models.Entity, IParsable + #pragma warning restore CS1591 { /// The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. public IdentityType? Type { get; set; } @@ -27,7 +30,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"type", n => { Type = n.GetEnumValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/IdentityCollectionResponse.cs b/src/generated/Models/ExternalConnectors/IdentityCollectionResponse.cs index 5474adb9b8..da6c69c4e8 100644 --- a/src/generated/Models/ExternalConnectors/IdentityCollectionResponse.cs +++ b/src/generated/Models/ExternalConnectors/IdentityCollectionResponse.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class IdentityCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class IdentityCollectionResponse : ApiSdk.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"value", n => { Value = n.GetCollectionOfObjectValues(Identity.CreateFromDiscriminatorValue)?.ToList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(Identity.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/IdentityType.cs b/src/generated/Models/ExternalConnectors/IdentityType.cs index 3986eb96c4..a4e63029fc 100644 --- a/src/generated/Models/ExternalConnectors/IdentityType.cs +++ b/src/generated/Models/ExternalConnectors/IdentityType.cs @@ -1,16 +1,27 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum IdentityType + #pragma warning restore CS1591 { [EnumMember(Value = "user")] + #pragma warning disable CS1591 User, + #pragma warning restore CS1591 [EnumMember(Value = "group")] + #pragma warning disable CS1591 Group, + #pragma warning restore CS1591 [EnumMember(Value = "externalGroup")] + #pragma warning disable CS1591 ExternalGroup, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/ItemIdResolver.cs b/src/generated/Models/ExternalConnectors/ItemIdResolver.cs index 5e6dfb805f..51343c836f 100644 --- a/src/generated/Models/ExternalConnectors/ItemIdResolver.cs +++ b/src/generated/Models/ExternalConnectors/ItemIdResolver.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class ItemIdResolver : UrlToItemResolverBase, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class ItemIdResolver : UrlToItemResolverBase, IParsable + #pragma warning restore CS1591 { /// Pattern that specifies how to form the ID of the external item that the URL represents. The named groups from the regular expression in urlPattern within the urlMatchInfo can be referenced by inserting the group name inside curly brackets. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,8 +51,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - {"itemId", n => { ItemId = n.GetStringValue(); } }, - {"urlMatchInfo", n => { UrlMatchInfo = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.UrlMatchInfo.CreateFromDiscriminatorValue); } }, + { "itemId", n => { ItemId = n.GetStringValue(); } }, + { "urlMatchInfo", n => { UrlMatchInfo = n.GetObjectValue(ApiSdk.Models.ExternalConnectors.UrlMatchInfo.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/Label.cs b/src/generated/Models/ExternalConnectors/Label.cs index 9863505618..a59976e00d 100644 --- a/src/generated/Models/ExternalConnectors/Label.cs +++ b/src/generated/Models/ExternalConnectors/Label.cs @@ -1,30 +1,55 @@ // using System.Runtime.Serialization; using System; -namespace ApiSdk.Models.ExternalConnectors { +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 public enum Label + #pragma warning restore CS1591 { [EnumMember(Value = "title")] + #pragma warning disable CS1591 Title, + #pragma warning restore CS1591 [EnumMember(Value = "url")] + #pragma warning disable CS1591 Url, + #pragma warning restore CS1591 [EnumMember(Value = "createdBy")] + #pragma warning disable CS1591 CreatedBy, + #pragma warning restore CS1591 [EnumMember(Value = "lastModifiedBy")] + #pragma warning disable CS1591 LastModifiedBy, + #pragma warning restore CS1591 [EnumMember(Value = "authors")] + #pragma warning disable CS1591 Authors, + #pragma warning restore CS1591 [EnumMember(Value = "createdDateTime")] + #pragma warning disable CS1591 CreatedDateTime, + #pragma warning restore CS1591 [EnumMember(Value = "lastModifiedDateTime")] + #pragma warning disable CS1591 LastModifiedDateTime, + #pragma warning restore CS1591 [EnumMember(Value = "fileName")] + #pragma warning disable CS1591 FileName, + #pragma warning restore CS1591 [EnumMember(Value = "fileExtension")] + #pragma warning disable CS1591 FileExtension, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 [EnumMember(Value = "iconUrl")] + #pragma warning disable CS1591 IconUrl, + #pragma warning restore CS1591 } } diff --git a/src/generated/Models/ExternalConnectors/Properties.cs b/src/generated/Models/ExternalConnectors/Properties.cs index c96833981f..139d81d459 100644 --- a/src/generated/Models/ExternalConnectors/Properties.cs +++ b/src/generated/Models/ExternalConnectors/Properties.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class Properties : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class Properties : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } /// diff --git a/src/generated/Models/ExternalConnectors/Property.cs b/src/generated/Models/ExternalConnectors/Property.cs index 00f9934e94..4ac5f66e15 100644 --- a/src/generated/Models/ExternalConnectors/Property.cs +++ b/src/generated/Models/ExternalConnectors/Property.cs @@ -4,8 +4,11 @@ using System.IO; using System.Linq; using System; -namespace ApiSdk.Models.ExternalConnectors { - public class Property : IAdditionalDataHolder, IParsable +namespace ApiSdk.Models.ExternalConnectors +{ + #pragma warning disable CS1591 + public class Property : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -76,15 +79,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"aliases", n => { Aliases = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"isQueryable", n => { IsQueryable = n.GetBoolValue(); } }, - {"isRefinable", n => { IsRefinable = n.GetBoolValue(); } }, - {"isRetrievable", n => { IsRetrievable = n.GetBoolValue(); } }, - {"isSearchable", n => { IsSearchable = n.GetBoolValue(); } }, - {"labels", n => { Labels = n.GetCollectionOfEnumValues